Class WorkflowItemAttachmentModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.workflow.model.WorkflowItemAttachmentModel
-
- All Implemented Interfaces:
java.io.Serializable
public class WorkflowItemAttachmentModel extends ItemModel
Generated model class for type WorkflowItemAttachment 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
_WORKFLOWACTIONITEMATTACHMENTRELATION
Generated relation code constant for relationWorkflowActionItemAttachmentRelation
defining source attributeactions
in extensionworkflow
.static java.lang.String
_WORKFLOWITEMATTACHMENTRELATION
Generated relation code constant for relationWorkflowItemAttachmentRelation
defining source attributeworkflow
in extensionworkflow
.static java.lang.String
ACTIONS
Generated constant - Attribute key ofWorkflowItemAttachment.actions
attribute defined at extensionworkflow
.static java.lang.String
ACTIONSTR
Generated constant - Attribute key ofWorkflowItemAttachment.actionStr
attribute defined at extensionworkflow
.static java.lang.String
CODE
Generated constant - Attribute key ofWorkflowItemAttachment.code
attribute defined at extensionworkflow
.static java.lang.String
COMMENT
Generated constant - Attribute key ofWorkflowItemAttachment.comment
attribute defined at extensionworkflow
.static java.lang.String
ITEM
Generated constant - Attribute key ofWorkflowItemAttachment.item
attribute defined at extensionworkflow
.static java.lang.String
NAME
Generated constant - Attribute key ofWorkflowItemAttachment.name
attribute defined at extensionworkflow
.static java.lang.String
TYPEOFITEM
Generated constant - Attribute key ofWorkflowItemAttachment.typeOfItem
attribute defined at extensionworkflow
.static java.lang.String
WORKFLOW
Generated constant - Attribute key ofWorkflowItemAttachment.workflow
attribute defined at extensionworkflow
.static java.lang.String
WORKFLOWPOS
Generated constant - Attribute key ofWorkflowItemAttachment.workflowPOS
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 WorkflowItemAttachmentModel()
Generated constructor - Default constructor for generic creation.WorkflowItemAttachmentModel(ItemModel _item, 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 parametersWorkflowItemAttachmentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextWorkflowItemAttachmentModel(java.lang.String _code, ItemModel _item, ItemModel _owner, 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.Collection<WorkflowActionModel>
getActions()
Generated method - Getter of theWorkflowItemAttachment.actions
attribute defined at extensionworkflow
.java.lang.String
getActionStr()
Generated method - Getter of theWorkflowItemAttachment.actionStr
attribute defined at extensionworkflow
.java.lang.String
getCode()
Generated method - Getter of theWorkflowItemAttachment.code
attribute defined at extensionworkflow
.java.lang.String
getComment()
Generated method - Getter of theWorkflowItemAttachment.comment
attribute defined at extensionworkflow
.ItemModel
getItem()
Generated method - Getter of theWorkflowItemAttachment.item
attribute defined at extensionworkflow
.java.lang.String
getName()
Generated method - Getter of theWorkflowItemAttachment.name
attribute defined at extensionworkflow
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theWorkflowItemAttachment.name
attribute defined at extensionworkflow
.ComposedTypeModel
getTypeOfItem()
Generated method - Getter of theWorkflowItemAttachment.typeOfItem
attribute defined at extensionworkflow
.WorkflowModel
getWorkflow()
Generated method - Getter of theWorkflowItemAttachment.workflow
attribute defined at extensionworkflow
.void
setActions(java.util.Collection<WorkflowActionModel> value)
Generated method - Setter ofWorkflowItemAttachment.actions
attribute defined at extensionworkflow
.void
setCode(java.lang.String value)
Generated method - Initial setter ofWorkflowItemAttachment.code
attribute defined at extensionworkflow
.void
setComment(java.lang.String value)
Generated method - Setter ofWorkflowItemAttachment.comment
attribute defined at extensionworkflow
.void
setItem(ItemModel value)
Generated method - Setter ofWorkflowItemAttachment.item
attribute defined at extensionworkflow
.void
setName(java.lang.String value)
Generated method - Setter ofWorkflowItemAttachment.name
attribute defined at extensionworkflow
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofWorkflowItemAttachment.name
attribute defined at extensionworkflow
.void
setWorkflow(WorkflowModel value)
Generated method - Initial setter ofWorkflowItemAttachment.workflow
attribute defined at extensionworkflow
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
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
-
_WORKFLOWITEMATTACHMENTRELATION
public static final java.lang.String _WORKFLOWITEMATTACHMENTRELATION
Generated relation code constant for relationWorkflowItemAttachmentRelation
defining source attributeworkflow
in extensionworkflow
.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONITEMATTACHMENTRELATION
public static final java.lang.String _WORKFLOWACTIONITEMATTACHMENTRELATION
Generated relation code constant for relationWorkflowActionItemAttachmentRelation
defining source attributeactions
in extensionworkflow
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofWorkflowItemAttachment.code
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofWorkflowItemAttachment.name
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Generated constant - Attribute key ofWorkflowItemAttachment.comment
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
ITEM
public static final java.lang.String ITEM
Generated constant - Attribute key ofWorkflowItemAttachment.item
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
TYPEOFITEM
public static final java.lang.String TYPEOFITEM
Generated constant - Attribute key ofWorkflowItemAttachment.typeOfItem
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
ACTIONSTR
public static final java.lang.String ACTIONSTR
Generated constant - Attribute key ofWorkflowItemAttachment.actionStr
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
WORKFLOWPOS
public static final java.lang.String WORKFLOWPOS
Generated constant - Attribute key ofWorkflowItemAttachment.workflowPOS
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
WORKFLOW
public static final java.lang.String WORKFLOW
Generated constant - Attribute key ofWorkflowItemAttachment.workflow
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
ACTIONS
public static final java.lang.String ACTIONS
Generated constant - Attribute key ofWorkflowItemAttachment.actions
attribute defined at extensionworkflow
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WorkflowItemAttachmentModel
public WorkflowItemAttachmentModel()
Generated constructor - Default constructor for generic creation.
-
WorkflowItemAttachmentModel
public WorkflowItemAttachmentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
WorkflowItemAttachmentModel
@Deprecated(since="4.1.1", forRemoval=true) public WorkflowItemAttachmentModel(ItemModel _item, 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:
_item
- initial attribute declared by typeWorkflowItemAttachment
at extensionworkflow
_workflow
- initial attribute declared by typeWorkflowItemAttachment
at extensionworkflow
-
WorkflowItemAttachmentModel
@Deprecated(since="4.1.1", forRemoval=true) public WorkflowItemAttachmentModel(java.lang.String _code, ItemModel _item, ItemModel _owner, 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:
_code
- initial attribute declared by typeWorkflowItemAttachment
at extensionworkflow
_item
- initial attribute declared by typeWorkflowItemAttachment
at extensionworkflow
_owner
- initial attribute declared by typeItem
at extensioncore
_workflow
- initial attribute declared by typeWorkflowItemAttachment
at extensionworkflow
-
-
Method Detail
-
getActions
@Accessor(qualifier="actions", type=GETTER) public java.util.Collection<WorkflowActionModel> getActions()
Generated method - Getter of theWorkflowItemAttachment.actions
attribute defined at extensionworkflow
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the actions - part of WorkflowActionItemAttachmentRelation; references specific actions of referenced workflow for which attachment is relevant for processing
-
getActionStr
@Accessor(qualifier="actionStr", type=GETTER) public java.lang.String getActionStr()
Generated method - Getter of theWorkflowItemAttachment.actionStr
attribute defined at extensionworkflow
.- Returns:
- the actionStr
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theWorkflowItemAttachment.code
attribute defined at extensionworkflow
.- Returns:
- the code - identifier of this attachment; will be generated if not set
-
getComment
@Accessor(qualifier="comment", type=GETTER) public java.lang.String getComment()
Generated method - Getter of theWorkflowItemAttachment.comment
attribute defined at extensionworkflow
.- Returns:
- the comment - a comment containing some notes either by creator or processor
-
getItem
@Accessor(qualifier="item", type=GETTER) public ItemModel getItem()
Generated method - Getter of theWorkflowItemAttachment.item
attribute defined at extensionworkflow
.- Returns:
- the item - the item this attachment references
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theWorkflowItemAttachment.name
attribute defined at extensionworkflow
.- Returns:
- the name - name of the attachment
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theWorkflowItemAttachment.name
attribute defined at extensionworkflow
.- Parameters:
loc
- the value localization key- Returns:
- the name - name of the attachment
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getTypeOfItem
@Accessor(qualifier="typeOfItem", type=GETTER) public ComposedTypeModel getTypeOfItem()
Generated method - Getter of theWorkflowItemAttachment.typeOfItem
attribute defined at extensionworkflow
.- Returns:
- the typeOfItem
-
getWorkflow
@Accessor(qualifier="workflow", type=GETTER) public WorkflowModel getWorkflow()
Generated method - Getter of theWorkflowItemAttachment.workflow
attribute defined at extensionworkflow
.- Returns:
- the workflow - 1-part of WorkflowItemAttachmentRelation; references the related workflow this attachment belongs to
-
setActions
@Accessor(qualifier="actions", type=SETTER) public void setActions(java.util.Collection<WorkflowActionModel> value)
Generated method - Setter ofWorkflowItemAttachment.actions
attribute defined at extensionworkflow
.- Parameters:
value
- the actions - part of WorkflowActionItemAttachmentRelation; references specific actions of referenced workflow for which attachment is relevant for processing
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofWorkflowItemAttachment.code
attribute defined at extensionworkflow
. Can only be used at creation of model - before first save.- Parameters:
value
- the code - identifier of this attachment; will be generated if not set
-
setComment
@Accessor(qualifier="comment", type=SETTER) public void setComment(java.lang.String value)
Generated method - Setter ofWorkflowItemAttachment.comment
attribute defined at extensionworkflow
.- Parameters:
value
- the comment - a comment containing some notes either by creator or processor
-
setItem
@Accessor(qualifier="item", type=SETTER) public void setItem(ItemModel value)
Generated method - Setter ofWorkflowItemAttachment.item
attribute defined at extensionworkflow
.- Parameters:
value
- the item - the item this attachment references
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofWorkflowItemAttachment.name
attribute defined at extensionworkflow
.- Parameters:
value
- the name - name of the attachment
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofWorkflowItemAttachment.name
attribute defined at extensionworkflow
.- Parameters:
value
- the name - name of the attachmentloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setWorkflow
@Accessor(qualifier="workflow", type=SETTER) public void setWorkflow(WorkflowModel value)
Generated method - Initial setter ofWorkflowItemAttachment.workflow
attribute defined at extensionworkflow
. Can only be used at creation of model - before first save.- Parameters:
value
- the workflow - 1-part of WorkflowItemAttachmentRelation; references the related workflow this attachment belongs to
-
-