Class WorkflowActionTemplateModel
- 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.WorkflowActionTemplateModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AutomatedWorkflowActionTemplateModel
public class WorkflowActionTemplateModel extends AbstractWorkflowActionModel
Generated model class for type WorkflowActionTemplate 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
_WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION
Generated relation code constant for relationWorkflowActionTemplateLinkTemplateRelation
defining source attributeincomingTemplateDecisions
in extensionworkflow
.static java.lang.String
_WORKFLOWTEMPLATEACTIONTEMPLATERELATION
Generated relation code constant for relationWorkflowTemplateActionTemplateRelation
defining source attributeworkflow
in extensionworkflow
.static java.lang.String
CREATIONTYPE
Generated constant - Attribute key ofWorkflowActionTemplate.creationType
attribute defined at extensionworkflow
.static java.lang.String
DECISIONTEMPLATES
Generated constant - Attribute key ofWorkflowActionTemplate.decisionTemplates
attribute defined at extensionworkflow
.static java.lang.String
INCOMINGLINKTEMPLATES
Generated constant - Attribute key ofWorkflowActionTemplate.incomingLinkTemplates
attribute defined at extensionworkflow
.static java.lang.String
INCOMINGLINKTEMPLATESSTR
Generated constant - Attribute key ofWorkflowActionTemplate.incomingLinkTemplatesStr
attribute defined at extensionworkflow
.static java.lang.String
INCOMINGTEMPLATEDECISIONS
Generated constant - Attribute key ofWorkflowActionTemplate.incomingTemplateDecisions
attribute defined at extensionworkflow
.static java.lang.String
WORKFLOW
Generated constant - Attribute key ofWorkflowActionTemplate.workflow
attribute defined at extensionworkflow
.static java.lang.String
WORKFLOWPOS
Generated constant - Attribute key ofWorkflowActionTemplate.workflowPOS
attribute defined at extensionworkflow
.-
Fields inherited from class de.hybris.platform.workflow.model.AbstractWorkflowActionModel
ACTIONTYPE, CODE, DESCRIPTION, EMAILADDRESS, NAME, PREDECESSORS, PREDECESSORSSTR, PRINCIPALASSIGNED, QUALIFIER, RENDERERTEMPLATE, SENDEMAIL, SUCCESSORS, WORKFLOWACTIONCOMMENTS
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description WorkflowActionTemplateModel()
Generated constructor - Default constructor for generic creation.WorkflowActionTemplateModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextWorkflowActionTemplateModel(WorkflowActionType _actionType, PrincipalModel _principalAssigned, WorkflowTemplateModel _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 parametersWorkflowActionTemplateModel(WorkflowActionType _actionType, java.lang.String _code, UserModel _owner, PrincipalModel _principalAssigned, WorkflowTemplateModel _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 ComposedTypeModel
getCreationType()
Generated method - Getter of theWorkflowActionTemplate.creationType
attribute defined at extensionworkflow
.java.util.Collection<WorkflowDecisionTemplateModel>
getDecisionTemplates()
Generated method - Getter of theWorkflowActionTemplate.decisionTemplates
attribute defined at extensionworkflow
.java.util.List<LinkModel>
getIncomingLinkTemplates()
Generated method - Getter of theWorkflowActionTemplate.incomingLinkTemplates
attribute defined at extensionworkflow
.java.lang.String
getIncomingLinkTemplatesStr()
Generated method - Getter of theWorkflowActionTemplate.incomingLinkTemplatesStr
attribute defined at extensionworkflow
.java.util.Collection<WorkflowDecisionTemplateModel>
getIncomingTemplateDecisions()
Generated method - Getter of theWorkflowActionTemplate.incomingTemplateDecisions
attribute defined at extensionworkflow
.WorkflowTemplateModel
getWorkflow()
Generated method - Getter of theWorkflowActionTemplate.workflow
attribute defined at extensionworkflow
.void
setCreationType(ComposedTypeModel value)
Generated method - Setter ofWorkflowActionTemplate.creationType
attribute defined at extensionworkflow
.void
setDecisionTemplates(java.util.Collection<WorkflowDecisionTemplateModel> value)
Generated method - Setter ofWorkflowActionTemplate.decisionTemplates
attribute defined at extensionworkflow
.void
setIncomingTemplateDecisions(java.util.Collection<WorkflowDecisionTemplateModel> value)
Generated method - Setter ofWorkflowActionTemplate.incomingTemplateDecisions
attribute defined at extensionworkflow
.void
setWorkflow(WorkflowTemplateModel value)
Generated method - Initial setter ofWorkflowActionTemplate.workflow
attribute defined at extensionworkflow
.-
Methods inherited from class de.hybris.platform.workflow.model.AbstractWorkflowActionModel
getActionType, getCode, getDescription, getDescription, getEmailAddress, getName, getName, getOwner, getPredecessors, getPredecessorsStr, getPrincipalAssigned, getQualifier, getRendererTemplate, getSendEmail, getSuccessors, getWorkflowActionComments, setActionType, setCode, setDescription, setDescription, setEmailAddress, setName, setName, setOwner, setPredecessors, setPrincipalAssigned, setQualifier, setRendererTemplate, setSendEmail, setSuccessors, setWorkflowActionComments
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, isSealed, setComments, setCreationtime, setModifiedtime
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONORDERINGRELATION
public static final java.lang.String _WORKFLOWACTIONORDERINGRELATION
Generated relation code constant for relationWorkflowActionOrderingRelation
defining source attributepredecessors
in extensionworkflow
.- See Also:
- Constant Field Values
-
_WORKFLOWTEMPLATEACTIONTEMPLATERELATION
public static final java.lang.String _WORKFLOWTEMPLATEACTIONTEMPLATERELATION
Generated relation code constant for relationWorkflowTemplateActionTemplateRelation
defining source attributeworkflow
in extensionworkflow
.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION
public static final java.lang.String _WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION
Generated relation code constant for relationWorkflowActionTemplateLinkTemplateRelation
defining source attributeincomingTemplateDecisions
in extensionworkflow
.- See Also:
- Constant Field Values
-
INCOMINGLINKTEMPLATES
public static final java.lang.String INCOMINGLINKTEMPLATES
Generated constant - Attribute key ofWorkflowActionTemplate.incomingLinkTemplates
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
INCOMINGLINKTEMPLATESSTR
public static final java.lang.String INCOMINGLINKTEMPLATESSTR
Generated constant - Attribute key ofWorkflowActionTemplate.incomingLinkTemplatesStr
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
CREATIONTYPE
public static final java.lang.String CREATIONTYPE
Generated constant - Attribute key ofWorkflowActionTemplate.creationType
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
WORKFLOWPOS
public static final java.lang.String WORKFLOWPOS
Generated constant - Attribute key ofWorkflowActionTemplate.workflowPOS
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
WORKFLOW
public static final java.lang.String WORKFLOW
Generated constant - Attribute key ofWorkflowActionTemplate.workflow
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
DECISIONTEMPLATES
public static final java.lang.String DECISIONTEMPLATES
Generated constant - Attribute key ofWorkflowActionTemplate.decisionTemplates
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
INCOMINGTEMPLATEDECISIONS
public static final java.lang.String INCOMINGTEMPLATEDECISIONS
Generated constant - Attribute key ofWorkflowActionTemplate.incomingTemplateDecisions
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WorkflowActionTemplateModel
public WorkflowActionTemplateModel()
Generated constructor - Default constructor for generic creation.
-
WorkflowActionTemplateModel
public WorkflowActionTemplateModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
WorkflowActionTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public WorkflowActionTemplateModel(WorkflowActionType _actionType, PrincipalModel _principalAssigned, WorkflowTemplateModel _workflow)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_actionType
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_principalAssigned
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_workflow
- initial attribute declared by typeWorkflowActionTemplate
at extensionworkflow
-
WorkflowActionTemplateModel
@Deprecated(since="4.1.1", forRemoval=true) public WorkflowActionTemplateModel(WorkflowActionType _actionType, java.lang.String _code, UserModel _owner, PrincipalModel _principalAssigned, WorkflowTemplateModel _workflow)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_actionType
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_code
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_owner
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_principalAssigned
- initial attribute declared by typeAbstractWorkflowAction
at extensionworkflow
_workflow
- initial attribute declared by typeWorkflowActionTemplate
at extensionworkflow
-
-
Method Detail
-
getCreationType
@Accessor(qualifier="creationType", type=GETTER) public ComposedTypeModel getCreationType()
Generated method - Getter of theWorkflowActionTemplate.creationType
attribute defined at extensionworkflow
.- Returns:
- the creationType
-
getDecisionTemplates
@Accessor(qualifier="decisionTemplates", type=GETTER) public java.util.Collection<WorkflowDecisionTemplateModel> getDecisionTemplates()
Generated method - Getter of theWorkflowActionTemplate.decisionTemplates
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the decisionTemplates - list of all decision templates of the action template
-
getIncomingLinkTemplates
@Accessor(qualifier="incomingLinkTemplates", type=GETTER) public java.util.List<LinkModel> getIncomingLinkTemplates()
Generated method - Getter of theWorkflowActionTemplate.incomingLinkTemplates
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the incomingLinkTemplates
-
getIncomingLinkTemplatesStr
@Accessor(qualifier="incomingLinkTemplatesStr", type=GETTER) public java.lang.String getIncomingLinkTemplatesStr()
Generated method - Getter of theWorkflowActionTemplate.incomingLinkTemplatesStr
attribute defined at extensionworkflow
.- Returns:
- the incomingLinkTemplatesStr
-
getIncomingTemplateDecisions
@Accessor(qualifier="incomingTemplateDecisions", type=GETTER) public java.util.Collection<WorkflowDecisionTemplateModel> getIncomingTemplateDecisions()
Generated method - Getter of theWorkflowActionTemplate.incomingTemplateDecisions
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the incomingTemplateDecisions
-
getWorkflow
@Accessor(qualifier="workflow", type=GETTER) public WorkflowTemplateModel getWorkflow()
Generated method - Getter of theWorkflowActionTemplate.workflow
attribute defined at extensionworkflow
.- Returns:
- the workflow - workflow template to which the action template belongs
-
setCreationType
@Accessor(qualifier="creationType", type=SETTER) public void setCreationType(ComposedTypeModel value)
Generated method - Setter ofWorkflowActionTemplate.creationType
attribute defined at extensionworkflow
.- Parameters:
value
- the creationType
-
setDecisionTemplates
@Accessor(qualifier="decisionTemplates", type=SETTER) public void setDecisionTemplates(java.util.Collection<WorkflowDecisionTemplateModel> value)
Generated method - Setter ofWorkflowActionTemplate.decisionTemplates
attribute defined at extensionworkflow
.- Parameters:
value
- the decisionTemplates - list of all decision templates of the action template
-
setIncomingTemplateDecisions
@Accessor(qualifier="incomingTemplateDecisions", type=SETTER) public void setIncomingTemplateDecisions(java.util.Collection<WorkflowDecisionTemplateModel> value)
Generated method - Setter ofWorkflowActionTemplate.incomingTemplateDecisions
attribute defined at extensionworkflow
.- Parameters:
value
- the incomingTemplateDecisions
-
setWorkflow
@Accessor(qualifier="workflow", type=SETTER) public void setWorkflow(WorkflowTemplateModel value)
Generated method - Initial setter ofWorkflowActionTemplate.workflow
attribute defined at extensionworkflow
. Can only be used at creation of model - before first save.- Parameters:
value
- the workflow - workflow template to which the action template belongs
-
-