Class CMSWorkflowActionDataPopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.workflow.populator.CMSWorkflowActionDataPopulator
-
- All Implemented Interfaces:
Populator<WorkflowActionModel,CMSWorkflowActionData>
public class CMSWorkflowActionDataPopulator extends java.lang.Object implements Populator<WorkflowActionModel,CMSWorkflowActionData>
Populates aCMSWorkflowActionDatainstance from theWorkflowActionModelsource data model.
-
-
Constructor Summary
Constructors Constructor Description CMSWorkflowActionDataPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CMSWorkflowParticipantServicegetCmsWorkflowParticipantService()protected TimeDiffServicegetTimeDiffService()protected CMSWorkflowDecisionDatagetWorkflowDecisionData(WorkflowDecisionModel workflowDecisionModel)Method that converts theworkflowDecisionModeltocmsWorkflowDecisionData.voidpopulate(WorkflowActionModel workflowActionModel, CMSWorkflowActionData workflowActionData)Populate the target instance with values from the source instance.voidsetCmsWorkflowParticipantService(CMSWorkflowParticipantService cmsWorkflowParticipantService)voidsetTimeDiffService(TimeDiffService timeDiffService)
-
-
-
Method Detail
-
populate
public void populate(WorkflowActionModel workflowActionModel, CMSWorkflowActionData workflowActionData)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<WorkflowActionModel,CMSWorkflowActionData>- Parameters:
workflowActionModel- the source objectworkflowActionData- the target to fill
-
getWorkflowDecisionData
protected CMSWorkflowDecisionData getWorkflowDecisionData(WorkflowDecisionModel workflowDecisionModel)
Method that converts theworkflowDecisionModeltocmsWorkflowDecisionData.- Parameters:
workflowDecisionModel- TheworkflowDecisionModel.- Returns:
- The
cmsWorkflowDecisionData.
-
getCmsWorkflowParticipantService
protected CMSWorkflowParticipantService getCmsWorkflowParticipantService()
-
setCmsWorkflowParticipantService
public void setCmsWorkflowParticipantService(CMSWorkflowParticipantService cmsWorkflowParticipantService)
-
getTimeDiffService
protected TimeDiffService getTimeDiffService()
-
setTimeDiffService
public void setTimeDiffService(TimeDiffService timeDiffService)
-
-