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:
Serializable
- Direct Known Subclasses:
WorkflowActionModel,WorkflowActionTemplateModel
Generated model class for type AbstractWorkflowAction first defined at extension workflow.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated relation code constant for relationWorkflowActionOrderingRelationdefining source attributepredecessorsin extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.codeattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.predecessorsattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.predecessorsStrattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.principalAssignedattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.qualifierattribute defined at extensionb2bapprovalprocess.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.rendererTemplateattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.sendEmailattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.successorsattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.visualisationXattribute defined at extensionbackoffice.static final StringGenerated constant - Attribute key ofAbstractWorkflowAction.visualisationYattribute defined at extensionbackoffice.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing 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, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.getCode()Generated method - Getter of theAbstractWorkflowAction.codeattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.getDescription(Locale loc) Generated method - Getter of theAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.getName()Generated method - Getter of theAbstractWorkflowAction.nameattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.nameattribute defined at extensionworkflow.getOwner()Generated method - Getter of theItem.ownerattribute defined at extensioncoreand redeclared at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.predecessorsattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.predecessorsStrattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.principalAssignedattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.qualifierattribute defined at extensionb2bapprovalprocess.Generated method - Getter of theAbstractWorkflowAction.rendererTemplateattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.sendEmailattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.successorsattribute defined at extensionworkflow.Generated method - Getter of theAbstractWorkflowAction.visualisationXattribute defined at extensionbackoffice.Generated method - Getter of theAbstractWorkflowAction.visualisationYattribute defined at extensionbackoffice.Generated method - Getter of theAbstractWorkflowAction.workflowActionCommentsattribute defined at extensionworkflow.voidsetActionType(WorkflowActionType value) Generated method - Setter ofAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.voidGenerated method - Initial setter ofAbstractWorkflowAction.codeattribute defined at extensionworkflow.voidsetDescription(String value) Generated method - Setter ofAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.voidsetDescription(String value, Locale loc) Generated method - Setter ofAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.voidsetEmailAddress(String value) Generated method - Setter ofAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.voidGenerated method - Setter ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.voidGenerated method - Setter ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.voidGenerated method - Setter ofItem.ownerattribute defined at extensioncoreand redeclared at extensionworkflow.voidGenerated method - Setter ofAbstractWorkflowAction.predecessorsattribute defined at extensionworkflow.voidGenerated method - Setter ofAbstractWorkflowAction.principalAssignedattribute defined at extensionworkflow.voidsetQualifier(String value) Generated method - Setter ofAbstractWorkflowAction.qualifierattribute defined at extensionb2bapprovalprocess.voidGenerated method - Setter ofAbstractWorkflowAction.rendererTemplateattribute defined at extensionworkflow.voidsetSendEmail(Boolean value) Generated method - Setter ofAbstractWorkflowAction.sendEmailattribute defined at extensionworkflow.voidGenerated method - Setter ofAbstractWorkflowAction.successorsattribute defined at extensionworkflow.voidsetVisualisationX(Integer value) Generated method - Setter ofAbstractWorkflowAction.visualisationXattribute defined at extensionbackoffice.voidsetVisualisationY(Integer value) Generated method - Setter ofAbstractWorkflowAction.visualisationYattribute defined at extensionbackoffice.voidGenerated method - Setter ofAbstractWorkflowAction.workflowActionCommentsattribute defined at extensionworkflow.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, isSealed, setComments, setCreationtime, setModifiedtimeMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_WORKFLOWACTIONORDERINGRELATION
Generated relation code constant for relationWorkflowActionOrderingRelationdefining source attributepredecessorsin extensionworkflow.- See Also:
-
ACTIONTYPE
Generated constant - Attribute key ofAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.- See Also:
-
CODE
Generated constant - Attribute key ofAbstractWorkflowAction.codeattribute defined at extensionworkflow.- See Also:
-
NAME
Generated constant - Attribute key ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofAbstractWorkflowAction.descriptionattribute defined at extensionworkflow.- See Also:
-
PRINCIPALASSIGNED
Generated constant - Attribute key ofAbstractWorkflowAction.principalAssignedattribute defined at extensionworkflow.- See Also:
-
SENDEMAIL
Generated constant - Attribute key ofAbstractWorkflowAction.sendEmailattribute defined at extensionworkflow.- See Also:
-
EMAILADDRESS
Generated constant - Attribute key ofAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.- See Also:
-
PREDECESSORSSTR
Generated constant - Attribute key ofAbstractWorkflowAction.predecessorsStrattribute defined at extensionworkflow.- See Also:
-
RENDERERTEMPLATE
Generated constant - Attribute key ofAbstractWorkflowAction.rendererTemplateattribute defined at extensionworkflow.- See Also:
-
PREDECESSORS
Generated constant - Attribute key ofAbstractWorkflowAction.predecessorsattribute defined at extensionworkflow.- See Also:
-
SUCCESSORS
Generated constant - Attribute key ofAbstractWorkflowAction.successorsattribute defined at extensionworkflow.- See Also:
-
WORKFLOWACTIONCOMMENTS
Generated constant - Attribute key ofAbstractWorkflowAction.workflowActionCommentsattribute defined at extensionworkflow.- See Also:
-
VISUALISATIONX
Generated constant - Attribute key ofAbstractWorkflowAction.visualisationXattribute defined at extensionbackoffice.- See Also:
-
VISUALISATIONY
Generated constant - Attribute key ofAbstractWorkflowAction.visualisationYattribute defined at extensionbackoffice.- See Also:
-
QUALIFIER
Generated constant - Attribute key ofAbstractWorkflowAction.qualifierattribute defined at extensionb2bapprovalprocess.- See Also:
-
-
Constructor Details
-
AbstractWorkflowActionModel
public AbstractWorkflowActionModel()Generated constructor - Default constructor for generic creation. -
AbstractWorkflowActionModel
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, 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 Details
-
getActionType
Generated method - Getter of theAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.- Returns:
- the actionType - marker for the type of an action (start, end, normal)
-
getCode
Generated method - Getter of theAbstractWorkflowAction.codeattribute defined at extensionworkflow.- Returns:
- the code - unique identifier of the action
-
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
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:
IllegalArgumentException- if localization key cannot be mapped to data language
-
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
Generated method - Getter of theAbstractWorkflowAction.nameattribute defined at extensionworkflow.- Returns:
- the name - name of the action
-
getName
Generated method - Getter of theAbstractWorkflowAction.nameattribute defined at extensionworkflow.- Parameters:
loc- the value localization key- Returns:
- the name - name of the action
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getOwner
Generated method - Getter of theItem.ownerattribute defined at extensioncoreand redeclared at extensionworkflow. -
getPredecessors
@Accessor(qualifier="predecessors", type=GETTER) public 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
Generated method - Getter of theAbstractWorkflowAction.predecessorsStrattribute defined at extensionworkflow.- Returns:
- the predecessorsStr
-
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
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
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 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
-
getVisualisationX
Generated method - Getter of theAbstractWorkflowAction.visualisationXattribute defined at extensionbackoffice.- Returns:
- the visualisationX
-
getVisualisationY
Generated method - Getter of theAbstractWorkflowAction.visualisationYattribute defined at extensionbackoffice.- Returns:
- the visualisationY
-
getWorkflowActionComments
@Accessor(qualifier="workflowActionComments", type=GETTER) public 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
Generated method - Setter ofAbstractWorkflowAction.actionTypeattribute defined at extensionworkflow.- Parameters:
value- the actionType - marker for the type of an action (start, end, normal)
-
setCode
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
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(String value, 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:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setEmailAddress
Generated method - Setter ofAbstractWorkflowAction.emailAddressattribute defined at extensionworkflow.- Parameters:
value- the emailAddress - e-mail address where notification e-mail will be sent to
-
setName
Generated method - Setter ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.- Parameters:
value- the name - name of the action
-
setName
Generated method - Setter ofAbstractWorkflowAction.nameattribute defined at extensionworkflow.- Parameters:
value- the name - name of the actionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setOwner
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(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
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
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(List<AbstractWorkflowActionModel> value) Generated method - Setter ofAbstractWorkflowAction.successorsattribute defined at extensionworkflow.- Parameters:
value- the successors
-
setVisualisationX
Generated method - Setter ofAbstractWorkflowAction.visualisationXattribute defined at extensionbackoffice.- Parameters:
value- the visualisationX
-
setVisualisationY
Generated method - Setter ofAbstractWorkflowAction.visualisationYattribute defined at extensionbackoffice.- Parameters:
value- the visualisationY
-
setWorkflowActionComments
@Accessor(qualifier="workflowActionComments", type=SETTER) public void setWorkflowActionComments(Collection<WorkflowActionCommentModel> value) Generated method - Setter ofAbstractWorkflowAction.workflowActionCommentsattribute defined at extensionworkflow.- Parameters:
value- the workflowActionComments
-