Class DefaultCMSWorkflowActionService
java.lang.Object
de.hybris.platform.workflow.impl.DefaultWorkflowActionService
de.hybris.platform.cms2.workflow.service.impl.DefaultCMSWorkflowActionService
- All Implemented Interfaces:
CMSWorkflowActionService,WorkflowActionService
public class DefaultCMSWorkflowActionService
extends DefaultWorkflowActionService
implements CMSWorkflowActionService
Default implementation of
CMSWorkflowActionService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllActiveWorkflowActionsByStatusAndPrincipals(Set<CronJobStatus> workflowStatuses, Collection<PrincipalModel> currentPrincipals, PageableData pageableData) This method finds all the activeWorkflowActionModelofAbstractPageModelattachment types for the given principals and specified workflow statuses.getActionDecisionForCode(WorkflowActionModel action, String decisionCode) Finds theWorkflowDecisionModelfor a givenWorkflowActionModelthat matches the provided decision code.protected CMSWorkflowActionDaogetWorkflowActionForCode(WorkflowModel workflow, String actionCode) Finds theWorkflowActionModelfor a givenWorkflowModelthat matches the provided action code.voidsetCmsWorkflowActionDao(CMSWorkflowActionDao cmsWorkflowActionDao) Methods inherited from class de.hybris.platform.workflow.impl.DefaultWorkflowActionService
complete, createWorkflowAction, disable, getActionForCode, getAllUserWorkflowActionsWithAttachment, getAllUserWorkflowActionsWithAttachment, getAllUserWorkflowActionsWithAttachments, getAllUserWorkflowActionsWithAttachments, getEndWorkflowActions, getNormalWorkflowActions, getStartWorkflowActions, getWorkflowActionsByType, idle, isActive, isCompleted, isDisabled, isEndedByWorkflow, isUserAssignedPrincipal, setI18nService, setModelService, setTypeService, setUserService, setWorkflowActionDaoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.workflow.WorkflowActionService
complete, createWorkflowAction, disable, getActionForCode, getAllUserWorkflowActionsWithAttachment, getAllUserWorkflowActionsWithAttachment, getAllUserWorkflowActionsWithAttachments, getAllUserWorkflowActionsWithAttachments, getEndWorkflowActions, getNormalWorkflowActions, getStartWorkflowActions, getWorkflowActionsByType, idle, isActive, isCompleted, isDisabled, isEndedByWorkflow, isUserAssignedPrincipal
-
Constructor Details
-
DefaultCMSWorkflowActionService
public DefaultCMSWorkflowActionService()
-
-
Method Details
-
getWorkflowActionForCode
Description copied from interface:CMSWorkflowActionServiceFinds theWorkflowActionModelfor a givenWorkflowModelthat matches the provided action code.- Specified by:
getWorkflowActionForCodein interfaceCMSWorkflowActionService- Parameters:
workflow- - theWorkflowModelactionCode- - the action code- Returns:
- the
WorkflowActionModel
-
getActionDecisionForCode
public WorkflowDecisionModel getActionDecisionForCode(WorkflowActionModel action, String decisionCode) Description copied from interface:CMSWorkflowActionServiceFinds theWorkflowDecisionModelfor a givenWorkflowActionModelthat matches the provided decision code.- Specified by:
getActionDecisionForCodein interfaceCMSWorkflowActionService- Parameters:
action- - theWorkflowActionModeldecisionCode- - the decision code- Returns:
- the
WorkflowDecisionModel
-
findAllActiveWorkflowActionsByStatusAndPrincipals
public SearchResult<WorkflowActionModel> findAllActiveWorkflowActionsByStatusAndPrincipals(Set<CronJobStatus> workflowStatuses, Collection<PrincipalModel> currentPrincipals, PageableData pageableData) Description copied from interface:CMSWorkflowActionServiceThis method finds all the activeWorkflowActionModelofAbstractPageModelattachment types for the given principals and specified workflow statuses.- Specified by:
findAllActiveWorkflowActionsByStatusAndPrincipalsin interfaceCMSWorkflowActionService- Parameters:
workflowStatuses- - the workflow statuses used to filter the resultcurrentPrincipals- - the principals for which to find the workflow actions that have active workflow actions to be acted upon.pageableData- - the pagination object used to set the page index and page size.- Returns:
- the search result object containing the resulting list of
WorkflowActionModeland the pagination object.
-
getCmsWorkflowActionDao
-
setCmsWorkflowActionDao
-