Class ViewpointDataHelper
java.lang.Object
org.cristalise.kernel.lifecycle.routingHelpers.ViewpointDataHelper
- All Implemented Interfaces:
DataHelper
Implements the DataHelper to get Outcome data using Viewpoint and XPath.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ViewpointDataHelper
public ViewpointDataHelper()
-
-
Method Details
-
get
public String get(ItemPath itemPath, String actContext, String dataPath, TransactionKey transactionKey) throws InvalidDataException, PersistencyException, ObjectNotFoundException dataPath syntax is used for search : viewpoint:/xpath/to/field- 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
-