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:
java.io.Serializable
public class CMSWorkflowCommentModel extends CommentModel
Generated model class for type CMSWorkflowComment first defined at extension cms2.- 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.StringDECISIONGenerated constant - Attribute key ofCMSWorkflowComment.decisionattribute defined at extensioncms2.-
Fields inherited from class de.hybris.platform.comments.model.CommentModel
ASSIGNEDTO, CODE, COMMENTAUTHOREMAIL, COMMENTMETADATA, COMMENTTYPE, COMPONENT, PRIORITY, RELATEDITEMS, REPLIES, WATCHERS
-
Fields inherited from class de.hybris.platform.comments.model.AbstractCommentModel
_COMMENTUSERSETTINGABSTRACTCOMMENTRELATION, ATTACHMENTS, AUTHOR, COMMENTUSERSETTINGS, SUBJECT, TEXT
-
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 CMSWorkflowCommentModel()Generated constructor - Default constructor for generic creation.CMSWorkflowCommentModel(UserModel _author, CommentTypeModel _commentType, ComponentModel _component, ItemModel _owner, java.lang.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, java.lang.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(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowDecisionModelgetDecision()Generated 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, getCommentAuthorEmail, getCommentMetadata, getCommentType, getComponent, getPriority, getRelatedItems, getReplies, getWatchers, setAssignedTo, setCode, setCommentAuthorEmail, setCommentMetadata, setCommentType, setComponent, setPriority, setRelatedItems, setReplies, setWatchers
-
Methods inherited from class de.hybris.platform.comments.model.AbstractCommentModel
getAttachments, getAuthor, getSubject, getText, setAttachments, setAuthor, setSubject, setText
-
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
-
DECISION
public static final java.lang.String DECISION
Generated constant - Attribute key ofCMSWorkflowComment.decisionattribute defined at extensioncms2.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CMSWorkflowCommentModel
public CMSWorkflowCommentModel()
Generated constructor - Default constructor for generic creation.
-
CMSWorkflowCommentModel
public CMSWorkflowCommentModel(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, java.lang.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, java.lang.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 Detail
-
getDecision
@Accessor(qualifier="decision", type=GETTER) public WorkflowDecisionModel getDecision()
Generated method - Getter of theCMSWorkflowComment.decisionattribute defined at extensioncms2.- Returns:
- the decision - Decision that generated a comment
-
setDecision
@Accessor(qualifier="decision", type=SETTER) public void setDecision(WorkflowDecisionModel value)
Generated method - Setter ofCMSWorkflowComment.decisionattribute defined at extensioncms2.- Parameters:
value- the decision - Decision that generated a comment
-
-