Interface ModuleManager
- All Known Implementing Classes:
WorkflowStatePersistenceManagerEventHandler
public interface ModuleManager
Capable of providing the right instance of
WorkflowPersistenceModule
based on the context.- Author:
- Jeff Fischer
-
Method Summary
Modifier and TypeMethodDescriptiongetCompatibleWorkflowModule(org.broadleafcommerce.common.presentation.client.OperationType operationType) Retrieve aWorkflowPersistenceModuleusing a type describing the module.getCompatibleWorkflowModule(org.broadleafcommerce.openadmin.server.service.type.ChangeType changeType, org.broadleafcommerce.openadmin.dto.PersistencePackage persistencePackage) Retrieve aWorkflowPersistenceModuleusing the change type (i.e. add, update and delete) and the change request.
-
Method Details
-
getCompatibleWorkflowModule
WorkflowPersistenceModule getCompatibleWorkflowModule(org.broadleafcommerce.openadmin.server.service.type.ChangeType changeType, org.broadleafcommerce.openadmin.dto.PersistencePackage persistencePackage) Retrieve aWorkflowPersistenceModuleusing the change type (i.e. add, update and delete) and the change request.- Parameters:
changeType- add, update or deletepersistencePackage- the change request- Returns:
- the found module
-
getCompatibleWorkflowModule
WorkflowPersistenceModule getCompatibleWorkflowModule(org.broadleafcommerce.common.presentation.client.OperationType operationType) Retrieve aWorkflowPersistenceModuleusing a type describing the module.- Parameters:
operationType- module description- Returns:
- the found module
-