WorkflowService@Deprecated
public interface WorkflowService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTION_CREATE
Deprecated.
|
static java.lang.String |
ACTION_REMOVE
Deprecated.
|
static java.lang.String |
ACTION_SAVE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addComment(java.lang.Object comment,
WorkflowActionModel action)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionCommentService.addCommentToAction(String, WorkflowActionModel) |
void |
addItems(ItemModel workflowModel,
java.util.List<ItemModel> itemsToAdd)
Deprecated.
since ages - as of release 4.3, please use
WorkflowAttachmentService.addItems(WorkflowModel, List)
adds given items to given workflow |
void |
assignUser(PrincipalModel principalModel,
WorkflowModel workflow)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.assignUser(PrincipalModel, WorkflowModel) |
boolean |
canBeStarted(WorkflowModel workf)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.canBeStarted(WorkflowModel) |
ItemModel |
containsItem(ItemModel modelData,
java.util.List<ItemModel> itemsToAdd)
Deprecated.
since ages - as of release 4.3, please use
WorkflowAttachmentService.containsItem(WorkflowModel, List)
Checks if given workflow has one of given items attached. |
WorkflowModel |
createAdhocWorkflow(java.lang.String defaultName,
java.util.List<ItemModel> itemsToAdd)
Deprecated.
since ages - as of release 4.3, please use
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. |
WorkflowModel |
createWorkflow(java.lang.String workflowName,
WorkflowTemplateModel template,
java.util.List<ItemModel> itemsToAdd)
Deprecated.
since ages - as of release 4.3, please use
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. |
WorkflowModel |
createWorkflow(WorkflowTemplateModel templateModel,
ItemModel itemModel)
Deprecated.
since ages - as of release 4.3, please use
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. |
void |
decideAction(WorkflowActionModel action,
WorkflowDecisionModel decision)
Deprecated.
since ages - as of release 4.3, please use
WorkflowProcessingService.decideAction(WorkflowActionModel, WorkflowDecisionModel) |
void |
evaluteActivationScripts(ItemModel item,
java.util.Map currentValues,
java.util.Map initialValues,
java.lang.String action)
Deprecated.
since ages - as of release 4.3, please use
ScriptEvaluationService.evaluateActivationScripts(ItemModel, Map, Map, String) |
java.util.List<WorkflowActionModel> |
getAllUserWorkflowActionsWithAttachment(ComposedType attachmentType)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionService.getAllUserWorkflowActionsWithAttachment(de.hybris.platform.core.model.type.ComposedTypeModel) |
java.util.List<WorkflowActionModel> |
getAllUserWorkflowActionsWithAttachment(java.lang.String attachmentClassName)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionService.getAllUserWorkflowActionsWithAttachment(String) |
java.util.List<WorkflowActionModel> |
getAllUserWorkflowActionsWithAttachments(java.util.List<java.lang.String> attachmentClassNames)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionService.getAllUserWorkflowActionsWithAttachments(List) |
java.util.List<WorkflowActionModel> |
getAllUserWorkflowActionsWithAttachments(java.util.List<java.lang.String> attachmentClassNames,
java.util.Collection<WorkflowActionStatus> actionStatuses)
Deprecated.
since ages
|
java.util.List<WorkflowTemplateModel> |
getAllVisibleWorkflowTemplates()
Deprecated.
since ages - as of release 4.3, please use
WorkflowTemplateService.getAllVisibleWorkflowTemplatesForUser(de.hybris.platform.core.model.user.UserModel) |
java.util.List<WorkflowModel> |
getAllWorkflows(int workflowsStatuses,
int adhocWorkflowsStatuses,
java.util.Date dateFrom,
java.util.Date dateTo,
java.util.Date adhocFilterFrom,
java.util.Date adhocFilterTo)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.getAllWorkflows(java.util.EnumSet, Date, Date) and
WorkflowService.getAllAdhocWorkflows(java.util.EnumSet, Date, Date) |
java.util.List<WorkflowTemplateModel> |
getAllWorkflowTemplates()
Deprecated.
since ages - as of release 4.3, please use
WorkflowTemplateService.getAllWorkflowTemplates() |
java.util.List<ItemModel> |
getAttachmentsForAction(WorkflowActionModel action)
Deprecated.
since ages - as of release 4.3, please use
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel) |
java.util.List<ItemModel> |
getAttachmentsForAction(WorkflowActionModel action,
java.util.List<java.lang.String> attachmentClassNames)
Deprecated.
since ages - as of release 4.3, please use
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel,List) |
java.util.List<ItemModel> |
getAttachmentsForAction(WorkflowActionModel action,
java.lang.String attachmentClassName)
Deprecated.
since ages - as of release 4.3, please use
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel,String) |
java.util.List<WorkflowActionCommentModel> |
getCommentsForAction(WorkflowActionModel action)
Deprecated.
since ages - as of release 4.3, please use
AbstractWorkflowActionModel.getWorkflowActionComments() |
java.util.List<WorkflowDecisionModel> |
getDecisionsForAction(WorkflowActionModel action)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionModel.getDecisions() |
java.util.List<WorkflowActionModel> |
getEndWorkflowActions(WorkflowModel wfModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionService.getEndWorkflowActions(WorkflowModel) |
java.util.List<WorkflowActionModel> |
getNormalWorkflowActions(WorkflowModel wfModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionService.getNormalWorkflowActions(WorkflowModel) |
java.util.Date |
getStartTime(WorkflowModel workflow)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.getStartTime(WorkflowModel) |
java.util.List<WorkflowActionModel> |
getStartWorkflowActions(WorkflowModel workflowModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionService.getStartWorkflowActions(WorkflowModel) |
java.util.List<WorkflowActionModel> |
getWorkflowActionsByType(EnumerationValue type,
WorkflowModel wfModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionService.getWorkflowActionsByType(de.hybris.platform.workflow.enums.WorkflowActionType, WorkflowModel) |
java.util.List<WorkflowModel> |
getWorkflowsByTemplate(WorkflowTemplateModel template)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.getWorkflowsForTemplateAndUser(WorkflowTemplateModel,de.hybris.platform.core.model.user.UserModel) |
boolean |
isAdhocWorkflow(WorkflowModel workflow)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.isAdhocWorkflow(WorkflowModel) |
boolean |
isAutomatedComment(WorkflowActionCommentModel comment)
Deprecated.
since ages - as of release 4.3, please use
WorkflowActionCommentService.isAutomatedComment(WorkflowActionCommentModel) |
boolean |
isFinished(java.lang.Object workflowModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.isFinished(WorkflowModel) |
boolean |
isPaused(java.lang.Object workflowModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.isPaused(WorkflowModel) |
boolean |
isPlanned(java.lang.Object workflowModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.isPlanned(WorkflowModel) |
boolean |
isRunning(java.lang.Object workflowModel)
Deprecated.
since ages
|
boolean |
isTerminated(java.lang.Object workflowModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.isTerminated(WorkflowModel) |
void |
startWorkflow(ItemModel workflowModel)
Deprecated.
since ages - as of release 4.3, please use
WorkflowProcessingService.startWorkflow(WorkflowModel)
starts given (adhoc) workflow |
void |
terminateWorkflow(ItemModel workflowModel)
Deprecated.
since ages
|
void |
unassignUser(PrincipalModel principalModel,
WorkflowModel workflow)
Deprecated.
since ages - as of release 4.3, please use
WorkflowService.unassignUser(WorkflowModel) |
static final java.lang.String ACTION_CREATE
static final java.lang.String ACTION_REMOVE
static final java.lang.String ACTION_SAVE
@Deprecated java.util.List<WorkflowActionModel> getAllUserWorkflowActionsWithAttachment(java.lang.String attachmentClassName)
WorkflowActionService.getAllUserWorkflowActionsWithAttachment(String)@Deprecated java.util.List<WorkflowActionModel> getAllUserWorkflowActionsWithAttachment(ComposedType attachmentType)
WorkflowActionService.getAllUserWorkflowActionsWithAttachment(de.hybris.platform.core.model.type.ComposedTypeModel)@Deprecated java.util.List<WorkflowActionModel> getAllUserWorkflowActionsWithAttachments(java.util.List<java.lang.String> attachmentClassNames)
WorkflowActionService.getAllUserWorkflowActionsWithAttachments(List)@Deprecated java.util.List<WorkflowActionModel> getAllUserWorkflowActionsWithAttachments(java.util.List<java.lang.String> attachmentClassNames, java.util.Collection<WorkflowActionStatus> actionStatuses)
WorkflowActionService.getAllUserWorkflowActionsWithAttachments(List, Collection)
Retrieves workflow actions with specified criteria.attachmentClassNames - list of allowed attachment class namesactionStatuses - allowed action statuses@Deprecated java.util.List<WorkflowActionCommentModel> getCommentsForAction(WorkflowActionModel action)
AbstractWorkflowActionModel.getWorkflowActionComments()@Deprecated java.util.List<ItemModel> getAttachmentsForAction(WorkflowActionModel action)
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel)@Deprecated java.util.List<ItemModel> getAttachmentsForAction(WorkflowActionModel action, java.lang.String attachmentClassName)
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel,String)@Deprecated java.util.List<ItemModel> getAttachmentsForAction(WorkflowActionModel action, java.util.List<java.lang.String> attachmentClassNames)
WorkflowAttachmentService.getAttachmentsForAction(WorkflowActionModel,List)@Deprecated java.util.List<WorkflowDecisionModel> getDecisionsForAction(WorkflowActionModel action)
WorkflowActionModel.getDecisions()@Deprecated void decideAction(WorkflowActionModel action, WorkflowDecisionModel decision)
WorkflowProcessingService.decideAction(WorkflowActionModel, WorkflowDecisionModel)@Deprecated
void addComment(java.lang.Object comment,
WorkflowActionModel action)
WorkflowActionCommentService.addCommentToAction(String, WorkflowActionModel)@Deprecated void evaluteActivationScripts(ItemModel item, java.util.Map currentValues, java.util.Map initialValues, java.lang.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(java.lang.String workflowName, WorkflowTemplateModel template, java.util.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 java.util.List<WorkflowTemplateModel> getAllWorkflowTemplates()
WorkflowTemplateService.getAllWorkflowTemplates()@Deprecated java.util.List<WorkflowModel> getWorkflowsByTemplate(WorkflowTemplateModel template)
WorkflowService.getWorkflowsForTemplateAndUser(WorkflowTemplateModel,de.hybris.platform.core.model.user.UserModel)@Deprecated java.util.List<WorkflowModel> getAllWorkflows(int workflowsStatuses, int adhocWorkflowsStatuses, java.util.Date dateFrom, java.util.Date dateTo, java.util.Date adhocFilterFrom, java.util.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(java.lang.String defaultName, java.util.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 java.util.List<WorkflowTemplateModel> getAllVisibleWorkflowTemplates()
WorkflowTemplateService.getAllVisibleWorkflowTemplatesForUser(de.hybris.platform.core.model.user.UserModel)@Deprecated boolean isPaused(java.lang.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(java.lang.Object workflowModel)
WorkflowService.isTerminated(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated boolean isRunning(java.lang.Object workflowModel)
WorkflowService.isRunning(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated boolean isFinished(java.lang.Object workflowModel)
WorkflowService.isFinished(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated boolean isPlanned(java.lang.Object workflowModel)
WorkflowService.isPlanned(WorkflowModel)workflowModel - or adhoc workflow model@Deprecated void addItems(ItemModel workflowModel, java.util.List<ItemModel> itemsToAdd)
WorkflowAttachmentService.addItems(WorkflowModel, List)
adds given items to given workflow@Deprecated ItemModel containsItem(ItemModel modelData, java.util.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 java.util.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 java.util.List<WorkflowActionModel> getStartWorkflowActions(WorkflowModel workflowModel)
WorkflowActionService.getStartWorkflowActions(WorkflowModel)@Deprecated java.util.List<WorkflowActionModel> getNormalWorkflowActions(WorkflowModel wfModel)
WorkflowActionService.getNormalWorkflowActions(WorkflowModel)@Deprecated java.util.List<WorkflowActionModel> getEndWorkflowActions(WorkflowModel wfModel)
WorkflowActionService.getEndWorkflowActions(WorkflowModel)@Deprecated java.util.List<WorkflowActionModel> getWorkflowActionsByType(EnumerationValue type, WorkflowModel wfModel)
WorkflowActionService.getWorkflowActionsByType(de.hybris.platform.workflow.enums.WorkflowActionType, WorkflowModel)Copyright © 2018 SAP SE. All Rights Reserved.