|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.command.common.bean.AbstractCommand
com.ptc.core.command.common.bean.AbstractServerCommand
com.ptc.core.command.common.bean.entity.AbstractEntityCommand
com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand
com.ptc.core.command.common.bean.entity.RetrievePersistentEntityCommand
public class RetrievePersistentEntityCommand
This command can be used to refresh the given persistent entity or retrieve
one from the database. It takes as input a TypeInstance
to the source of the command. It returns as output a TypeInstance
that is the result of either a refresh or retrieve.
Supported API: true
Extendable: true
| Constructor Summary | |
|---|---|
RetrievePersistentEntityCommand()
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
setSource(TypeInstance instance)
Overrides the inherited method to throw UnsupportedOperationException. |
void |
setSources(TypeInstanceIdentifier[] instanceIds)
Sets the sources [or inputs] of the command to the given TypeInstanceIdentifier[]. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RetrievePersistentEntityCommand()
| Method Detail |
|---|
public void setSources(TypeInstanceIdentifier[] instanceIds)
TypeInstanceIdentifier[].
The outcome of this is that the objects represented by the TypeInstanceIdentifier[]
are retrieved based upon the filter and returned as aTypeInstance[].
instanceIds -
public void setSource(TypeInstance instance)
throws UnsupportedOperationException
UnsupportedOperationException.
Since only a TypeIdentifier makes sense to be given as
the input, then nothing else should be allowed.
setSource in class com.ptc.core.command.common.bean.entity.AbstractEntityCommandinstance -
UnsupportedOperationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||