Interface UserMetaDataPersistenceProvider
This provider can be implemented to store the user defined workflow-data metadata in a custom storage location
-
Method Summary
Modifier and TypeMethodDescriptionvoidget(UserMetaDataPersistenceContext userMetaDataPersistenceContext, MetaDataMap metaDataMap) Retrieves the metadata using a unique identifierput(UserMetaDataPersistenceContext userMetaDataPersistenceContext, MetaDataMap metaDataMap) Stores the given metadata to the custom storage location
-
Method Details
-
get
void get(UserMetaDataPersistenceContext userMetaDataPersistenceContext, MetaDataMap metaDataMap) throws WorkflowException Retrieves the metadata using a unique identifier- Parameters:
userMetaDataPersistenceContext-metaDataMap- of user defined workflow data metaData- Throws:
WorkflowException
-
put
String put(UserMetaDataPersistenceContext userMetaDataPersistenceContext, MetaDataMap metaDataMap) throws WorkflowException Stores the given metadata to the custom storage location- Parameters:
userMetaDataPersistenceContext-metaDataMap- metadata map- Returns:
- the unique identifier that can be used to retrieve metadata. If null is returned, then workflowId is used.
- Throws:
WorkflowException
-