Interface UserMetaDataPersistenceProvider
-
@ConsumerType public interface UserMetaDataPersistenceProvider
This provider can be implemented to store the user defined workflow-data metadata in a custom storage location
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidget(UserMetaDataPersistenceContext userMetaDataPersistenceContext, MetaDataMap metaDataMap)Retrieves the metadata using a unique identifierjava.lang.Stringput(UserMetaDataPersistenceContext userMetaDataPersistenceContext, MetaDataMap metaDataMap)Stores the given metadata to the custom storage location
-
-
-
Method Detail
-
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
java.lang.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
-
-