Class DefaultWorkflowIntegrationService
java.lang.Object
de.hybris.platform.processengine.helpers.impl.DefaultWorkflowIntegrationService
- All Implemented Interfaces:
WorkflowIntegrationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOrReadWorkflowTemplate(List<UserGroupType> userGroup) Creates or search for workflow for listed user groupscreateWorkflow(WorkflowTemplateModel template, Object object) Creates Workflow from given parameterssearch for workflow by idvoidsetModelService(ModelService modelService) voidsetUserService(UserService userService) voidsetWorkflowIntegrationDao(WorkflowIntegrationDao workflowIntegrationDao) voidstartWorkflow(WorkflowModel workflowModel) Starts given workflow
-
Constructor Details
-
DefaultWorkflowIntegrationService
public DefaultWorkflowIntegrationService()
-
-
Method Details
-
getUserService
- Returns:
- the userService
-
setUserService
- Parameters:
userService- the userService to set
-
getModelService
- Returns:
- the modelService
-
setModelService
- Parameters:
modelService- the modelService to set
-
createWorkflow
Description copied from interface:WorkflowIntegrationServiceCreates Workflow from given parameters- Specified by:
createWorkflowin interfaceWorkflowIntegrationService- Parameters:
template- workflow templateobject- item workflow will be related to- Returns:
- created workflow
-
getWorkflowTemplateModelById
Description copied from interface:WorkflowIntegrationServicesearch for workflow by id- Specified by:
getWorkflowTemplateModelByIdin interfaceWorkflowIntegrationService- Parameters:
id- id- Returns:
- workflow
-
startWorkflow
Description copied from interface:WorkflowIntegrationServiceStarts given workflow- Specified by:
startWorkflowin interfaceWorkflowIntegrationService- Parameters:
workflowModel- workflow
-
setWorkflowIntegrationDao
- Parameters:
workflowIntegrationDao- the workflowIntegrationDao to set
-
getWorkflowIntegrationDao
- Returns:
- the workflowIntegrationDao
-
createOrReadWorkflowTemplate
Description copied from interface:WorkflowIntegrationServiceCreates or search for workflow for listed user groups- Specified by:
createOrReadWorkflowTemplatein interfaceWorkflowIntegrationService- Parameters:
userGroup- user group list- Returns:
- workflow
-