Class ActivityDataHelper
java.lang.Object
org.cristalise.kernel.lifecycle.routingHelpers.ActivityDataHelper
- All Implemented Interfaces:
DataHelper
Implements the DataHelper to get Outcome data using Activity path and XPath. DataHelpers ares
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ActivityDataHelper
public ActivityDataHelper()
-
-
Method Details
-
get
public String get(ItemPath itemPath, String actContext, String dataPath, TransactionKey transactionKey) throws InvalidDataException, PersistencyException, ObjectNotFoundException Retrieves the Workflow of the given Item, searches the Activity using the activity path and retrieves a single value based on XPath- Specified by:
getin interfaceDataHelper- Parameters:
itemPath- the current item to be usedactContext- the current Activity path in which the DataHelper is useddataPath- its content is implementation specifictransactionKey- the transaction transactionKey object used for ClusterStorage methods- Returns:
- The resolved value
- Throws:
InvalidDataException- data inconsistencyPersistencyException- persistency issueObjectNotFoundException- object was not found
-