Class CreatePersistentEntityCommand
java.lang.Object
com.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.CreatePersistentEntityCommand
- All Implemented Interfaces:
Command,com.ptc.core.command.common.ServerCommand,Externalizable,Serializable
public class CreatePersistentEntityCommand
extends com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand
implements Externalizable
This command can be used to create in the database an existing in-memory
instance of a persistable entity (i.e., object). It takes as input a
Supported API: true
Extendable: true
TypeInstance playing the role of the requestor of the command. It returns as output a TypeInstance
overriding the inherited result.
In order for the requestor to be correctly created in the database it must represent an appropriate persistable type of object. Otherwise, an exception will be thrown indicating that the entity is not a persistent kind of object.
Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from class com.ptc.core.command.common.bean.AbstractServerCommand
SERVERFields inherited from interface com.ptc.core.command.common.Command
FEEDBACK_SPEC, LOCALEFields inherited from interface com.ptc.core.command.common.ServerCommand
COMMAND_CONTEXT, CONTAINER_IDENTIFIER, FILTER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand
readVersionMethods inherited from class com.ptc.core.command.common.bean.entity.AbstractEntityCommand
getRequestor, getResult, getResultList, getSource, readVersion, setResult, setSource, setSource, setSourceMethods inherited from class com.ptc.core.command.common.bean.AbstractServerCommand
execute, getCommandContext, getContainerIdentifier, getFilter, isExecutable, putOnCommandContext, readVersion, setCommandContext, setContainerIdentifier, setFilterMethods inherited from class com.ptc.core.command.common.bean.AbstractCommand
getFeedbackSpec, getLocale, getSelectorTypename, getTargetLanguage, readVersion, setFeedbackSpec, setLocale, setTargetLanguageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ptc.core.command.common.Command
getFeedbackSpec, getLocale, getSelectorTypename, getTargetLanguage, setFeedbackSpec, setLocale, setTargetLanguage
-
Constructor Details
-
CreatePersistentEntityCommand
public CreatePersistentEntityCommand()Creates a new instance.
Supported API: true
-