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_TYPECODEGenerated model type code constant.static java.lang.String_WORKFLOWACTIONORDERINGRELATIONGenerated relation code constant for relationWorkflowActionOrderingRelationdefining source attributepredecessorsin extensionworkflow.static java.lang.StringACTIONTYPEGenerated constant - Attribute key ofAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.static java.lang.StringCODEGenerated constant - Attribute key ofAbstractWorkflowAction.codeattribute defined at extensionworkflow.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.static java.lang.StringEMAILADDRESSGenerated constant - Attribute key ofAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.static java.lang.StringNAMEGenerated constant - Attribute key ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.static java.lang.StringPREDECESSORSGenerated constant - Attribute key ofAbstractWorkflowAction.predecessorsattribute defined at extensionworkflow.static java.lang.StringPREDECESSORSSTRGenerated constant - Attribute key ofAbstractWorkflowAction.predecessorsStrattribute defined at extensionworkflow.static java.lang.StringPRINCIPALASSIGNEDGenerated constant - Attribute key ofAbstractWorkflowAction.principalAssignedattribute defined at extensionworkflow.static java.lang.StringQUALIFIERGenerated constant - Attribute key ofAbstractWorkflowAction.qualifierattribute defined at extensionb2bapprovalprocess.static java.lang.StringRENDERERTEMPLATEGenerated constant - Attribute key ofAbstractWorkflowAction.rendererTemplateattribute defined at extensionworkflow.static java.lang.StringSENDEMAILGenerated constant - Attribute key ofAbstractWorkflowAction.sendEmailattribute defined at extensionworkflow.static java.lang.StringSUCCESSORSGenerated constant - Attribute key ofAbstractWorkflowAction.successorsattribute defined at extensionworkflow.static java.lang.StringWORKFLOWACTIONCOMMENTSGenerated constant - Attribute key ofAbstractWorkflowAction.workflowActionCommentsattribute 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 WorkflowActionTypegetActionType()Generated method - Getter of theAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.java.lang.StringgetCode()Generated method - Getter of theAbstractWorkflowAction.codeattribute defined at extensionworkflow.java.lang.StringgetDescription()Generated method - Getter of theAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.java.lang.StringgetEmailAddress()Generated method - Getter of theAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.java.lang.StringgetName()Generated method - Getter of theAbstractWorkflowAction.nameattribute defined at extensionworkflow.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theAbstractWorkflowAction.nameattribute defined at extensionworkflow.UserModelgetOwner()Generated method - Getter of theItem.ownerattribute defined at extensioncoreand redeclared at extensionworkflow.java.util.List<AbstractWorkflowActionModel>getPredecessors()Generated method - Getter of theAbstractWorkflowAction.predecessorsattribute defined at extensionworkflow.java.lang.StringgetPredecessorsStr()Generated method - Getter of theAbstractWorkflowAction.predecessorsStrattribute defined at extensionworkflow.PrincipalModelgetPrincipalAssigned()Generated method - Getter of theAbstractWorkflowAction.principalAssignedattribute defined at extensionworkflow.java.lang.StringgetQualifier()Generated method - Getter of theAbstractWorkflowAction.qualifierattribute defined at extensionb2bapprovalprocess.RendererTemplateModelgetRendererTemplate()Generated method - Getter of theAbstractWorkflowAction.rendererTemplateattribute defined at extensionworkflow.java.lang.BooleangetSendEmail()Generated method - Getter of theAbstractWorkflowAction.sendEmailattribute defined at extensionworkflow.java.util.List<AbstractWorkflowActionModel>getSuccessors()Generated method - Getter of theAbstractWorkflowAction.successorsattribute defined at extensionworkflow.java.util.Collection<WorkflowActionCommentModel>getWorkflowActionComments()Generated method - Getter of theAbstractWorkflowAction.workflowActionCommentsattribute defined at extensionworkflow.voidsetActionType(WorkflowActionType value)Generated method - Setter ofAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.voidsetCode(java.lang.String value)Generated method - Initial setter ofAbstractWorkflowAction.codeattribute defined at extensionworkflow.voidsetDescription(java.lang.String value)Generated method - Setter ofAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.voidsetEmailAddress(java.lang.String value)Generated method - Setter ofAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.voidsetName(java.lang.String value)Generated method - Setter ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.voidsetOwner(ItemModel value)Generated method - Setter ofItem.ownerattribute defined at extensioncoreand redeclared at extensionworkflow.voidsetPredecessors(java.util.List<AbstractWorkflowActionModel> value)Generated method - Setter ofAbstractWorkflowAction.predecessorsattribute defined at extensionworkflow.voidsetPrincipalAssigned(PrincipalModel value)Generated method - Setter ofAbstractWorkflowAction.principalAssignedattribute defined at extensionworkflow.voidsetQualifier(java.lang.String value)Generated method - Setter ofAbstractWorkflowAction.qualifierattribute defined at extensionb2bapprovalprocess.voidsetRendererTemplate(RendererTemplateModel value)Generated method - Setter ofAbstractWorkflowAction.rendererTemplateattribute defined at extensionworkflow.voidsetSendEmail(java.lang.Boolean value)Generated method - Setter ofAbstractWorkflowAction.sendEmailattribute defined at extensionworkflow.voidsetSuccessors(java.util.List<AbstractWorkflowActionModel> value)Generated method - Setter ofAbstractWorkflowAction.successorsattribute defined at extensionworkflow.voidsetWorkflowActionComments(java.util.Collection<WorkflowActionCommentModel> value)Generated method - Setter ofAbstractWorkflowAction.workflowActionCommentsattribute 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 relationWorkflowActionOrderingRelationdefining source attributepredecessorsin extensionworkflow.- See Also:
- Constant Field Values
-
ACTIONTYPE
public static final java.lang.String ACTIONTYPE
Generated constant - Attribute key ofAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofAbstractWorkflowAction.codeattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
PRINCIPALASSIGNED
public static final java.lang.String PRINCIPALASSIGNED
Generated constant - Attribute key ofAbstractWorkflowAction.principalAssignedattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
SENDEMAIL
public static final java.lang.String SENDEMAIL
Generated constant - Attribute key ofAbstractWorkflowAction.sendEmailattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
EMAILADDRESS
public static final java.lang.String EMAILADDRESS
Generated constant - Attribute key ofAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
PREDECESSORSSTR
public static final java.lang.String PREDECESSORSSTR
Generated constant - Attribute key ofAbstractWorkflowAction.predecessorsStrattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
RENDERERTEMPLATE
public static final java.lang.String RENDERERTEMPLATE
Generated constant - Attribute key ofAbstractWorkflowAction.rendererTemplateattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
PREDECESSORS
public static final java.lang.String PREDECESSORS
Generated constant - Attribute key ofAbstractWorkflowAction.predecessorsattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
SUCCESSORS
public static final java.lang.String SUCCESSORS
Generated constant - Attribute key ofAbstractWorkflowAction.successorsattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
WORKFLOWACTIONCOMMENTS
public static final java.lang.String WORKFLOWACTIONCOMMENTS
Generated constant - Attribute key ofAbstractWorkflowAction.workflowActionCommentsattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofAbstractWorkflowAction.qualifierattribute 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 typeAbstractWorkflowActionat extensionworkflow_principalAssigned- initial attribute declared by typeAbstractWorkflowActionat 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 typeAbstractWorkflowActionat extensionworkflow_code- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow_owner- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow_principalAssigned- initial attribute declared by typeAbstractWorkflowActionat extensionworkflow
-
-
Method Detail
-
getActionType
@Accessor(qualifier="actionType", type=GETTER) public WorkflowActionType getActionType()
Generated method - Getter of theAbstractWorkflowAction.actionTypeattribute 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.codeattribute 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.descriptionattribute 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.descriptionattribute 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.emailAddressattribute 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.nameattribute 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.nameattribute 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.ownerattribute defined at extensioncoreand redeclared at extensionworkflow.
-
getPredecessors
@Accessor(qualifier="predecessors", type=GETTER) public java.util.List<AbstractWorkflowActionModel> getPredecessors()
Generated method - Getter of theAbstractWorkflowAction.predecessorsattribute 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.predecessorsStrattribute defined at extensionworkflow.- Returns:
- the predecessorsStr
-
getPrincipalAssigned
@Accessor(qualifier="principalAssigned", type=GETTER) public PrincipalModel getPrincipalAssigned()
Generated method - Getter of theAbstractWorkflowAction.principalAssignedattribute 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.qualifierattribute 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.rendererTemplateattribute defined at extensionworkflow.- Returns:
- the rendererTemplate
-
getSendEmail
@Accessor(qualifier="sendEmail", type=GETTER) public java.lang.Boolean getSendEmail()
Generated method - Getter of theAbstractWorkflowAction.sendEmailattribute 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.successorsattribute 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.workflowActionCommentsattribute 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.actionTypeattribute 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.codeattribute 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.descriptionattribute 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.descriptionattribute 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.emailAddressattribute 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.nameattribute 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.nameattribute 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.ownerattribute defined at extensioncoreand 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.predecessorsattribute defined at extensionworkflow.- Parameters:
value- the predecessors
-
setPrincipalAssigned
@Accessor(qualifier="principalAssigned", type=SETTER) public void setPrincipalAssigned(PrincipalModel value)
Generated method - Setter ofAbstractWorkflowAction.principalAssignedattribute 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.qualifierattribute 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.rendererTemplateattribute defined at extensionworkflow.- Parameters:
value- the rendererTemplate
-
setSendEmail
@Accessor(qualifier="sendEmail", type=SETTER) public void setSendEmail(java.lang.Boolean value)
Generated method - Setter ofAbstractWorkflowAction.sendEmailattribute 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.successorsattribute 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.workflowActionCommentsattribute defined at extensionworkflow.- Parameters:
value- the workflowActionComments
-
-