public interface B2BWorkflowIntegrationService
| Modifier and Type | Interface and Description |
|---|---|
static class |
B2BWorkflowIntegrationService.ACTIONCODES
The Enum ACTIONCODES.
|
static class |
B2BWorkflowIntegrationService.DECISIONCODES
The Enum DECISIONCODES.
|
Collection<WorkflowActionModel> getStartWorkflowActions(WorkflowModel workflow)
WorkflowActionType.START type.workflow - the WorkflowModel@Deprecated WorkflowTemplateModel getWorkflowTemplateForCode(String code)
code - the WorkflowActionType codeWorkflowTemplateModel createWorkflowTemplate(List<? extends UserModel> users, String code, String description, WorkflowTemplateType templateType)
users - 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 templateString generateWorkflowTemplateCode(String prefix, List<? extends UserModel> users)
PrincipalModel.UIDprefix - the String to which the user id is appended tousers - the list of users in which the template code will be generated for@Deprecated WorkflowModel createWorkflow(WorkflowTemplateModel template, List<? extends ItemModel> attachments)
template - the workflow templateattachments - the workflow attachments@Deprecated void startWorkflow(WorkflowModel workflowModel)
WorkflowProcessingService.startWorkflow(de.hybris.platform.workflow.model.WorkflowModel)workflowModel - @Deprecated Collection<WorkflowActionModel> findByActionStatusAndUser(WorkflowActionStatus status, String qualifier, UserModel user)
getWorkflowActionsForActionStatusAndUser(WorkflowActionStatus, String, UserModel)status - the action statusqualifier - the qualifieruser - the assigned userCollection of {WorkflowActionModel}Collection<WorkflowActionModel> getWorkflowActionsForActionStatusAndUser(WorkflowActionStatus status, String qualifier, UserModel user)
status - the work flow action statusqualifier - the qualifier (eg APPROVAL)user - the userOrderModel getOrderFromAction(WorkflowActionModel workflowActionModel)
workflowActionModel - the work flow action@Deprecated void rejectWorkflowAction(WorkflowActionModel workflowActionModel)
decideAction(de.hybris.platform.workflow.model.WorkflowActionModel, String)
decideAction(action, DECISIONCODES.REJECT.name())workflowActionModel - @Deprecated void approveWorkflowAction(WorkflowActionModel workflowActionModel)
decideAction(de.hybris.platform.workflow.model.WorkflowActionModel, String)
decideAction(action, DECISIONCODES.APPROVE.name())workflowActionModel - @Deprecated WorkflowActionModel getActionByCode(String code)
getActionForCode(String)code - the action codeWorkflowActionModel getActionForCode(String code)
code - the WorkflowAction's code@Deprecated WorkflowModel findWorkflowForOrder(OrderModel order)
getWorkflowForOrder(OrderModel)order - the order for which to find the workflowWorkflowModelWorkflowModel getWorkflowForOrder(OrderModel order)
order - the ordervoid decideAction(WorkflowActionModel workflowActionModel, String decisionQualifier)
AbstractWorkflowActionModel.CODE_decisionQualifier)workflowActionModel - The action to make a decision upondecisionQualifier - a qualifier based on B2BWorkflowIntegrationService.DECISIONCODES enumerationCollection<WorkflowActionModel> getWorkflowActionsForUser(UserModel user)
user - the userCollection of WorkflowActionModelCopyright © 2017 SAP SE. All Rights Reserved.