Class WorkflowActionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.workflow.model.AbstractWorkflowActionModel
de.hybris.platform.workflow.model.WorkflowActionModel
- All Implemented Interfaces:
Serializable
Generated model class for type WorkflowAction first defined at extension workflow.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated relation code constant for relationWorkflowActionLinkRelationdefining source attributeincomingDecisionsin extensionworkflow.static final StringGenerated relation code constant for relationWorkflowActionOrderingRelationdefining source attributepredecessorsin extensionworkflow.static final StringGenerated relation code constant for relationWorkflowActionRelationdefining source attributeworkflowin extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.activatedattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.attachmentItemsattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.attachmentsattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.commentattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.decisionsattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.firstActivatedattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.incomingLinksattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.incomingLinksStrattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.selectedDecisionattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.statusattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.templateattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.workflowattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowAction.workflowPOSattribute defined at extensionworkflow.Fields inherited from class de.hybris.platform.workflow.model.AbstractWorkflowActionModel
ACTIONTYPE, CODE, DESCRIPTION, EMAILADDRESS, NAME, PREDECESSORS, PREDECESSORSSTR, PRINCIPALASSIGNED, QUALIFIER, RENDERERTEMPLATE, SENDEMAIL, SUCCESSORS, VISUALISATIONX, VISUALISATIONY, WORKFLOWACTIONCOMMENTSFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextWorkflowActionModel(WorkflowActionType _actionType, PrincipalModel _principalAssigned, WorkflowActionTemplateModel _template, WorkflowModel _workflow) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersWorkflowActionModel(WorkflowActionType _actionType, String _code, UserModel _owner, PrincipalModel _principalAssigned, WorkflowActionTemplateModel _template, WorkflowModel _workflow) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theWorkflowAction.activatedattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.attachmentItemsattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.attachmentsattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.commentattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.decisionsattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.firstActivatedattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.incomingLinksattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.incomingLinksStrattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.selectedDecisionattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.statusattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.templateattribute defined at extensionworkflow.Generated method - Getter of theWorkflowAction.workflowattribute defined at extensionworkflow.voidsetActivated(Date value) Generated method - Setter ofWorkflowAction.activatedattribute defined at extensionworkflow.voidGenerated method - Setter ofWorkflowAction.attachmentsattribute defined at extensionworkflow.voidsetComment(String value) Generated method - Setter ofWorkflowAction.commentattribute defined at extensionworkflow.voidGenerated method - Setter ofWorkflowAction.decisionsattribute defined at extensionworkflow.voidsetFirstActivated(Date value) Generated method - Setter ofWorkflowAction.firstActivatedattribute defined at extensionworkflow.voidGenerated method - Setter ofWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.voidGenerated method - Setter ofWorkflowAction.selectedDecisionattribute defined at extensionworkflow.voidsetStatus(WorkflowActionStatus value) Generated method - Setter ofWorkflowAction.statusattribute defined at extensionworkflow.voidGenerated method - Initial setter ofWorkflowAction.templateattribute defined at extensionworkflow.voidsetWorkflow(WorkflowModel value) Generated method - Initial setter ofWorkflowAction.workflowattribute defined at extensionworkflow.Methods inherited from class de.hybris.platform.workflow.model.AbstractWorkflowActionModel
getActionType, getCode, getDescription, getDescription, getEmailAddress, getName, getName, getOwner, getPredecessors, getPredecessorsStr, getPrincipalAssigned, getQualifier, getRendererTemplate, getSendEmail, getSuccessors, getVisualisationX, getVisualisationY, getWorkflowActionComments, setActionType, setCode, setDescription, setDescription, setEmailAddress, setName, setName, setOwner, setPredecessors, setPrincipalAssigned, setQualifier, setRendererTemplate, setSendEmail, setSuccessors, setVisualisationX, setVisualisationY, setWorkflowActionCommentsMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, isSealed, setComments, setCreationtime, setModifiedtimeMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_WORKFLOWACTIONORDERINGRELATION
Generated relation code constant for relationWorkflowActionOrderingRelationdefining source attributepredecessorsin extensionworkflow.- See Also:
-
_WORKFLOWACTIONRELATION
Generated relation code constant for relationWorkflowActionRelationdefining source attributeworkflowin extensionworkflow.- See Also:
-
_WORKFLOWACTIONLINKRELATION
Generated relation code constant for relationWorkflowActionLinkRelationdefining source attributeincomingDecisionsin extensionworkflow.- See Also:
-
INCOMINGLINKS
Generated constant - Attribute key ofWorkflowAction.incomingLinksattribute defined at extensionworkflow.- See Also:
-
INCOMINGLINKSSTR
Generated constant - Attribute key ofWorkflowAction.incomingLinksStrattribute defined at extensionworkflow.- See Also:
-
SELECTEDDECISION
Generated constant - Attribute key ofWorkflowAction.selectedDecisionattribute defined at extensionworkflow.- See Also:
-
FIRSTACTIVATED
Generated constant - Attribute key ofWorkflowAction.firstActivatedattribute defined at extensionworkflow.- See Also:
-
ACTIVATED
Generated constant - Attribute key ofWorkflowAction.activatedattribute defined at extensionworkflow.- See Also:
-
COMMENT
Generated constant - Attribute key ofWorkflowAction.commentattribute defined at extensionworkflow.- See Also:
-
STATUS
Generated constant - Attribute key ofWorkflowAction.statusattribute defined at extensionworkflow.- See Also:
-
TEMPLATE
Generated constant - Attribute key ofWorkflowAction.templateattribute defined at extensionworkflow.- See Also:
-
ATTACHMENTITEMS
Generated constant - Attribute key ofWorkflowAction.attachmentItemsattribute defined at extensionworkflow.- See Also:
-
WORKFLOWPOS
Generated constant - Attribute key ofWorkflowAction.workflowPOSattribute defined at extensionworkflow.- See Also:
-
WORKFLOW
Generated constant - Attribute key ofWorkflowAction.workflowattribute defined at extensionworkflow.- See Also:
-
DECISIONS
Generated constant - Attribute key ofWorkflowAction.decisionsattribute defined at extensionworkflow.- See Also:
-
INCOMINGDECISIONS
Generated constant - Attribute key ofWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.- See Also:
-
ATTACHMENTS
Generated constant - Attribute key ofWorkflowAction.attachmentsattribute defined at extensionworkflow.- See Also:
-
-
Constructor Details
-
WorkflowActionModel
public WorkflowActionModel()Generated constructor - Default constructor for generic creation. -
WorkflowActionModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
WorkflowActionModel
@Deprecated(since="4.1.1", forRemoval=true) public WorkflowActionModel(WorkflowActionType _actionType, PrincipalModel _principalAssigned, WorkflowActionTemplateModel _template, WorkflowModel _workflow) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_actionType- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow_principalAssigned- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow_template- initial attribute declared by typeWorkflowActionat extensionworkflow_workflow- initial attribute declared by typeWorkflowActionat extensionworkflow
-
WorkflowActionModel
@Deprecated(since="4.1.1", forRemoval=true) public WorkflowActionModel(WorkflowActionType _actionType, String _code, UserModel _owner, PrincipalModel _principalAssigned, WorkflowActionTemplateModel _template, WorkflowModel _workflow) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_actionType- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow_code- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow_owner- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow_principalAssigned- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow_template- initial attribute declared by typeWorkflowActionat extensionworkflow_workflow- initial attribute declared by typeWorkflowActionat extensionworkflow
-
-
Method Details
-
getActivated
Generated method - Getter of theWorkflowAction.activatedattribute defined at extensionworkflow.- Returns:
- the activated - date of last activation
-
getAttachmentItems
Generated method - Getter of theWorkflowAction.attachmentItemsattribute defined at extensionworkflow. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the attachmentItems
-
getAttachments
@Accessor(qualifier="attachments", type=GETTER) public List<WorkflowItemAttachmentModel> getAttachments()Generated method - Getter of theWorkflowAction.attachmentsattribute defined at extensionworkflow. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
getComment
Generated method - Getter of theWorkflowAction.commentattribute defined at extensionworkflow.- Returns:
- the comment - comment of the assigned principal on the status of the action
-
getDecisions
@Accessor(qualifier="decisions", type=GETTER) public Collection<WorkflowDecisionModel> getDecisions()Generated method - Getter of theWorkflowAction.decisionsattribute defined at extensionworkflow. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the decisions - set of all possible decisions of this action
-
getFirstActivated
Generated method - Getter of theWorkflowAction.firstActivatedattribute defined at extensionworkflow.- Returns:
- the firstActivated - date of first activation of the action (in case of a rejected action an action can be activated twice for example)
-
getIncomingDecisions
@Accessor(qualifier="incomingDecisions", type=GETTER) public Collection<WorkflowDecisionModel> getIncomingDecisions()Generated method - Getter of theWorkflowAction.incomingDecisionsattribute defined at extensionworkflow. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the incomingDecisions
-
getIncomingLinks
Generated method - Getter of theWorkflowAction.incomingLinksattribute defined at extensionworkflow. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the incomingLinks
-
getIncomingLinksStr
Generated method - Getter of theWorkflowAction.incomingLinksStrattribute defined at extensionworkflow.- Returns:
- the incomingLinksStr
-
getSelectedDecision
@Accessor(qualifier="selectedDecision", type=GETTER) public WorkflowDecisionModel getSelectedDecision()Generated method - Getter of theWorkflowAction.selectedDecisionattribute defined at extensionworkflow.- Returns:
- the selectedDecision - the decision chosen when the action is processed
-
getStatus
Generated method - Getter of theWorkflowAction.statusattribute defined at extensionworkflow.- Returns:
- the status - the status of the action (pending, active, completed)
-
getTemplate
Generated method - Getter of theWorkflowAction.templateattribute defined at extensionworkflow.- Returns:
- the template - the action template this action was created by; template defines the perform method
-
getWorkflow
Generated method - Getter of theWorkflowAction.workflowattribute defined at extensionworkflow.- Returns:
- the workflow - workflow to which the action belongs
-
setActivated
Generated method - Setter ofWorkflowAction.activatedattribute defined at extensionworkflow.- Parameters:
value- the activated - date of last activation
-
setAttachments
@Accessor(qualifier="attachments", type=SETTER) public void setAttachments(List<WorkflowItemAttachmentModel> value) Generated method - Setter ofWorkflowAction.attachmentsattribute defined at extensionworkflow.- Parameters:
value- the attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
setComment
Generated method - Setter ofWorkflowAction.commentattribute defined at extensionworkflow.- Parameters:
value- the comment - comment of the assigned principal on the status of the action
-
setDecisions
@Accessor(qualifier="decisions", type=SETTER) public void setDecisions(Collection<WorkflowDecisionModel> value) Generated method - Setter ofWorkflowAction.decisionsattribute defined at extensionworkflow.- Parameters:
value- the decisions - set of all possible decisions of this action
-
setFirstActivated
Generated method - Setter ofWorkflowAction.firstActivatedattribute defined at extensionworkflow.- Parameters:
value- the firstActivated - date of first activation of the action (in case of a rejected action an action can be activated twice for example)
-
setIncomingDecisions
@Accessor(qualifier="incomingDecisions", type=SETTER) public void setIncomingDecisions(Collection<WorkflowDecisionModel> value) Generated method - Setter ofWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.- Parameters:
value- the incomingDecisions
-
setSelectedDecision
@Accessor(qualifier="selectedDecision", type=SETTER) public void setSelectedDecision(WorkflowDecisionModel value) Generated method - Setter ofWorkflowAction.selectedDecisionattribute defined at extensionworkflow.- Parameters:
value- the selectedDecision - the decision chosen when the action is processed
-
setStatus
Generated method - Setter ofWorkflowAction.statusattribute defined at extensionworkflow.- Parameters:
value- the status - the status of the action (pending, active, completed)
-
setTemplate
@Accessor(qualifier="template", type=SETTER) public void setTemplate(WorkflowActionTemplateModel value) Generated method - Initial setter ofWorkflowAction.templateattribute defined at extensionworkflow. Can only be used at creation of model - before first save.- Parameters:
value- the template - the action template this action was created by; template defines the perform method
-
setWorkflow
Generated method - Initial setter ofWorkflowAction.workflowattribute defined at extensionworkflow. Can only be used at creation of model - before first save.- Parameters:
value- the workflow - workflow to which the action belongs
-