public class ActivityDef extends WfVertexDef implements C2KLocalObject, DescriptionObject
| Modifier and Type | Field and Description |
|---|---|
boolean |
changed |
loopTested, mErrorsmIsComposite| Constructor and Description |
|---|
ActivityDef() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureInstance(WfVertex act,
TransactionKey transactionKey)
Copies Properties from vertex definition to vertex instance, and also set the Edges
|
void |
export(Writer imports,
File dir,
boolean shallow) |
protected void |
exportCollections(Writer imports,
File dir) |
String |
getActName() |
protected DescriptionObject[] |
getBuiltInCollectionResource(BuiltInCollections collection,
TransactionKey transactionKey) |
String |
getClusterPath()
Each C2KLocalObject is stored with a path identifier starting with the ClusterType:
Properties: /Property/Name
Workflow: /LifeCycle/workflow
Collections: /Collection/Name/Version (default Name='last')
Outcomes: /Outcome/SchemaName/SchemaVersion/EventID
Viewpoints: /ViewPoint/SchemaName/Name (default Name='last')
Events: /AuditTrail/EventID
Jobs: /Job/JobID
|
ClusterType |
getClusterType()
Each object belongs to a specific type defined in
ClusterType |
String |
getDescName() |
String |
getErrors()
Method getErrors.
|
protected String |
getExportAttributes(String type) |
protected String |
getExportCollections() |
String |
getItemID() |
ItemPath |
getItemPath() |
Query |
getQuery() |
Query |
getQuery(TransactionKey transactionKey) |
Schema |
getSchema() |
Schema |
getSchema(TransactionKey transactionKey) |
Script |
getScript() |
Script |
getScript(TransactionKey transactionKey) |
StateMachine |
getStateMachine() |
StateMachine |
getStateMachine(TransactionKey transactionKey) |
Integer |
getVersion() |
WfVertex |
instantiate(String name,
TransactionKey transactionKey) |
WfVertex |
instantiate(TransactionKey transactionKey) |
Dependency |
makeDescCollection(BuiltInCollections collection,
TransactionKey transactionKey,
DescriptionObject... descs) |
CollectionArrayList |
makeDescCollections(TransactionKey transactionKey) |
void |
setID(int id) |
void |
setItemPath(ItemPath path) |
void |
setQuery(Query actQuery) |
void |
setSchema(Schema actSchema) |
void |
setScript(Script actScript) |
void |
setStateMachine(StateMachine actStateMachine) |
void |
setVersion(Integer v) |
String |
toString() |
boolean |
verify()
Method verify.
|
loopaddChild, deriveVersionNumber, getBuiltInProperty, getBuiltInProperty, getCentrePoint, getChildren, getChildrenEdges, getChildrenGraphModel, getCreationContext, getInEdgeIds, getInEdges, getIsComposite, getIsLayoutable, getKeyValuePairs, getLayoutableChildren, getOutEdgeIds, getOutEdges, getOutGraphables, getOutlinePoints, getParent, getPath, getProperties, search, setBuiltInProperty, setChildrenGraphModel, setIsComposite, setIsLayoutable, setKeyValuePairs, setParent, setProperties, updatePropertiesFromCollection, updatePropertiesFromCollectionaddInEdgeId, addOutEdgeId, clearTag, containsPoint, hasTag, isJoin, isLoop, moveAbsolute, removeInEdgeId, removeOutEdgeId, setInEdgeIds, setOutEdgeIds, setOutlinePoints, setTagclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenforceValidName, getName, setNamegetName, setNamepublic void setID(int id)
public String getItemID()
getItemID in interface DescriptionObjectpublic void setVersion(Integer v)
setVersion in interface DescriptionObjectpublic Integer getVersion()
getVersion in interface DescriptionObjectpublic String getErrors()
WfVertexDefgetErrors in class WfVertexDefpublic boolean verify()
WfVertexDefverify in class WfVertexDefpublic ClusterType getClusterType()
C2KLocalObjectClusterTypegetClusterType in interface C2KLocalObjectpublic String getClusterPath()
C2KLocalObjectgetClusterPath in interface C2KLocalObjectpublic String getActName()
public String getDescName()
public WfVertex instantiate(TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
instantiate in class WfVertexDefObjectNotFoundExceptionInvalidDataExceptionpublic WfVertex instantiate(String name, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public void configureInstance(WfVertex act, TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
WfVertexDefconfigureInstance in class WfVertexDefact - the vertex instance to be configuredInvalidDataException - inconsistent dataObjectNotFoundException - data was not foundpublic ItemPath getItemPath()
getItemPath in interface DescriptionObjectpublic void setItemPath(ItemPath path)
setItemPath in interface DescriptionObjectpublic Schema getSchema() throws InvalidDataException, ObjectNotFoundException
public Schema getSchema(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
public Script getScript() throws InvalidDataException, ObjectNotFoundException
public Script getScript(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
public Query getQuery() throws InvalidDataException, ObjectNotFoundException
public Query getQuery(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
public StateMachine getStateMachine() throws InvalidDataException, ObjectNotFoundException
public StateMachine getStateMachine(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
protected DescriptionObject[] getBuiltInCollectionResource(BuiltInCollections collection, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public void setSchema(Schema actSchema)
public void setScript(Script actScript)
public void setQuery(Query actQuery)
public void setStateMachine(StateMachine actStateMachine)
public Dependency makeDescCollection(BuiltInCollections collection, TransactionKey transactionKey, DescriptionObject... descs) throws InvalidDataException
InvalidDataExceptionpublic CollectionArrayList makeDescCollections(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
makeDescCollections in interface DescriptionObjectInvalidDataExceptionObjectNotFoundExceptionpublic void export(Writer imports, File dir, boolean shallow) throws InvalidDataException, ObjectNotFoundException, IOException
export in interface DescriptionObjectInvalidDataExceptionObjectNotFoundExceptionIOExceptionprotected void exportCollections(Writer imports, File dir) throws InvalidDataException, ObjectNotFoundException, IOException
protected String getExportAttributes(String type) throws InvalidDataException, ObjectNotFoundException, IOException
protected String getExportCollections() throws InvalidDataException, ObjectNotFoundException, IOException
Copyright © 1997–2022 CRISTAL-iSE. All rights reserved.