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_TYPECODEGenerated model type code constant.static java.lang.String_WORKFLOWACTIONITEMATTACHMENTRELATIONGenerated relation code constant for relationWorkflowActionItemAttachmentRelationdefining source attributeactionsin extensionworkflow.static java.lang.String_WORKFLOWITEMATTACHMENTRELATIONGenerated relation code constant for relationWorkflowItemAttachmentRelationdefining source attributeworkflowin extensionworkflow.static java.lang.StringACTIONSGenerated constant - Attribute key ofWorkflowItemAttachment.actionsattribute defined at extensionworkflow.static java.lang.StringACTIONSTRGenerated constant - Attribute key ofWorkflowItemAttachment.actionStrattribute defined at extensionworkflow.static java.lang.StringCODEGenerated constant - Attribute key ofWorkflowItemAttachment.codeattribute defined at extensionworkflow.static java.lang.StringCOMMENTGenerated constant - Attribute key ofWorkflowItemAttachment.commentattribute defined at extensionworkflow.static java.lang.StringITEMGenerated constant - Attribute key ofWorkflowItemAttachment.itemattribute defined at extensionworkflow.static java.lang.StringNAMEGenerated constant - Attribute key ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.static java.lang.StringTYPEOFITEMGenerated constant - Attribute key ofWorkflowItemAttachment.typeOfItemattribute defined at extensionworkflow.static java.lang.StringWORKFLOWGenerated constant - Attribute key ofWorkflowItemAttachment.workflowattribute defined at extensionworkflow.static java.lang.StringWORKFLOWPOSGenerated constant - Attribute key ofWorkflowItemAttachment.workflowPOSattribute 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.actionsattribute defined at extensionworkflow.java.lang.StringgetActionStr()Generated method - Getter of theWorkflowItemAttachment.actionStrattribute defined at extensionworkflow.java.lang.StringgetCode()Generated method - Getter of theWorkflowItemAttachment.codeattribute defined at extensionworkflow.java.lang.StringgetComment()Generated method - Getter of theWorkflowItemAttachment.commentattribute defined at extensionworkflow.ItemModelgetItem()Generated method - Getter of theWorkflowItemAttachment.itemattribute defined at extensionworkflow.java.lang.StringgetName()Generated method - Getter of theWorkflowItemAttachment.nameattribute defined at extensionworkflow.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theWorkflowItemAttachment.nameattribute defined at extensionworkflow.ComposedTypeModelgetTypeOfItem()Generated method - Getter of theWorkflowItemAttachment.typeOfItemattribute defined at extensionworkflow.WorkflowModelgetWorkflow()Generated method - Getter of theWorkflowItemAttachment.workflowattribute defined at extensionworkflow.voidsetActions(java.util.Collection<WorkflowActionModel> value)Generated method - Setter ofWorkflowItemAttachment.actionsattribute defined at extensionworkflow.voidsetCode(java.lang.String value)Generated method - Initial setter ofWorkflowItemAttachment.codeattribute defined at extensionworkflow.voidsetComment(java.lang.String value)Generated method - Setter ofWorkflowItemAttachment.commentattribute defined at extensionworkflow.voidsetItem(ItemModel value)Generated method - Setter ofWorkflowItemAttachment.itemattribute defined at extensionworkflow.voidsetName(java.lang.String value)Generated method - Setter ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.voidsetWorkflow(WorkflowModel value)Generated method - Initial setter ofWorkflowItemAttachment.workflowattribute 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 relationWorkflowItemAttachmentRelationdefining source attributeworkflowin extensionworkflow.- See Also:
- Constant Field Values
-
_WORKFLOWACTIONITEMATTACHMENTRELATION
public static final java.lang.String _WORKFLOWACTIONITEMATTACHMENTRELATION
Generated relation code constant for relationWorkflowActionItemAttachmentRelationdefining source attributeactionsin extensionworkflow.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofWorkflowItemAttachment.codeattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Generated constant - Attribute key ofWorkflowItemAttachment.commentattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
ITEM
public static final java.lang.String ITEM
Generated constant - Attribute key ofWorkflowItemAttachment.itemattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
TYPEOFITEM
public static final java.lang.String TYPEOFITEM
Generated constant - Attribute key ofWorkflowItemAttachment.typeOfItemattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
ACTIONSTR
public static final java.lang.String ACTIONSTR
Generated constant - Attribute key ofWorkflowItemAttachment.actionStrattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
WORKFLOWPOS
public static final java.lang.String WORKFLOWPOS
Generated constant - Attribute key ofWorkflowItemAttachment.workflowPOSattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
WORKFLOW
public static final java.lang.String WORKFLOW
Generated constant - Attribute key ofWorkflowItemAttachment.workflowattribute defined at extensionworkflow.- See Also:
- Constant Field Values
-
ACTIONS
public static final java.lang.String ACTIONS
Generated constant - Attribute key ofWorkflowItemAttachment.actionsattribute 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 typeWorkflowItemAttachmentat extensionworkflow_workflow- initial attribute declared by typeWorkflowItemAttachmentat 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 typeWorkflowItemAttachmentat extensionworkflow_item- initial attribute declared by typeWorkflowItemAttachmentat extensionworkflow_owner- initial attribute declared by typeItemat extensioncore_workflow- initial attribute declared by typeWorkflowItemAttachmentat extensionworkflow
-
-
Method Detail
-
getActions
@Accessor(qualifier="actions", type=GETTER) public java.util.Collection<WorkflowActionModel> getActions()
Generated method - Getter of theWorkflowItemAttachment.actionsattribute 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.actionStrattribute defined at extensionworkflow.- Returns:
- the actionStr
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theWorkflowItemAttachment.codeattribute 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.commentattribute 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.itemattribute 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.nameattribute 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.nameattribute 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.typeOfItemattribute defined at extensionworkflow.- Returns:
- the typeOfItem
-
getWorkflow
@Accessor(qualifier="workflow", type=GETTER) public WorkflowModel getWorkflow()
Generated method - Getter of theWorkflowItemAttachment.workflowattribute 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.actionsattribute 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.codeattribute 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.commentattribute 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.itemattribute 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.nameattribute 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.nameattribute 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.workflowattribute 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
-
-