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:
java.io.Serializable
public class WorkflowActionModel extends AbstractWorkflowActionModel
Generated model class for type WorkflowAction first defined at extension workflow.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
_WORKFLOWACTIONLINKRELATION
Generated relation code constant for relationWorkflowActionLinkRelation
defining source attributeincomingDecisions
in extensionworkflow
.static java.lang.String
_WORKFLOWACTIONORDERINGRELATION
Generated relation code constant for relationWorkflowActionOrderingRelation
defining source attributepredecessors
in extensionworkflow
.static java.lang.String
_WORKFLOWACTIONRELATION
Generated relation code constant for relationWorkflowActionRelation
defining source attributeworkflow
in extensionworkflow
.static java.lang.String
ACTIVATED
Generated constant - Attribute key ofWorkflowAction.activated
attribute defined at extensionworkflow
.static java.lang.String
ATTACHMENTITEMS
Generated constant - Attribute key ofWorkflowAction.attachmentItems
attribute defined at extensionworkflow
.static java.lang.String
ATTACHMENTS
Generated constant - Attribute key ofWorkflowAction.attachments
attribute defined at extensionworkflow
.static java.lang.String
COMMENT
Generated constant - Attribute key ofWorkflowAction.comment
attribute defined at extensionworkflow
.static java.lang.String
DECISIONS
Generated constant - Attribute key ofWorkflowAction.decisions
attribute defined at extensionworkflow
.static java.lang.String
FIRSTACTIVATED
Generated constant - Attribute key ofWorkflowAction.firstActivated
attribute defined at extensionworkflow
.static java.lang.String
INCOMINGDECISIONS
Generated constant - Attribute key ofWorkflowAction.incomingDecisions
attribute defined at extensionworkflow
.static java.lang.String
INCOMINGLINKS
Generated constant - Attribute key ofWorkflowAction.incomingLinks
attribute defined at extensionworkflow
.static java.lang.String
INCOMINGLINKSSTR
Generated constant - Attribute key ofWorkflowAction.incomingLinksStr
attribute defined at extensionworkflow
.static java.lang.String
SELECTEDDECISION
Generated constant - Attribute key ofWorkflowAction.selectedDecision
attribute defined at extensionworkflow
.static java.lang.String
STATUS
Generated constant - Attribute key ofWorkflowAction.status
attribute defined at extensionworkflow
.static java.lang.String
TEMPLATE
Generated constant - Attribute key ofWorkflowAction.template
attribute defined at extensionworkflow
.static java.lang.String
WORKFLOW
Generated constant - Attribute key ofWorkflowAction.workflow
attribute defined at extensionworkflow
.static java.lang.String
WORKFLOWPOS
Generated constant - Attribute key ofWorkflowAction.workflowPOS
attribute 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, WORKFLOWACTIONCOMMENTS
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description WorkflowActionModel()
Generated constructor - Default constructor for generic creation.WorkflowActionModel(ItemModelContext ctx)
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, java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getActivated()
Generated method - Getter of theWorkflowAction.activated
attribute defined at extensionworkflow
.java.util.List<ItemModel>
getAttachmentItems()
Generated method - Getter of theWorkflowAction.attachmentItems
attribute defined at extensionworkflow
.java.util.List<WorkflowItemAttachmentModel>
getAttachments()
Generated method - Getter of theWorkflowAction.attachments
attribute defined at extensionworkflow
.java.lang.String
getComment()
Generated method - Getter of theWorkflowAction.comment
attribute defined at extensionworkflow
.java.util.Collection<WorkflowDecisionModel>
getDecisions()
Generated method - Getter of theWorkflowAction.decisions
attribute defined at extensionworkflow
.java.util.Date
getFirstActivated()
Generated method - Getter of theWorkflowAction.firstActivated
attribute defined at extensionworkflow
.java.util.Collection<WorkflowDecisionModel>
getIncomingDecisions()
Generated method - Getter of theWorkflowAction.incomingDecisions
attribute defined at extensionworkflow
.java.util.List<LinkModel>
getIncomingLinks()
Generated method - Getter of theWorkflowAction.incomingLinks
attribute defined at extensionworkflow
.java.lang.String
getIncomingLinksStr()
Generated method - Getter of theWorkflowAction.incomingLinksStr
attribute defined at extensionworkflow
.WorkflowDecisionModel
getSelectedDecision()
Generated method - Getter of theWorkflowAction.selectedDecision
attribute defined at extensionworkflow
.WorkflowActionStatus
getStatus()
Generated method - Getter of theWorkflowAction.status
attribute defined at extensionworkflow
.WorkflowActionTemplateModel
getTemplate()
Generated method - Getter of theWorkflowAction.template
attribute defined at extensionworkflow
.WorkflowModel
getWorkflow()
Generated method - Getter of theWorkflowAction.workflow
attribute defined at extensionworkflow
.void
setActivated(java.util.Date value)
Generated method - Setter ofWorkflowAction.activated
attribute defined at extensionworkflow
.void
setAttachments(java.util.List<WorkflowItemAttachmentModel> value)
Generated method - Setter ofWorkflowAction.attachments
attribute defined at extensionworkflow
.void
setComment(java.lang.String value)
Generated method - Setter ofWorkflowAction.comment
attribute defined at extensionworkflow
.void
setDecisions(java.util.Collection<WorkflowDecisionModel> value)
Generated method - Setter ofWorkflowAction.decisions
attribute defined at extensionworkflow
.void
setFirstActivated(java.util.Date value)
Generated method - Setter ofWorkflowAction.firstActivated
attribute defined at extensionworkflow
.void
setIncomingDecisions(java.util.Collection<WorkflowDecisionModel> value)
Generated method - Setter ofWorkflowAction.incomingDecisions
attribute defined at extensionworkflow
.void
setSelectedDecision(WorkflowDecisionModel value)
Generated method - Setter ofWorkflowAction.selectedDecision
attribute defined at extensionworkflow
.void
setStatus(WorkflowActionStatus value)
Generated method - Setter ofWorkflowAction.status
attribute defined at extensionworkflow
.void
setTemplate(WorkflowActionTemplateModel value)
Generated method - Initial setter ofWorkflowAction.template
attribute defined at extensionworkflow
.void
setWorkflow(WorkflowModel value)
Generated method - Initial setter ofWorkflowAction.workflow
attribute 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, getWorkflowActionComments, setActionType, setCode, setDescription, setDescription, setEmailAddress, setName, setName, setOwner, setPredecessors, setPrincipalAssigned, setQualifier, setRendererTemplate, setSendEmail, setSuccessors, setWorkflowActionComments
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, isSealed, setComments, setCreationtime, setModifiedtime
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONORDERINGRELATION
public static final java.lang.String _WORKFLOWACTIONORDERINGRELATION
Generated relation code constant for relationWorkflowActionOrderingRelation
defining source attributepredecessors
in extensionworkflow
.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONRELATION
public static final java.lang.String _WORKFLOWACTIONRELATION
Generated relation code constant for relationWorkflowActionRelation
defining source attributeworkflow
in extensionworkflow
.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONLINKRELATION
public static final java.lang.String _WORKFLOWACTIONLINKRELATION
Generated relation code constant for relationWorkflowActionLinkRelation
defining source attributeincomingDecisions
in extensionworkflow
.- See Also:
- Constant Field Values
-
INCOMINGLINKS
public static final java.lang.String INCOMINGLINKS
Generated constant - Attribute key ofWorkflowAction.incomingLinks
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
INCOMINGLINKSSTR
public static final java.lang.String INCOMINGLINKSSTR
Generated constant - Attribute key ofWorkflowAction.incomingLinksStr
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
SELECTEDDECISION
public static final java.lang.String SELECTEDDECISION
Generated constant - Attribute key ofWorkflowAction.selectedDecision
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
FIRSTACTIVATED
public static final java.lang.String FIRSTACTIVATED
Generated constant - Attribute key ofWorkflowAction.firstActivated
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
ACTIVATED
public static final java.lang.String ACTIVATED
Generated constant - Attribute key ofWorkflowAction.activated
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Generated constant - Attribute key ofWorkflowAction.comment
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofWorkflowAction.status
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
TEMPLATE
public static final java.lang.String TEMPLATE
Generated constant - Attribute key ofWorkflowAction.template
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
ATTACHMENTITEMS
public static final java.lang.String ATTACHMENTITEMS
Generated constant - Attribute key ofWorkflowAction.attachmentItems
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
WORKFLOWPOS
public static final java.lang.String WORKFLOWPOS
Generated constant - Attribute key ofWorkflowAction.workflowPOS
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
WORKFLOW
public static final java.lang.String WORKFLOW
Generated constant - Attribute key ofWorkflowAction.workflow
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
DECISIONS
public static final java.lang.String DECISIONS
Generated constant - Attribute key ofWorkflowAction.decisions
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
INCOMINGDECISIONS
public static final java.lang.String INCOMINGDECISIONS
Generated constant - Attribute key ofWorkflowAction.incomingDecisions
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
ATTACHMENTS
public static final java.lang.String ATTACHMENTS
Generated constant - Attribute key ofWorkflowAction.attachments
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WorkflowActionModel
public WorkflowActionModel()
Generated constructor - Default constructor for generic creation.
-
WorkflowActionModel
public WorkflowActionModel(ItemModelContext ctx)
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 typeAbstractWorkflowAction
at extensionworkflow
_principalAssigned
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_template
- initial attribute declared by typeWorkflowAction
at extensionworkflow
_workflow
- initial attribute declared by typeWorkflowAction
at extensionworkflow
-
WorkflowActionModel
@Deprecated(since="4.1.1", forRemoval=true) public WorkflowActionModel(WorkflowActionType _actionType, java.lang.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 typeAbstractWorkflowAction
at extensionworkflow
_code
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_owner
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_principalAssigned
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_template
- initial attribute declared by typeWorkflowAction
at extensionworkflow
_workflow
- initial attribute declared by typeWorkflowAction
at extensionworkflow
-
-
Method Detail
-
getActivated
@Accessor(qualifier="activated", type=GETTER) public java.util.Date getActivated()
Generated method - Getter of theWorkflowAction.activated
attribute defined at extensionworkflow
.- Returns:
- the activated - date of last activation
-
getAttachmentItems
@Accessor(qualifier="attachmentItems", type=GETTER) public java.util.List<ItemModel> getAttachmentItems()
Generated method - Getter of theWorkflowAction.attachmentItems
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the attachmentItems
-
getAttachments
@Accessor(qualifier="attachments", type=GETTER) public java.util.List<WorkflowItemAttachmentModel> getAttachments()
Generated method - Getter of theWorkflowAction.attachments
attribute 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
@Accessor(qualifier="comment", type=GETTER) public java.lang.String getComment()
Generated method - Getter of theWorkflowAction.comment
attribute defined at extensionworkflow
.- Returns:
- the comment - comment of the assigned principal on the status of the action
-
getDecisions
@Accessor(qualifier="decisions", type=GETTER) public java.util.Collection<WorkflowDecisionModel> getDecisions()
Generated method - Getter of theWorkflowAction.decisions
attribute 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
@Accessor(qualifier="firstActivated", type=GETTER) public java.util.Date getFirstActivated()
Generated method - Getter of theWorkflowAction.firstActivated
attribute 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 java.util.Collection<WorkflowDecisionModel> getIncomingDecisions()
Generated method - Getter of theWorkflowAction.incomingDecisions
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the incomingDecisions
-
getIncomingLinks
@Accessor(qualifier="incomingLinks", type=GETTER) public java.util.List<LinkModel> getIncomingLinks()
Generated method - Getter of theWorkflowAction.incomingLinks
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the incomingLinks
-
getIncomingLinksStr
@Accessor(qualifier="incomingLinksStr", type=GETTER) public java.lang.String getIncomingLinksStr()
Generated method - Getter of theWorkflowAction.incomingLinksStr
attribute defined at extensionworkflow
.- Returns:
- the incomingLinksStr
-
getSelectedDecision
@Accessor(qualifier="selectedDecision", type=GETTER) public WorkflowDecisionModel getSelectedDecision()
Generated method - Getter of theWorkflowAction.selectedDecision
attribute defined at extensionworkflow
.- Returns:
- the selectedDecision - the decision chosen when the action is processed
-
getStatus
@Accessor(qualifier="status", type=GETTER) public WorkflowActionStatus getStatus()
Generated method - Getter of theWorkflowAction.status
attribute defined at extensionworkflow
.- Returns:
- the status - the status of the action (pending, active, completed)
-
getTemplate
@Accessor(qualifier="template", type=GETTER) public WorkflowActionTemplateModel getTemplate()
Generated method - Getter of theWorkflowAction.template
attribute defined at extensionworkflow
.- Returns:
- the template - the action template this action was created by; template defines the perform method
-
getWorkflow
@Accessor(qualifier="workflow", type=GETTER) public WorkflowModel getWorkflow()
Generated method - Getter of theWorkflowAction.workflow
attribute defined at extensionworkflow
.- Returns:
- the workflow - workflow to which the action belongs
-
setActivated
@Accessor(qualifier="activated", type=SETTER) public void setActivated(java.util.Date value)
Generated method - Setter ofWorkflowAction.activated
attribute defined at extensionworkflow
.- Parameters:
value
- the activated - date of last activation
-
setAttachments
@Accessor(qualifier="attachments", type=SETTER) public void setAttachments(java.util.List<WorkflowItemAttachmentModel> value)
Generated method - Setter ofWorkflowAction.attachments
attribute 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
@Accessor(qualifier="comment", type=SETTER) public void setComment(java.lang.String value)
Generated method - Setter ofWorkflowAction.comment
attribute 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(java.util.Collection<WorkflowDecisionModel> value)
Generated method - Setter ofWorkflowAction.decisions
attribute defined at extensionworkflow
.- Parameters:
value
- the decisions - set of all possible decisions of this action
-
setFirstActivated
@Accessor(qualifier="firstActivated", type=SETTER) public void setFirstActivated(java.util.Date value)
Generated method - Setter ofWorkflowAction.firstActivated
attribute 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(java.util.Collection<WorkflowDecisionModel> value)
Generated method - Setter ofWorkflowAction.incomingDecisions
attribute defined at extensionworkflow
.- Parameters:
value
- the incomingDecisions
-
setSelectedDecision
@Accessor(qualifier="selectedDecision", type=SETTER) public void setSelectedDecision(WorkflowDecisionModel value)
Generated method - Setter ofWorkflowAction.selectedDecision
attribute defined at extensionworkflow
.- Parameters:
value
- the selectedDecision - the decision chosen when the action is processed
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(WorkflowActionStatus value)
Generated method - Setter ofWorkflowAction.status
attribute 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.template
attribute 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
@Accessor(qualifier="workflow", type=SETTER) public void setWorkflow(WorkflowModel value)
Generated method - Initial setter ofWorkflowAction.workflow
attribute defined at extensionworkflow
. Can only be used at creation of model - before first save.- Parameters:
value
- the workflow - workflow to which the action belongs
-
-