public class DefaultWorkflowIntegrationService extends java.lang.Object implements WorkflowIntegrationService
| Constructor and Description |
|---|
DefaultWorkflowIntegrationService() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowTemplateModel |
createOrReadWorkflowTemplate(java.util.List<UserGroupType> userGroup)
Creates or search for workflow for listed user groups
|
WorkflowModel |
createWorkflow(WorkflowTemplateModel template,
java.lang.Object object)
Creates Workflow from given parameters
|
ModelService |
getModelService() |
UserService |
getUserService() |
WorkflowIntegrationDao |
getWorkflowIntegrationDao() |
WorkflowTemplateModel |
getWorkflowTemplateModelById(java.lang.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, java.lang.Object object)
WorkflowIntegrationServicecreateWorkflow in interface WorkflowIntegrationServicetemplate - workflow templateobject - item workflow will be related topublic WorkflowTemplateModel getWorkflowTemplateModelById(java.lang.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(java.util.List<UserGroupType> userGroup)
WorkflowIntegrationServicecreateOrReadWorkflowTemplate in interface WorkflowIntegrationServiceuserGroup - user group listCopyright © 2018 SAP SE. All Rights Reserved.