Package de.hybris.platform.cms2.model
Class CMSWorkflowCommentModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.comments.model.AbstractCommentModel
de.hybris.platform.comments.model.CommentModel
de.hybris.platform.cms2.model.CMSWorkflowCommentModel
- All Implemented Interfaces:
Serializable
Generated model class for type CMSWorkflowComment first defined at extension cms2.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCMSWorkflowComment.decisionattribute defined at extensioncms2.Fields inherited from class de.hybris.platform.comments.model.CommentModel
ASSIGNEDTO, CODE, COMMENTTYPE, COMPONENT, PRIORITY, RELATEDITEMS, REPLIES, WATCHERSFields inherited from class de.hybris.platform.comments.model.AbstractCommentModel
_COMMENTUSERSETTINGABSTRACTCOMMENTRELATION, ATTACHMENTS, AUTHOR, COMMENTUSERSETTINGS, SUBJECT, TEXTFields 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.CMSWorkflowCommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, ItemModel _owner, String _text) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCMSWorkflowCommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, String _text) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCMSWorkflowCommentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCMSWorkflowComment.decisionattribute defined at extensioncms2.voidsetDecision(WorkflowDecisionModel value) Generated method - Setter ofCMSWorkflowComment.decisionattribute defined at extensioncms2.Methods inherited from class de.hybris.platform.comments.model.CommentModel
getAssignedTo, getCode, getCommentType, getComponent, getPriority, getRelatedItems, getReplies, getWatchers, setAssignedTo, setCode, setCommentType, setComponent, setPriority, setRelatedItems, setReplies, setWatchersMethods inherited from class de.hybris.platform.comments.model.AbstractCommentModel
getAttachments, getAuthor, getSubject, getText, setAttachments, setAuthor, setSubject, setTextMethods 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:
-
DECISION
Generated constant - Attribute key ofCMSWorkflowComment.decisionattribute defined at extensioncms2.- See Also:
-
-
Constructor Details
-
CMSWorkflowCommentModel
public CMSWorkflowCommentModel()Generated constructor - Default constructor for generic creation. -
CMSWorkflowCommentModel
public CMSWorkflowCommentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CMSWorkflowCommentModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSWorkflowCommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, String _text) 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:
_author- initial attribute declared by typeAbstractCommentat extensioncomments_commentType- initial attribute declared by typeCommentat extensioncomments_component- initial attribute declared by typeCommentat extensioncomments_text- initial attribute declared by typeAbstractCommentat extensioncomments
-
CMSWorkflowCommentModel
@Deprecated(since="4.1.1", forRemoval=true) public CMSWorkflowCommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, ItemModel _owner, String _text) 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:
_author- initial attribute declared by typeAbstractCommentat extensioncomments_commentType- initial attribute declared by typeCommentat extensioncomments_component- initial attribute declared by typeCommentat extensioncomments_owner- initial attribute declared by typeItemat extensioncore_text- initial attribute declared by typeAbstractCommentat extensioncomments
-
-
Method Details
-
getDecision
Generated method - Getter of theCMSWorkflowComment.decisionattribute defined at extensioncms2.- Returns:
- the decision - Decision that generated a comment
-
setDecision
Generated method - Setter ofCMSWorkflowComment.decisionattribute defined at extensioncms2.- Parameters:
value- the decision - Decision that generated a comment
-