public class DefaultB2BWorkflowIntegrationService extends AbstractBusinessService implements B2BWorkflowIntegrationService
B2BWorkflowIntegrationServiceAbstractService.SerializableDTOB2BWorkflowIntegrationService.ACTIONCODES, B2BWorkflowIntegrationService.DECISIONCODESmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultB2BWorkflowIntegrationService() |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic DefaultB2BWorkflowIntegrationService()
@Deprecated public WorkflowActionModel getActionByCode(String code)
getActionForCode(String)getActionByCode in interface B2BWorkflowIntegrationServicecode - the action code@Deprecated public WorkflowActionModel getActionForCode(String code)
B2BWorkflowIntegrationServicegetActionForCode in interface B2BWorkflowIntegrationServicecode - the WorkflowAction's code@Deprecated public Collection<WorkflowActionModel> findByActionStatusAndUser(WorkflowActionStatus status, String qualifier, UserModel user)
getWorkflowActionsForActionStatusAndUser(WorkflowActionStatus, String, UserModel)findByActionStatusAndUser in interface B2BWorkflowIntegrationServicestatus - the action statusqualifier - the qualifieruser - the assigned userCollection of {WorkflowActionModel}public Collection<WorkflowActionModel> getWorkflowActionsForActionStatusAndUser(WorkflowActionStatus status, String qualifier, UserModel user)
getWorkflowActionsForActionStatusAndUser in interface B2BWorkflowIntegrationServicestatus - the work flow action statusqualifier - the qualifier (eg APPROVAL)user - the userpublic Collection<WorkflowActionModel> getWorkflowActionsForUser(UserModel user)
B2BWorkflowIntegrationServicegetWorkflowActionsForUser in interface B2BWorkflowIntegrationServiceuser - the userCollection of WorkflowActionModel@Deprecated public void approveWorkflowAction(WorkflowActionModel workflowActionModel)
decideAction(de.hybris.platform.workflow.model.WorkflowActionModel, String)
decideAction(action, DECISIONCODES.APPROVE.name())approveWorkflowAction in interface B2BWorkflowIntegrationService@Deprecated public void rejectWorkflowAction(WorkflowActionModel workflowActionModel)
decideAction(de.hybris.platform.workflow.model.WorkflowActionModel, String)
decideAction(action, DECISIONCODES.REJECT.name())rejectWorkflowAction in interface B2BWorkflowIntegrationServicepublic void decideAction(WorkflowActionModel workflowActionModel, String decisionQualifier)
AbstractWorkflowActionModel.CODE_decisionQualifier)decideAction in interface B2BWorkflowIntegrationServiceworkflowActionModel - The action to make a decision upondecisionQualifier - a qualifier based on B2BWorkflowIntegrationService DECISIONCODES enumerationprotected void decideAction(WorkflowActionModel workflowActionModel, WorkflowDecisionModel workflowDecisionModel)
public OrderModel getOrderFromAction(WorkflowActionModel workflowActionModel)
B2BWorkflowIntegrationServicegetOrderFromAction in interface B2BWorkflowIntegrationServiceworkflowActionModel - the work flow action@Deprecated public WorkflowModel createWorkflow(WorkflowTemplateModel template, List<? extends ItemModel> attachments)
WorkflowService.createWorkflow(String, de.hybris.platform.workflow.model.WorkflowTemplateModel, java.util.List, de.hybris.platform.core.model.user.UserModel)
usage of the method should be removed pending fix to https://jira.hybris.com/browse/PLA-10938createWorkflow in interface B2BWorkflowIntegrationServicetemplate - the workflow templateattachments - the workflow attachments@Deprecated protected WorkflowActionModel getWorkAction(WorkflowActionTemplateModel templateAction, Collection<WorkflowActionModel> workflowActions)
public WorkflowTemplateModel getWorkflowTemplateForCode(String code)
B2BWorkflowIntegrationServicegetWorkflowTemplateForCode in interface B2BWorkflowIntegrationServicecode - the WorkflowActionType code@Deprecated public void startWorkflow(WorkflowModel workflowModel)
WorkflowProcessingService.startWorkflow(de.hybris.platform.workflow.model.WorkflowModel)
usage of the method should be removed pending fix to https://jira.hybris.com/browse/PLA-10938startWorkflow in interface B2BWorkflowIntegrationServicepublic String generateWorkflowTemplateCode(String prefix, List<? extends UserModel> users)
B2BWorkflowIntegrationServicePrincipalModel.UIDgenerateWorkflowTemplateCode in interface B2BWorkflowIntegrationServiceprefix - the String to which the user id is appended tousers - the list of users in which the template code will be generated forpublic Collection<WorkflowActionModel> getStartWorkflowActions(WorkflowModel workflow)
B2BWorkflowIntegrationServiceWorkflowActionType.START type.getStartWorkflowActions in interface B2BWorkflowIntegrationServiceworkflow - the WorkflowModelpublic WorkflowTemplateModel createWorkflowTemplate(List<? extends UserModel> users, String code, String description, WorkflowTemplateType templateType)
B2BWorkflowIntegrationServicecreateWorkflowTemplate in interface B2BWorkflowIntegrationServiceusers - the approvers that a work flow template will be created forcode - the code of the templatedescription - the short description for the templatetemplateType - the strategy type of the template@Deprecated public WorkflowModel findWorkflowForOrder(OrderModel order)
getWorkflowForOrder(OrderModel)findWorkflowForOrder in interface B2BWorkflowIntegrationServiceorder - the order for which to find the workflowWorkflowModelpublic WorkflowModel getWorkflowForOrder(OrderModel order)
B2BWorkflowIntegrationServicegetWorkflowForOrder in interface B2BWorkflowIntegrationServiceorder - the orderprotected BaseDao getBaseDao()
public void setBaseDao(BaseDao baseDao)
protected UserService getUserService()
public void setUserService(UserService userService)
public void setB2bWorkflowActionDao(B2BWorflowActionDao b2bWorkflowActionDao)
protected B2BWorflowActionDao getB2bWorkflowActionDao()
protected B2BWorkflowDao getB2bWorkflowDao()
public void setB2bWorkflowDao(B2BWorkflowDao b2bWorkflowDao)
protected WorkflowService getWorkflowService()
public void setWorkflowService(WorkflowService workflowService)
protected WorkflowActionService getWorkflowActionService()
public void setWorkflowActionService(WorkflowActionService workflowActionService)
protected WorkflowTemplateService getWorkflowTemplateService()
public void setWorkflowTemplateService(WorkflowTemplateService workflowTemplateService)
protected WorkflowProcessingService getWorkflowProcessingService()
public void setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService)
protected WorkflowAttachmentService getWorkflowAttachmentService()
public WorkflowTemplateStrategy getWorkflowTempateStrategy(WorkflowTemplateType workflowTemplateType)
workflowTemplateType - the template typeWorkflowTemplateStrategypublic void setWorkflowTemplateStrategies(List<WorkflowTemplateStrategy> workflowTemplateStrategies)
Copyright © 2017 SAP SE. All Rights Reserved.