public class CreateItemFromDescription extends PredefinedStep
WfVertex.TypesAVAILABLE, DONEactive, mErrors, state, XPATH_TOKENmIsComposite| Constructor and Description |
|---|
CreateItemFromDescription() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initialiseItem(ItemOperations newItem,
AgentPath agent,
ItemPath descItemPath,
PropertyArrayList initProps,
String outcome,
String newName,
String descVer,
DomainPath context,
ItemPath newItemPath,
Object locker) |
static Collection<?> |
instantiateCollection(String collName,
ItemPath descItemPath,
String descVer,
PropertyArrayList newProps,
Object locker) |
protected CollectionArrayList |
instantiateCollections(ItemPath descItemPath,
String descVer,
PropertyArrayList newProps,
Object locker)
Copies the CollectionDescriptions of the Item requesting this predefined step.
|
protected PropertyArrayList |
instantiateProperties(ItemPath descItemPath,
String descVer,
PropertyArrayList initProps,
String newName,
AgentPath agent,
Object locker) |
protected Viewpoint |
instantiateViewpoint(ItemPath descItemPath,
String descVer,
Object locker) |
protected CompositeActivity |
instantiateWorkflow(ItemPath descItemPath,
String descVer,
Object locker)
Retrieve the Workflow dependency for the given description version, instantiate the loaded CompositeActivityDef
|
protected String |
runActivityLogic(AgentPath agent,
ItemPath descItemPath,
int transitionID,
String requestData,
Object locker)
Params:
Item name
Domain context
Description version to use(optional)
Initial properties to set in the new Agent (optional)
|
protected PropertyArrayList |
unmarshallInitProperties(String initPropString)
Unmarshalls initial Properties
|
addAdminAgentRole, bundleData, bundleData, getActive, getDataList, getErrors, getIsPredefined, getName, getPredefStepSchemaName, getType, request, setIsPredefined, storeOutcomeEventAndViews, storeOutcomeEventAndViews, verifyabort, addNext, calculateAllJobs, calculateJobs, getCurrentAgentName, getCurrentAgentRole, getDescription, getErrorTransitionId, getNext, getState, getStateDate, getStateMachine, getStateName, getTypeName, isFinished, loop, pushJobsToAgents, pushJobsToAgents, reinit, request, request, run, runFirst, runNext, setActive, setActiveDate, setStartDate, setState, setStateDate, setTypeevaluateProperty, evaluatePropertyValue, evaluateScript, findPair, getActContext, getOtherPairingID, getWf, isMyPairaddChild, 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, setTagprotected String runActivityLogic(AgentPath agent, ItemPath descItemPath, int transitionID, String requestData, Object locker) throws InvalidDataException, ObjectNotFoundException, ObjectAlreadyExistsException, CannotManageException, ObjectCannotBeUpdated, PersistencyException
runActivityLogic in class PredefinedStepObjectNotFoundExceptionInvalidDataException - The input parameters were incorrectObjectAlreadyExistsException - The Agent already existsCannotManageException - The Agent could not be createdObjectCannotBeUpdated - The addition of the new entries into the LookupManager failedPersistencyExceptionprotected void initialiseItem(ItemOperations newItem, AgentPath agent, ItemPath descItemPath, PropertyArrayList initProps, String outcome, String newName, String descVer, DomainPath context, ItemPath newItemPath, Object locker) throws ObjectCannotBeUpdated, CannotManageException, InvalidDataException, ObjectAlreadyExistsException, PersistencyException, ObjectNotFoundException
agent - descItemPath - locker - input - newName - descVer - context - newItemPath - newItem - ObjectCannotBeUpdatedCannotManageExceptionInvalidDataExceptionObjectAlreadyExistsExceptionPersistencyExceptionObjectNotFoundExceptionprotected PropertyArrayList unmarshallInitProperties(String initPropString) throws InvalidDataException
initPropString - InvalidDataExceptionprotected PropertyArrayList instantiateProperties(ItemPath descItemPath, String descVer, PropertyArrayList initProps, String newName, AgentPath agent, Object locker) throws ObjectNotFoundException, InvalidDataException
descItemPath - descVer - initProps - newName - agent - locker - ObjectNotFoundExceptionInvalidDataExceptionprotected CompositeActivity instantiateWorkflow(ItemPath descItemPath, String descVer, Object locker) throws ObjectNotFoundException, InvalidDataException, PersistencyException
descItemPath - descVer - locker - ObjectNotFoundExceptionInvalidDataExceptionPersistencyExceptionprotected CollectionArrayList instantiateCollections(ItemPath descItemPath, String descVer, PropertyArrayList newProps, Object locker) throws ObjectNotFoundException, PersistencyException, InvalidDataException
descItemPath - descVer - locker - ObjectNotFoundExceptionPersistencyExceptionInvalidDataExceptionpublic static Collection<?> instantiateCollection(String collName, ItemPath descItemPath, String descVer, PropertyArrayList newProps, Object locker) throws PersistencyException, ObjectNotFoundException, InvalidDataException
collName - descItemPath - descVer - newProps - locker - PersistencyExceptionObjectNotFoundExceptionInvalidDataExceptionprotected Viewpoint instantiateViewpoint(ItemPath descItemPath, String descVer, Object locker) throws ObjectNotFoundException, InvalidDataException, PersistencyException
descItemPath - descVer - locker - ObjectNotFoundExceptionInvalidDataExceptionPersistencyExceptionCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.