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:
Serializable
Generated model class for type WorkflowItemAttachment 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 relationWorkflowActionItemAttachmentRelationdefining source attributeactionsin extensionworkflow.static final StringGenerated relation code constant for relationWorkflowItemAttachmentRelationdefining source attributeworkflowin extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowItemAttachment.actionsattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowItemAttachment.actionStrattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowItemAttachment.codeattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowItemAttachment.commentattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowItemAttachment.itemattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowItemAttachment.typeOfItemattribute defined at extensionworkflow.static final StringGenerated constant - Attribute key ofWorkflowItemAttachment.workflowattribute defined at extensionworkflow.static final StringGenerated 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, 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.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 - Default constructor for creation with existing contextWorkflowItemAttachmentModel(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theWorkflowItemAttachment.actionsattribute defined at extensionworkflow.Generated method - Getter of theWorkflowItemAttachment.actionStrattribute defined at extensionworkflow.getCode()Generated method - Getter of theWorkflowItemAttachment.codeattribute defined at extensionworkflow.Generated method - Getter of theWorkflowItemAttachment.commentattribute defined at extensionworkflow.getItem()Generated method - Getter of theWorkflowItemAttachment.itemattribute defined at extensionworkflow.getName()Generated method - Getter of theWorkflowItemAttachment.nameattribute defined at extensionworkflow.Generated method - Getter of theWorkflowItemAttachment.nameattribute defined at extensionworkflow.Generated method - Getter of theWorkflowItemAttachment.typeOfItemattribute defined at extensionworkflow.Generated method - Getter of theWorkflowItemAttachment.workflowattribute defined at extensionworkflow.voidsetActions(Collection<WorkflowActionModel> value) Generated method - Setter ofWorkflowItemAttachment.actionsattribute defined at extensionworkflow.voidGenerated method - Initial setter ofWorkflowItemAttachment.codeattribute defined at extensionworkflow.voidsetComment(String value) Generated method - Setter ofWorkflowItemAttachment.commentattribute defined at extensionworkflow.voidGenerated method - Setter ofWorkflowItemAttachment.itemattribute defined at extensionworkflow.voidGenerated method - Setter ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.voidGenerated 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, setOwnerMethods 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:
-
_WORKFLOWITEMATTACHMENTRELATION
Generated relation code constant for relationWorkflowItemAttachmentRelationdefining source attributeworkflowin extensionworkflow.- See Also:
-
_WORKFLOWACTIONITEMATTACHMENTRELATION
Generated relation code constant for relationWorkflowActionItemAttachmentRelationdefining source attributeactionsin extensionworkflow.- See Also:
-
CODE
Generated constant - Attribute key ofWorkflowItemAttachment.codeattribute defined at extensionworkflow.- See Also:
-
NAME
Generated constant - Attribute key ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.- See Also:
-
COMMENT
Generated constant - Attribute key ofWorkflowItemAttachment.commentattribute defined at extensionworkflow.- See Also:
-
ITEM
Generated constant - Attribute key ofWorkflowItemAttachment.itemattribute defined at extensionworkflow.- See Also:
-
TYPEOFITEM
Generated constant - Attribute key ofWorkflowItemAttachment.typeOfItemattribute defined at extensionworkflow.- See Also:
-
ACTIONSTR
Generated constant - Attribute key ofWorkflowItemAttachment.actionStrattribute defined at extensionworkflow.- See Also:
-
WORKFLOWPOS
Generated constant - Attribute key ofWorkflowItemAttachment.workflowPOSattribute defined at extensionworkflow.- See Also:
-
WORKFLOW
Generated constant - Attribute key ofWorkflowItemAttachment.workflowattribute defined at extensionworkflow.- See Also:
-
ACTIONS
Generated constant - Attribute key ofWorkflowItemAttachment.actionsattribute defined at extensionworkflow.- See Also:
-
-
Constructor Details
-
WorkflowItemAttachmentModel
public WorkflowItemAttachmentModel()Generated constructor - Default constructor for generic creation. -
WorkflowItemAttachmentModel
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(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 Details
-
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
Generated method - Getter of theWorkflowItemAttachment.actionStrattribute defined at extensionworkflow.- Returns:
- the actionStr
-
getCode
Generated method - Getter of theWorkflowItemAttachment.codeattribute defined at extensionworkflow.- Returns:
- the code - identifier of this attachment; will be generated if not set
-
getComment
Generated method - Getter of theWorkflowItemAttachment.commentattribute defined at extensionworkflow.- Returns:
- the comment - a comment containing some notes either by creator or processor
-
getItem
Generated method - Getter of theWorkflowItemAttachment.itemattribute defined at extensionworkflow.- Returns:
- the item - the item this attachment references
-
getName
Generated method - Getter of theWorkflowItemAttachment.nameattribute defined at extensionworkflow.- Returns:
- the name - name of the attachment
-
getName
Generated method - Getter of theWorkflowItemAttachment.nameattribute defined at extensionworkflow.- Parameters:
loc- the value localization key- Returns:
- the name - name of the attachment
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getTypeOfItem
Generated method - Getter of theWorkflowItemAttachment.typeOfItemattribute defined at extensionworkflow.- Returns:
- the typeOfItem
-
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(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
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
Generated method - Setter ofWorkflowItemAttachment.commentattribute defined at extensionworkflow.- Parameters:
value- the comment - a comment containing some notes either by creator or processor
-
setItem
Generated method - Setter ofWorkflowItemAttachment.itemattribute defined at extensionworkflow.- Parameters:
value- the item - the item this attachment references
-
setName
Generated method - Setter ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.- Parameters:
value- the name - name of the attachment
-
setName
Generated method - Setter ofWorkflowItemAttachment.nameattribute defined at extensionworkflow.- Parameters:
value- the name - name of the attachmentloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setWorkflow
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
-