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_TYPECODEGenerated model type code constant.static java.lang.String_WORKFLOWACTIONLINKRELATIONGenerated relation code constant for relationWorkflowActionLinkRelationdefining source attributeincomingDecisionsin extensionworkflow.static java.lang.String_WORKFLOWACTIONORDERINGRELATIONGenerated relation code constant for relationWorkflowActionOrderingRelationdefining source attributepredecessorsin extensionworkflow.static java.lang.String_WORKFLOWACTIONRELATIONGenerated relation code constant for relationWorkflowActionRelationdefining source attributeworkflowin extensionworkflow.static java.lang.StringACTIVATEDGenerated constant - Attribute key ofWorkflowAction.activatedattribute defined at extensionworkflow.static java.lang.StringATTACHMENTITEMSGenerated constant - Attribute key ofWorkflowAction.attachmentItemsattribute defined at extensionworkflow.static java.lang.StringATTACHMENTSGenerated constant - Attribute key ofWorkflowAction.attachmentsattribute defined at extensionworkflow.static java.lang.StringCOMMENTGenerated constant - Attribute key ofWorkflowAction.commentattribute defined at extensionworkflow.static java.lang.StringDECISIONSGenerated constant - Attribute key ofWorkflowAction.decisionsattribute defined at extensionworkflow.static java.lang.StringFIRSTACTIVATEDGenerated constant - Attribute key ofWorkflowAction.firstActivatedattribute defined at extensionworkflow.static java.lang.StringINCOMINGDECISIONSGenerated constant - Attribute key ofWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.static java.lang.StringINCOMINGLINKSGenerated constant - Attribute key ofWorkflowAction.incomingLinksattribute defined at extensionworkflow.static java.lang.StringINCOMINGLINKSSTRGenerated constant - Attribute key ofWorkflowAction.incomingLinksStrattribute defined at extensionworkflow.static java.lang.StringSELECTEDDECISIONGenerated constant - Attribute key ofWorkflowAction.selectedDecisionattribute defined at extensionworkflow.static java.lang.StringSTATUSGenerated constant - Attribute key ofWorkflowAction.statusattribute defined at extensionworkflow.static java.lang.StringTEMPLATEGenerated constant - Attribute key ofWorkflowAction.templateattribute defined at extensionworkflow.static java.lang.StringWORKFLOWGenerated constant - Attribute key ofWorkflowAction.workflowattribute defined at extensionworkflow.static java.lang.StringWORKFLOWPOSGenerated 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, 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.DategetActivated()Generated method - Getter of theWorkflowAction.activatedattribute defined at extensionworkflow.java.util.List<ItemModel>getAttachmentItems()Generated method - Getter of theWorkflowAction.attachmentItemsattribute defined at extensionworkflow.java.util.List<WorkflowItemAttachmentModel>getAttachments()Generated method - Getter of theWorkflowAction.attachmentsattribute defined at extensionworkflow.java.lang.StringgetComment()Generated method - Getter of theWorkflowAction.commentattribute defined at extensionworkflow.java.util.Collection<WorkflowDecisionModel>getDecisions()Generated method - Getter of theWorkflowAction.decisionsattribute defined at extensionworkflow.java.util.DategetFirstActivated()Generated method - Getter of theWorkflowAction.firstActivatedattribute defined at extensionworkflow.java.util.Collection<WorkflowDecisionModel>getIncomingDecisions()Generated method - Getter of theWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.java.util.List<LinkModel>getIncomingLinks()Generated method - Getter of theWorkflowAction.incomingLinksattribute defined at extensionworkflow.java.lang.StringgetIncomingLinksStr()Generated method - Getter of theWorkflowAction.incomingLinksStrattribute defined at extensionworkflow.WorkflowDecisionModelgetSelectedDecision()Generated method - Getter of theWorkflowAction.selectedDecisionattribute defined at extensionworkflow.WorkflowActionStatusgetStatus()Generated method - Getter of theWorkflowAction.statusattribute defined at extensionworkflow.WorkflowActionTemplateModelgetTemplate()Generated method - Getter of theWorkflowAction.templateattribute defined at extensionworkflow.WorkflowModelgetWorkflow()Generated method - Getter of theWorkflowAction.workflowattribute defined at extensionworkflow.voidsetActivated(java.util.Date value)Generated method - Setter ofWorkflowAction.activatedattribute defined at extensionworkflow.voidsetAttachments(java.util.List<WorkflowItemAttachmentModel> value)Generated method - Setter ofWorkflowAction.attachmentsattribute defined at extensionworkflow.voidsetComment(java.lang.String value)Generated method - Setter ofWorkflowAction.commentattribute defined at extensionworkflow.voidsetDecisions(java.util.Collection<WorkflowDecisionModel> value)Generated method - Setter ofWorkflowAction.decisionsattribute defined at extensionworkflow.voidsetFirstActivated(java.util.Date value)Generated method - Setter ofWorkflowAction.firstActivatedattribute defined at extensionworkflow.voidsetIncomingDecisions(java.util.Collection<WorkflowDecisionModel> value)Generated method - Setter ofWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.voidsetSelectedDecision(WorkflowDecisionModel value)Generated method - Setter ofWorkflowAction.selectedDecisionattribute defined at extensionworkflow.voidsetStatus(WorkflowActionStatus value)Generated method - Setter ofWorkflowAction.statusattribute defined at extensionworkflow.voidsetTemplate(WorkflowActionTemplateModel value)Generated 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, 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 relationWorkflowActionOrderingRelationdefining source attributepredecessorsin extensionworkflow.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONRELATION
public static final java.lang.String _WORKFLOWACTIONRELATION
Generated relation code constant for relationWorkflowActionRelationdefining source attributeworkflowin extensionworkflow.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONLINKRELATION
public static final java.lang.String _WORKFLOWACTIONLINKRELATION
Generated relation code constant for relationWorkflowActionLinkRelationdefining source attributeincomingDecisionsin extensionworkflow.- See Also:
- Constant Field Values
-
INCOMINGLINKS
public static final java.lang.String INCOMINGLINKS
Generated constant - Attribute key ofWorkflowAction.incomingLinksattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
INCOMINGLINKSSTR
public static final java.lang.String INCOMINGLINKSSTR
Generated constant - Attribute key ofWorkflowAction.incomingLinksStrattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
SELECTEDDECISION
public static final java.lang.String SELECTEDDECISION
Generated constant - Attribute key ofWorkflowAction.selectedDecisionattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
FIRSTACTIVATED
public static final java.lang.String FIRSTACTIVATED
Generated constant - Attribute key ofWorkflowAction.firstActivatedattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
ACTIVATED
public static final java.lang.String ACTIVATED
Generated constant - Attribute key ofWorkflowAction.activatedattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Generated constant - Attribute key ofWorkflowAction.commentattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofWorkflowAction.statusattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
TEMPLATE
public static final java.lang.String TEMPLATE
Generated constant - Attribute key ofWorkflowAction.templateattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
ATTACHMENTITEMS
public static final java.lang.String ATTACHMENTITEMS
Generated constant - Attribute key ofWorkflowAction.attachmentItemsattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
WORKFLOWPOS
public static final java.lang.String WORKFLOWPOS
Generated constant - Attribute key ofWorkflowAction.workflowPOSattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
WORKFLOW
public static final java.lang.String WORKFLOW
Generated constant - Attribute key ofWorkflowAction.workflowattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
DECISIONS
public static final java.lang.String DECISIONS
Generated constant - Attribute key ofWorkflowAction.decisionsattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
INCOMINGDECISIONS
public static final java.lang.String INCOMINGDECISIONS
Generated constant - Attribute key ofWorkflowAction.incomingDecisionsattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
ATTACHMENTS
public static final java.lang.String ATTACHMENTS
Generated constant - Attribute key ofWorkflowAction.attachmentsattribute 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 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, 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 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 Detail
-
getActivated
@Accessor(qualifier="activated", type=GETTER) public java.util.Date getActivated()
Generated method - Getter of theWorkflowAction.activatedattribute 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.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 java.util.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
@Accessor(qualifier="comment", type=GETTER) public java.lang.String 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 java.util.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
@Accessor(qualifier="firstActivated", type=GETTER) public java.util.Date 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 java.util.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
@Accessor(qualifier="incomingLinks", type=GETTER) public java.util.List<LinkModel> 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
@Accessor(qualifier="incomingLinksStr", type=GETTER) public java.lang.String 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
@Accessor(qualifier="status", type=GETTER) public WorkflowActionStatus getStatus()
Generated method - Getter of theWorkflowAction.statusattribute 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.templateattribute 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.workflowattribute 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.activatedattribute 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.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
@Accessor(qualifier="comment", type=SETTER) public void setComment(java.lang.String value)
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(java.util.Collection<WorkflowDecisionModel> value)
Generated method - Setter ofWorkflowAction.decisionsattribute 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.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(java.util.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
@Accessor(qualifier="status", type=SETTER) public void setStatus(WorkflowActionStatus value)
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
@Accessor(qualifier="workflow", type=SETTER) public void setWorkflow(WorkflowModel value)
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
-
-