WorkflowService@Deprecated public interface WorkflowService
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_CREATE
Deprecated.
|
static String |
ACTION_REMOVE
Deprecated.
|
static String |
ACTION_SAVE
Deprecated.
|
static final String ACTION_CREATE
static final String ACTION_REMOVE
static final String ACTION_SAVE
@Deprecated List<WorkflowActionModel> getAllUserWorkflowActionsWithAttachment(String attachmentClassName)
WorkflowActionService.getAllUserWorkflowActionsWithAttachment(String)@Deprecated List<WorkflowActionModel> getAllUserWorkflowActionsWithAttachment(ComposedType attachmentType)
WorkflowActionService.getAllUserWorkflowActionsWithAttachment(de.hybris.platform.core.model.type.ComposedTypeModel)@Deprecated List<WorkflowActionModel> getAllUserWorkflowActionsWithAttachments(List<String> attachmentClassNames)
WorkflowActionService.getAllUserWorkflowActionsWithAttachments(List)@Deprecated List<WorkflowActionModel> getAllUserWorkflowActionsWithAttachments(List<String> attachmentClassNames, Collection<WorkflowActionStatus> actionStatuses)
WorkflowActionService.getAllUserWorkflowActionsWithAttachments(List, Collection)
Retrieves workflow actions with specified criteria.attachmentClassNames - list of allowed attachment class namesactionStatuses - allowed action statuses@Deprecated List<WorkflowActionCommentModel> getCommentsForAction(WorkflowActionModel action)
AbstractWorkflowActionModel.getWorkflowActionComments()@Deprecated List<ItemModel> getAttachmentsForAction(WorkflowActionModel action)
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel)@Deprecated List<ItemModel> getAttachmentsForAction(WorkflowActionModel action, String attachmentClassName)
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel,String)@Deprecated List<ItemModel> getAttachmentsForAction(WorkflowActionModel action, List<String> attachmentClassNames)
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel,List)@Deprecated List<WorkflowDecisionModel> getDecisionsForAction(WorkflowActionModel action)
WorkflowActionModel.getDecisions()@Deprecated void decideAction(WorkflowActionModel action, WorkflowDecisionModel decision)
WorkflowProcessingService.decideAction(WorkflowActionModel, WorkflowDecisionModel)@Deprecated void addComment(Object comment, WorkflowActionModel action)
WorkflowActionCommentService.addCommentToAction(String, WorkflowActionModel)@Deprecated void evaluteActivationScripts(ItemModel item, Map currentValues, Map initialValues, String action)
ScriptEvaluationService.evaluateActivationScripts(ItemModel, Map, Map, String)@Deprecated WorkflowModel createWorkflow(WorkflowTemplateModel templateModel, ItemModel itemModel)
WorkflowService.createWorkflow(WorkflowTemplateModel, ItemModel,de.hybris.platform.core.model.user.UserModel)
Creates workflow out of given template and starts it. Given item is attached to it.@Deprecated WorkflowModel createWorkflow(String workflowName, WorkflowTemplateModel template, List<ItemModel> itemsToAdd)
WorkflowService.createWorkflow(String, WorkflowTemplateModel, List,de.hybris.platform.core.model.user.UserModel)
Creates workflow out of given template with given name but does NOT start it. Given list of
items is attached to it.@Deprecated boolean isAutomatedComment(WorkflowActionCommentModel comment)
WorkflowActionCommentService.isAutomatedComment(WorkflowActionCommentModel)@Deprecated List<WorkflowTemplateModel> getAllWorkflowTemplates()
WorkflowTemplateService.getAllWorkflowTemplates()@Deprecated List<WorkflowModel> getWorkflowsByTemplate(WorkflowTemplateModel template)
WorkflowService.getWorkflowsForTemplateAndUser(WorkflowTemplateModel,de.hybris.platform.core.model.user.UserModel)@Deprecated List<WorkflowModel> getAllWorkflows(int workflowsStatuses, int adhocWorkflowsStatuses, Date dateFrom, Date dateTo, Date adhocFilterFrom, Date adhocFilterTo)
WorkflowService.getAllWorkflows(java.util.EnumSet, Date, Date) and
WorkflowService.getAllAdhocWorkflows(java.util.EnumSet, Date, Date)workflowsStatuses - 0 - all, see WorkflowConstants.WorkflowStatus for other
valuesadhocWorkflowsStatuses - 0 - all, see WorkflowConstants.WorkflowStatus for other
values@Deprecated WorkflowModel createAdhocWorkflow(String defaultName, List<ItemModel> itemsToAdd)
WorkflowService.createAdhocWorkflow(String, List, de.hybris.platform.core.model.user.UserModel)
Creates adhoc workflow with given name, assigns given items to it and sets current user as
owner.itemsToAdd - list of items to adddefaultName - of adhoc workflow@Deprecated void assignUser(PrincipalModel principalModel, WorkflowModel workflow)
WorkflowService.assignUser(PrincipalModel, WorkflowModel)principalModel - to assign to given workflow@Deprecated List<WorkflowTemplateModel> getAllVisibleWorkflowTemplates()
WorkflowTemplateService.getAllVisibleWorkflowTemplatesForUser(de.hybris.platform.core.model.user.UserModel)@Deprecated boolean isPaused(Object workflowModel)
WorkflowService.isPaused(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated void startWorkflow(ItemModel workflowModel)
WorkflowProcessingService.startWorkflow(WorkflowModel)
starts given (adhoc) workflow@Deprecated void terminateWorkflow(ItemModel workflowModel)
WorkflowProcessingService.terminateWorkflow(WorkflowModel)
terminate given (adhoc) workflow@Deprecated boolean isTerminated(Object workflowModel)
WorkflowService.isTerminated(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated boolean isRunning(Object workflowModel)
WorkflowService.isRunning(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated boolean isFinished(Object workflowModel)
WorkflowService.isFinished(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated boolean isPlanned(Object workflowModel)
WorkflowService.isPlanned(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated void addItems(ItemModel workflowModel, List<ItemModel> itemsToAdd)
WorkflowAttachmentService.addItems(WorkflowModel, List)
adds given items to given workflow@Deprecated ItemModel containsItem(ItemModel modelData, List<ItemModel> itemsToAdd)
WorkflowAttachmentService.containsItem(WorkflowModel, List)
Checks if given workflow has one of given items attached.@Deprecated boolean isAdhocWorkflow(WorkflowModel workflow)
WorkflowService.isAdhocWorkflow(WorkflowModel)@Deprecated boolean canBeStarted(WorkflowModel workf)
WorkflowService.canBeStarted(WorkflowModel)@Deprecated Date getStartTime(WorkflowModel workflow)
WorkflowService.getStartTime(WorkflowModel)@Deprecated void unassignUser(PrincipalModel principalModel, WorkflowModel workflow)
WorkflowService.unassignUser(WorkflowModel)principalModel - to unassign from given adhoc workflow@Deprecated List<WorkflowActionModel> getStartWorkflowActions(WorkflowModel workflowModel)
WorkflowActionService.getStartWorkflowActions(WorkflowModel)@Deprecated List<WorkflowActionModel> getNormalWorkflowActions(WorkflowModel wfModel)
WorkflowActionService.getNormalWorkflowActions(WorkflowModel)@Deprecated List<WorkflowActionModel> getEndWorkflowActions(WorkflowModel wfModel)
WorkflowActionService.getEndWorkflowActions(WorkflowModel)@Deprecated List<WorkflowActionModel> getWorkflowActionsByType(EnumerationValue type, WorkflowModel wfModel)
WorkflowActionService.getWorkflowActionsByType(de.hybris.platform.workflow.enums.WorkflowActionType, WorkflowModel)Copyright © 2017 SAP SE. All Rights Reserved.