public abstract class PredefinedStep extends Activity
WfVertex.Types| Modifier and Type | Field and Description |
|---|---|
static int |
AVAILABLE |
static int |
DONE |
active, mErrors, state, XPATH_TOKENmIsComposite| Constructor and Description |
|---|
PredefinedStep() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAdminAgentRole() |
static String |
bundleData(String... data)
Generic bundling of parameters.
|
static String |
bundleData(String data)
Generic bundling of a single parameter.
|
boolean |
getActive() |
static String[] |
getDataList(String xmlData) |
String |
getErrors()
return the String that identifies the errors found in th activity
|
boolean |
getIsPredefined()
Returns the isPredefined.
|
String |
getName() |
static String |
getPredefStepSchemaName(String stepName) |
static Activity |
getStepInstance(String stepName) |
String |
getType()
Returns the type.
|
String |
request(AgentPath agent,
ItemPath itemPath,
String requestData,
Object transactionKey)
Use this method to run a Predefined step during bootstrap
|
protected abstract String |
runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
All predefined steps must override this to implement their action
|
void |
setIsPredefined(boolean isPredefined)
Sets the isPredefined.
|
static void |
storeOutcomeEventAndViews(ItemPath itemPath,
Outcome newOutcome,
Integer version,
Object transactionKey)
TODO Implement Bootstrap predefined step
|
static void |
storeOutcomeEventAndViews(ItemPath itemPath,
Outcome newOutcome,
Object transactionKey)
TODO Implement Bootstrap predefined step
|
boolean |
verify()
Method verify.
|
abort, 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, setTagpublic static final int DONE
public static final int AVAILABLE
public boolean getActive()
public String getErrors()
Activitypublic boolean verify()
WfVertexpublic boolean getIsPredefined()
public void setIsPredefined(boolean isPredefined)
isPredefined - The isPredefined to setpublic String getName()
protected abstract String runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, Object locker) throws InvalidDataException, InvalidCollectionModification, ObjectAlreadyExistsException, ObjectCannotBeUpdated, ObjectNotFoundException, PersistencyException, CannotManageException, AccessRightsException
public static String bundleData(String... data)
data - array of input string for a PredefinedSteppublic static String bundleData(String data)
input - string for a PredefinedStepprotected void addAdminAgentRole()
public static void storeOutcomeEventAndViews(ItemPath itemPath, Outcome newOutcome, Object transactionKey) throws PersistencyException, ObjectNotFoundException, InvalidDataException
itemPath - newOutcome - PersistencyExceptionObjectNotFoundExceptionInvalidDataExceptionpublic static void storeOutcomeEventAndViews(ItemPath itemPath, Outcome newOutcome, Integer version, Object transactionKey) throws PersistencyException, ObjectNotFoundException, InvalidDataException
itemPath - newOutcome - version - PersistencyExceptionObjectNotFoundExceptionInvalidDataExceptionpublic String request(AgentPath agent, ItemPath itemPath, String requestData, Object transactionKey) throws AccessRightsException, InvalidTransitionException, InvalidDataException, ObjectNotFoundException, PersistencyException, ObjectAlreadyExistsException, ObjectCannotBeUpdated, CannotManageException, InvalidCollectionModification
agent - itemPath - requestData - transactioKey - AccessRightsExceptionInvalidTransitionExceptionInvalidDataExceptionObjectNotFoundExceptionPersistencyExceptionObjectAlreadyExistsExceptionObjectCannotBeUpdatedCannotManageExceptionInvalidCollectionModificationCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.