Class CommentUserSettingModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.comments.model.CommentUserSettingModel
- All Implemented Interfaces:
Serializable
Generated model class for type CommentUserSetting first defined at extension comments.
- 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 ofCommentUserSetting.commentattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofCommentUserSetting.ignoredattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofCommentUserSetting.priorityattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofCommentUserSetting.readattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofCommentUserSetting.userattribute defined at extensioncomments.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.CommentUserSettingModel(AbstractCommentModel _comment, ItemModel _owner, UserModel _user) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCommentUserSettingModel(AbstractCommentModel _comment, UserModel _user) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCommentUserSettingModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCommentUserSetting.commentattribute defined at extensioncomments.Generated method - Getter of theCommentUserSetting.ignoredattribute defined at extensioncomments.Generated method - Getter of theCommentUserSetting.priorityattribute defined at extensioncomments.getRead()Generated method - Getter of theCommentUserSetting.readattribute defined at extensioncomments.getUser()Generated method - Getter of theCommentUserSetting.userattribute defined at extensioncomments.voidsetComment(AbstractCommentModel value) Generated method - Initial setter ofCommentUserSetting.commentattribute defined at extensioncomments.voidsetIgnored(Boolean value) Generated method - Setter ofCommentUserSetting.ignoredattribute defined at extensioncomments.voidsetPriority(Integer value) Generated method - Setter ofCommentUserSetting.priorityattribute defined at extensioncomments.voidGenerated method - Setter ofCommentUserSetting.readattribute defined at extensioncomments.voidGenerated method - Initial setter ofCommentUserSetting.userattribute defined at extensioncomments.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:
-
READ
Generated constant - Attribute key ofCommentUserSetting.readattribute defined at extensioncomments.- See Also:
-
IGNORED
Generated constant - Attribute key ofCommentUserSetting.ignoredattribute defined at extensioncomments.- See Also:
-
PRIORITY
Generated constant - Attribute key ofCommentUserSetting.priorityattribute defined at extensioncomments.- See Also:
-
COMMENT
Generated constant - Attribute key ofCommentUserSetting.commentattribute defined at extensioncomments.- See Also:
-
USER
Generated constant - Attribute key ofCommentUserSetting.userattribute defined at extensioncomments.- See Also:
-
-
Constructor Details
-
CommentUserSettingModel
public CommentUserSettingModel()Generated constructor - Default constructor for generic creation. -
CommentUserSettingModel
public CommentUserSettingModel(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
-
CommentUserSettingModel
@Deprecated(since="4.1.1", forRemoval=true) public CommentUserSettingModel(AbstractCommentModel _comment, UserModel _user) 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:
_comment- initial attribute declared by typeCommentUserSettingat extensioncomments_user- initial attribute declared by typeCommentUserSettingat extensioncomments
-
CommentUserSettingModel
@Deprecated(since="4.1.1", forRemoval=true) public CommentUserSettingModel(AbstractCommentModel _comment, ItemModel _owner, UserModel _user) 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:
_comment- initial attribute declared by typeCommentUserSettingat extensioncomments_owner- initial attribute declared by typeItemat extensioncore_user- initial attribute declared by typeCommentUserSettingat extensioncomments
-
-
Method Details
-
getComment
Generated method - Getter of theCommentUserSetting.commentattribute defined at extensioncomments.- Returns:
- the comment
-
getIgnored
Generated method - Getter of theCommentUserSetting.ignoredattribute defined at extensioncomments.- Returns:
- the ignored
-
getPriority
Generated method - Getter of theCommentUserSetting.priorityattribute defined at extensioncomments.- Returns:
- the priority
-
getRead
Generated method - Getter of theCommentUserSetting.readattribute defined at extensioncomments.- Returns:
- the read
-
getUser
Generated method - Getter of theCommentUserSetting.userattribute defined at extensioncomments.- Returns:
- the user
-
setComment
Generated method - Initial setter ofCommentUserSetting.commentattribute defined at extensioncomments. Can only be used at creation of model - before first save.- Parameters:
value- the comment
-
setIgnored
Generated method - Setter ofCommentUserSetting.ignoredattribute defined at extensioncomments.- Parameters:
value- the ignored
-
setPriority
Generated method - Setter ofCommentUserSetting.priorityattribute defined at extensioncomments.- Parameters:
value- the priority
-
setRead
Generated method - Setter ofCommentUserSetting.readattribute defined at extensioncomments.- Parameters:
value- the read
-
setUser
Generated method - Initial setter ofCommentUserSetting.userattribute defined at extensioncomments. Can only be used at creation of model - before first save.- Parameters:
value- the user
-