public class DefaultWorkflowIntegrationService extends Object implements WorkflowIntegrationService
| Constructor and Description |
|---|
DefaultWorkflowIntegrationService() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowTemplateModel |
createOrReadWorkflowTemplate(List<UserGroupType> userGroup)
Creates or search for workflow for listed user groups
|
WorkflowModel |
createWorkflow(WorkflowTemplateModel template,
Object object)
Creates Workflow from given parameters
|
ModelService |
getModelService() |
UserService |
getUserService() |
WorkflowIntegrationDao |
getWorkflowIntegrationDao() |
WorkflowTemplateModel |
getWorkflowTemplateModelById(String id)
search for workflow by id
|
void |
setModelService(ModelService modelService) |
void |
setUserService(UserService userService) |
void |
setWorkflowIntegrationDao(WorkflowIntegrationDao workflowIntegrationDao) |
void |
startWorkflow(WorkflowModel workflowModel)
Starts given workflow
|
public UserService getUserService()
public void setUserService(UserService userService)
userService - the userService to setpublic ModelService getModelService()
public void setModelService(ModelService modelService)
modelService - the modelService to setpublic WorkflowModel createWorkflow(WorkflowTemplateModel template, Object object)
WorkflowIntegrationServicecreateWorkflow in interface WorkflowIntegrationServicetemplate - workflow templateobject - item workflow will be related topublic WorkflowTemplateModel getWorkflowTemplateModelById(String id)
WorkflowIntegrationServicegetWorkflowTemplateModelById in interface WorkflowIntegrationServiceid - idpublic void startWorkflow(WorkflowModel workflowModel)
WorkflowIntegrationServicestartWorkflow in interface WorkflowIntegrationServiceworkflowModel - workflowpublic void setWorkflowIntegrationDao(WorkflowIntegrationDao workflowIntegrationDao)
workflowIntegrationDao - the workflowIntegrationDao to setpublic WorkflowIntegrationDao getWorkflowIntegrationDao()
public WorkflowTemplateModel createOrReadWorkflowTemplate(List<UserGroupType> userGroup)
WorkflowIntegrationServicecreateOrReadWorkflowTemplate in interface WorkflowIntegrationServiceuserGroup - user group listCopyright © 2017 SAP SE. All Rights Reserved.