Class AbstractWorkflowActionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.workflow.model.AbstractWorkflowActionModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
WorkflowActionModel
,WorkflowActionTemplateModel
public class AbstractWorkflowActionModel extends ItemModel
Generated model class for type AbstractWorkflowAction 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
_WORKFLOWACTIONORDERINGRELATION
Generated relation code constant for relationWorkflowActionOrderingRelation
defining source attributepredecessors
in extensionworkflow
.static java.lang.String
ACTIONTYPE
Generated constant - Attribute key ofAbstractWorkflowAction.actionType
attribute defined at extensionworkflow
.static java.lang.String
CODE
Generated constant - Attribute key ofAbstractWorkflowAction.code
attribute defined at extensionworkflow
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofAbstractWorkflowAction.description
attribute defined at extensionworkflow
.static java.lang.String
EMAILADDRESS
Generated constant - Attribute key ofAbstractWorkflowAction.emailAddress
attribute defined at extensionworkflow
.static java.lang.String
NAME
Generated constant - Attribute key ofAbstractWorkflowAction.name
attribute defined at extensionworkflow
.static java.lang.String
PREDECESSORS
Generated constant - Attribute key ofAbstractWorkflowAction.predecessors
attribute defined at extensionworkflow
.static java.lang.String
PREDECESSORSSTR
Generated constant - Attribute key ofAbstractWorkflowAction.predecessorsStr
attribute defined at extensionworkflow
.static java.lang.String
PRINCIPALASSIGNED
Generated constant - Attribute key ofAbstractWorkflowAction.principalAssigned
attribute defined at extensionworkflow
.static java.lang.String
QUALIFIER
Generated constant - Attribute key ofAbstractWorkflowAction.qualifier
attribute defined at extensionb2bapprovalprocess
.static java.lang.String
RENDERERTEMPLATE
Generated constant - Attribute key ofAbstractWorkflowAction.rendererTemplate
attribute defined at extensionworkflow
.static java.lang.String
SENDEMAIL
Generated constant - Attribute key ofAbstractWorkflowAction.sendEmail
attribute defined at extensionworkflow
.static java.lang.String
SUCCESSORS
Generated constant - Attribute key ofAbstractWorkflowAction.successors
attribute defined at extensionworkflow
.static java.lang.String
WORKFLOWACTIONCOMMENTS
Generated constant - Attribute key ofAbstractWorkflowAction.workflowActionComments
attribute defined at extensionworkflow
.-
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 AbstractWorkflowActionModel()
Generated constructor - Default constructor for generic creation.AbstractWorkflowActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextAbstractWorkflowActionModel(WorkflowActionType _actionType, PrincipalModel _principalAssigned)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAbstractWorkflowActionModel(WorkflowActionType _actionType, java.lang.String _code, UserModel _owner, PrincipalModel _principalAssigned)
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 WorkflowActionType
getActionType()
Generated method - Getter of theAbstractWorkflowAction.actionType
attribute defined at extensionworkflow
.java.lang.String
getCode()
Generated method - Getter of theAbstractWorkflowAction.code
attribute defined at extensionworkflow
.java.lang.String
getDescription()
Generated method - Getter of theAbstractWorkflowAction.description
attribute defined at extensionworkflow
.java.lang.String
getDescription(java.util.Locale loc)
Generated method - Getter of theAbstractWorkflowAction.description
attribute defined at extensionworkflow
.java.lang.String
getEmailAddress()
Generated method - Getter of theAbstractWorkflowAction.emailAddress
attribute defined at extensionworkflow
.java.lang.String
getName()
Generated method - Getter of theAbstractWorkflowAction.name
attribute defined at extensionworkflow
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theAbstractWorkflowAction.name
attribute defined at extensionworkflow
.UserModel
getOwner()
Generated method - Getter of theItem.owner
attribute defined at extensioncore
and redeclared at extensionworkflow
.java.util.List<AbstractWorkflowActionModel>
getPredecessors()
Generated method - Getter of theAbstractWorkflowAction.predecessors
attribute defined at extensionworkflow
.java.lang.String
getPredecessorsStr()
Generated method - Getter of theAbstractWorkflowAction.predecessorsStr
attribute defined at extensionworkflow
.PrincipalModel
getPrincipalAssigned()
Generated method - Getter of theAbstractWorkflowAction.principalAssigned
attribute defined at extensionworkflow
.java.lang.String
getQualifier()
Generated method - Getter of theAbstractWorkflowAction.qualifier
attribute defined at extensionb2bapprovalprocess
.RendererTemplateModel
getRendererTemplate()
Generated method - Getter of theAbstractWorkflowAction.rendererTemplate
attribute defined at extensionworkflow
.java.lang.Boolean
getSendEmail()
Generated method - Getter of theAbstractWorkflowAction.sendEmail
attribute defined at extensionworkflow
.java.util.List<AbstractWorkflowActionModel>
getSuccessors()
Generated method - Getter of theAbstractWorkflowAction.successors
attribute defined at extensionworkflow
.java.util.Collection<WorkflowActionCommentModel>
getWorkflowActionComments()
Generated method - Getter of theAbstractWorkflowAction.workflowActionComments
attribute defined at extensionworkflow
.void
setActionType(WorkflowActionType value)
Generated method - Setter ofAbstractWorkflowAction.actionType
attribute defined at extensionworkflow
.void
setCode(java.lang.String value)
Generated method - Initial setter ofAbstractWorkflowAction.code
attribute defined at extensionworkflow
.void
setDescription(java.lang.String value)
Generated method - Setter ofAbstractWorkflowAction.description
attribute defined at extensionworkflow
.void
setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractWorkflowAction.description
attribute defined at extensionworkflow
.void
setEmailAddress(java.lang.String value)
Generated method - Setter ofAbstractWorkflowAction.emailAddress
attribute defined at extensionworkflow
.void
setName(java.lang.String value)
Generated method - Setter ofAbstractWorkflowAction.name
attribute defined at extensionworkflow
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractWorkflowAction.name
attribute defined at extensionworkflow
.void
setOwner(ItemModel value)
Generated method - Setter ofItem.owner
attribute defined at extensioncore
and redeclared at extensionworkflow
.void
setPredecessors(java.util.List<AbstractWorkflowActionModel> value)
Generated method - Setter ofAbstractWorkflowAction.predecessors
attribute defined at extensionworkflow
.void
setPrincipalAssigned(PrincipalModel value)
Generated method - Setter ofAbstractWorkflowAction.principalAssigned
attribute defined at extensionworkflow
.void
setQualifier(java.lang.String value)
Generated method - Setter ofAbstractWorkflowAction.qualifier
attribute defined at extensionb2bapprovalprocess
.void
setRendererTemplate(RendererTemplateModel value)
Generated method - Setter ofAbstractWorkflowAction.rendererTemplate
attribute defined at extensionworkflow
.void
setSendEmail(java.lang.Boolean value)
Generated method - Setter ofAbstractWorkflowAction.sendEmail
attribute defined at extensionworkflow
.void
setSuccessors(java.util.List<AbstractWorkflowActionModel> value)
Generated method - Setter ofAbstractWorkflowAction.successors
attribute defined at extensionworkflow
.void
setWorkflowActionComments(java.util.Collection<WorkflowActionCommentModel> value)
Generated method - Setter ofAbstractWorkflowAction.workflowActionComments
attribute defined at extensionworkflow
.-
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
-
ACTIONTYPE
public static final java.lang.String ACTIONTYPE
Generated constant - Attribute key ofAbstractWorkflowAction.actionType
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofAbstractWorkflowAction.code
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofAbstractWorkflowAction.name
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofAbstractWorkflowAction.description
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
PRINCIPALASSIGNED
public static final java.lang.String PRINCIPALASSIGNED
Generated constant - Attribute key ofAbstractWorkflowAction.principalAssigned
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
SENDEMAIL
public static final java.lang.String SENDEMAIL
Generated constant - Attribute key ofAbstractWorkflowAction.sendEmail
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
EMAILADDRESS
public static final java.lang.String EMAILADDRESS
Generated constant - Attribute key ofAbstractWorkflowAction.emailAddress
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
PREDECESSORSSTR
public static final java.lang.String PREDECESSORSSTR
Generated constant - Attribute key ofAbstractWorkflowAction.predecessorsStr
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
RENDERERTEMPLATE
public static final java.lang.String RENDERERTEMPLATE
Generated constant - Attribute key ofAbstractWorkflowAction.rendererTemplate
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
PREDECESSORS
public static final java.lang.String PREDECESSORS
Generated constant - Attribute key ofAbstractWorkflowAction.predecessors
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
SUCCESSORS
public static final java.lang.String SUCCESSORS
Generated constant - Attribute key ofAbstractWorkflowAction.successors
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
WORKFLOWACTIONCOMMENTS
public static final java.lang.String WORKFLOWACTIONCOMMENTS
Generated constant - Attribute key ofAbstractWorkflowAction.workflowActionComments
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofAbstractWorkflowAction.qualifier
attribute defined at extensionb2bapprovalprocess
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractWorkflowActionModel
public AbstractWorkflowActionModel()
Generated constructor - Default constructor for generic creation.
-
AbstractWorkflowActionModel
public AbstractWorkflowActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
AbstractWorkflowActionModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractWorkflowActionModel(WorkflowActionType _actionType, PrincipalModel _principalAssigned)
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
-
AbstractWorkflowActionModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractWorkflowActionModel(WorkflowActionType _actionType, java.lang.String _code, UserModel _owner, PrincipalModel _principalAssigned)
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
-
-
Method Detail
-
getActionType
@Accessor(qualifier="actionType", type=GETTER) public WorkflowActionType getActionType()
Generated method - Getter of theAbstractWorkflowAction.actionType
attribute defined at extensionworkflow
.- Returns:
- the actionType - marker for the type of an action (start, end, normal)
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theAbstractWorkflowAction.code
attribute defined at extensionworkflow
.- Returns:
- the code - unique identifier of the action
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theAbstractWorkflowAction.description
attribute defined at extensionworkflow
.- Returns:
- the description - description of the action; should contain the steps the assigned principal has to perform
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theAbstractWorkflowAction.description
attribute defined at extensionworkflow
.- Parameters:
loc
- the value localization key- Returns:
- the description - description of the action; should contain the steps the assigned principal has to perform
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getEmailAddress
@Accessor(qualifier="emailAddress", type=GETTER) public java.lang.String getEmailAddress()
Generated method - Getter of theAbstractWorkflowAction.emailAddress
attribute defined at extensionworkflow
.- Returns:
- the emailAddress - e-mail address where notification e-mail will be sent to
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theAbstractWorkflowAction.name
attribute defined at extensionworkflow
.- Returns:
- the name - name of the action
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theAbstractWorkflowAction.name
attribute defined at extensionworkflow
.- Parameters:
loc
- the value localization key- Returns:
- the name - name of the action
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getOwner
@Accessor(qualifier="owner", type=GETTER) public UserModel getOwner()
Generated method - Getter of theItem.owner
attribute defined at extensioncore
and redeclared at extensionworkflow
.
-
getPredecessors
@Accessor(qualifier="predecessors", type=GETTER) public java.util.List<AbstractWorkflowActionModel> getPredecessors()
Generated method - Getter of theAbstractWorkflowAction.predecessors
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the predecessors
-
getPredecessorsStr
@Accessor(qualifier="predecessorsStr", type=GETTER) public java.lang.String getPredecessorsStr()
Generated method - Getter of theAbstractWorkflowAction.predecessorsStr
attribute defined at extensionworkflow
.- Returns:
- the predecessorsStr
-
getPrincipalAssigned
@Accessor(qualifier="principalAssigned", type=GETTER) public PrincipalModel getPrincipalAssigned()
Generated method - Getter of theAbstractWorkflowAction.principalAssigned
attribute defined at extensionworkflow
.- Returns:
- the principalAssigned - assigned principal who has to assure the completion (can also be a principal group where any member of the group can process the action)
-
getQualifier
@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
Generated method - Getter of theAbstractWorkflowAction.qualifier
attribute defined at extensionb2bapprovalprocess
.- Returns:
- the qualifier - Used to qualify an action by a unique name within a context of a workflow
-
getRendererTemplate
@Accessor(qualifier="rendererTemplate", type=GETTER) public RendererTemplateModel getRendererTemplate()
Generated method - Getter of theAbstractWorkflowAction.rendererTemplate
attribute defined at extensionworkflow
.- Returns:
- the rendererTemplate
-
getSendEmail
@Accessor(qualifier="sendEmail", type=GETTER) public java.lang.Boolean getSendEmail()
Generated method - Getter of theAbstractWorkflowAction.sendEmail
attribute defined at extensionworkflow
.- Returns:
- the sendEmail - if activated a notification e-mail will be sent when action gets active
-
getSuccessors
@Accessor(qualifier="successors", type=GETTER) public java.util.List<AbstractWorkflowActionModel> getSuccessors()
Generated method - Getter of theAbstractWorkflowAction.successors
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the successors
-
getWorkflowActionComments
@Accessor(qualifier="workflowActionComments", type=GETTER) public java.util.Collection<WorkflowActionCommentModel> getWorkflowActionComments()
Generated method - Getter of theAbstractWorkflowAction.workflowActionComments
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the workflowActionComments
-
setActionType
@Accessor(qualifier="actionType", type=SETTER) public void setActionType(WorkflowActionType value)
Generated method - Setter ofAbstractWorkflowAction.actionType
attribute defined at extensionworkflow
.- Parameters:
value
- the actionType - marker for the type of an action (start, end, normal)
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofAbstractWorkflowAction.code
attribute defined at extensionworkflow
. Can only be used at creation of model - before first save.- Parameters:
value
- the code - unique identifier of the action
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofAbstractWorkflowAction.description
attribute defined at extensionworkflow
.- Parameters:
value
- the description - description of the action; should contain the steps the assigned principal has to perform
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractWorkflowAction.description
attribute defined at extensionworkflow
.- Parameters:
value
- the description - description of the action; should contain the steps the assigned principal has to performloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setEmailAddress
@Accessor(qualifier="emailAddress", type=SETTER) public void setEmailAddress(java.lang.String value)
Generated method - Setter ofAbstractWorkflowAction.emailAddress
attribute defined at extensionworkflow
.- Parameters:
value
- the emailAddress - e-mail address where notification e-mail will be sent to
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofAbstractWorkflowAction.name
attribute defined at extensionworkflow
.- Parameters:
value
- the name - name of the action
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractWorkflowAction.name
attribute defined at extensionworkflow
.- Parameters:
value
- the name - name of the actionloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setOwner
@Accessor(qualifier="owner", type=SETTER) public void setOwner(ItemModel value)
Generated method - Setter ofItem.owner
attribute defined at extensioncore
and redeclared at extensionworkflow
. Will only accept values of typeUserModel
.
-
setPredecessors
@Accessor(qualifier="predecessors", type=SETTER) public void setPredecessors(java.util.List<AbstractWorkflowActionModel> value)
Generated method - Setter ofAbstractWorkflowAction.predecessors
attribute defined at extensionworkflow
.- Parameters:
value
- the predecessors
-
setPrincipalAssigned
@Accessor(qualifier="principalAssigned", type=SETTER) public void setPrincipalAssigned(PrincipalModel value)
Generated method - Setter ofAbstractWorkflowAction.principalAssigned
attribute defined at extensionworkflow
.- Parameters:
value
- the principalAssigned - assigned principal who has to assure the completion (can also be a principal group where any member of the group can process the action)
-
setQualifier
@Accessor(qualifier="qualifier", type=SETTER) public void setQualifier(java.lang.String value)
Generated method - Setter ofAbstractWorkflowAction.qualifier
attribute defined at extensionb2bapprovalprocess
.- Parameters:
value
- the qualifier - Used to qualify an action by a unique name within a context of a workflow
-
setRendererTemplate
@Accessor(qualifier="rendererTemplate", type=SETTER) public void setRendererTemplate(RendererTemplateModel value)
Generated method - Setter ofAbstractWorkflowAction.rendererTemplate
attribute defined at extensionworkflow
.- Parameters:
value
- the rendererTemplate
-
setSendEmail
@Accessor(qualifier="sendEmail", type=SETTER) public void setSendEmail(java.lang.Boolean value)
Generated method - Setter ofAbstractWorkflowAction.sendEmail
attribute defined at extensionworkflow
.- Parameters:
value
- the sendEmail - if activated a notification e-mail will be sent when action gets active
-
setSuccessors
@Accessor(qualifier="successors", type=SETTER) public void setSuccessors(java.util.List<AbstractWorkflowActionModel> value)
Generated method - Setter ofAbstractWorkflowAction.successors
attribute defined at extensionworkflow
.- Parameters:
value
- the successors
-
setWorkflowActionComments
@Accessor(qualifier="workflowActionComments", type=SETTER) public void setWorkflowActionComments(java.util.Collection<WorkflowActionCommentModel> value)
Generated method - Setter ofAbstractWorkflowAction.workflowActionComments
attribute defined at extensionworkflow
.- Parameters:
value
- the workflowActionComments
-
-