Class SiteMessageModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.notificationservices.model.SiteMessageModel
- All Implemented Interfaces:
Serializable
Generated model class for type SiteMessage first defined at extension notificationservices.
- 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 constant - Attribute key ofSiteMessage.bodyattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessage.contentattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessage.externalItemattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessage.notificationTypeattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessage.subjectattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessage.titleattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessage.typeattribute defined at extensionnotificationservices.static final StringGenerated constant - Attribute key ofSiteMessage.uidattribute defined at extensionnotificationservices.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.SiteMessageModel(ItemModel _owner, SiteMessageType _type, String _uid) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSiteMessageModel(SiteMessageType _type, String _uid) 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 context -
Method Summary
Modifier and TypeMethodDescriptiongetBody()Generated method - Getter of theSiteMessage.bodyattribute defined at extensionnotificationservices.Deprecated, for removal: This API element is subject to removal in a future version.since 1905getContent(Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSiteMessage.externalItemattribute defined at extensionnotificationservices.Generated method - Getter of theSiteMessage.notificationTypeattribute defined at extensionnotificationservices.Generated method - Getter of theSiteMessage.subjectattribute defined at extensionnotificationservices.getTitle()Deprecated, for removal: This API element is subject to removal in a future version.since 1905Deprecated, for removal: This API element is subject to removal in a future version.getType()Generated method - Getter of theSiteMessage.typeattribute defined at extensionnotificationservices.getUid()Generated method - Getter of theSiteMessage.uidattribute defined at extensionnotificationservices.voidGenerated method - Setter ofSiteMessage.bodyattribute defined at extensionnotificationservices.voidsetContent(String value) Deprecated, for removal: This API element is subject to removal in a future version.since 1905voidsetContent(String value, Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.voidsetExternalItem(ItemModel value) Generated method - Setter ofSiteMessage.externalItemattribute defined at extensionnotificationservices.voidGenerated method - Setter ofSiteMessage.notificationTypeattribute defined at extensionnotificationservices.voidsetSubject(String value) Generated method - Setter ofSiteMessage.subjectattribute defined at extensionnotificationservices.voidDeprecated, for removal: This API element is subject to removal in a future version.since 1905voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetType(SiteMessageType value) Generated method - Setter ofSiteMessage.typeattribute defined at extensionnotificationservices.voidGenerated method - Setter ofSiteMessage.uidattribute defined at extensionnotificationservices.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:
-
UID
Generated constant - Attribute key ofSiteMessage.uidattribute defined at extensionnotificationservices.- See Also:
-
TITLE
Generated constant - Attribute key ofSiteMessage.titleattribute defined at extensionnotificationservices.- See Also:
-
SUBJECT
Generated constant - Attribute key ofSiteMessage.subjectattribute defined at extensionnotificationservices.- See Also:
-
CONTENT
Generated constant - Attribute key ofSiteMessage.contentattribute defined at extensionnotificationservices.- See Also:
-
BODY
Generated constant - Attribute key ofSiteMessage.bodyattribute defined at extensionnotificationservices.- See Also:
-
EXTERNALITEM
Generated constant - Attribute key ofSiteMessage.externalItemattribute defined at extensionnotificationservices.- See Also:
-
TYPE
Generated constant - Attribute key ofSiteMessage.typeattribute defined at extensionnotificationservices.- See Also:
-
NOTIFICATIONTYPE
Generated constant - Attribute key ofSiteMessage.notificationTypeattribute defined at extensionnotificationservices.- See Also:
-
-
Constructor Details
-
SiteMessageModel
public SiteMessageModel()Generated constructor - Default constructor for generic creation. -
SiteMessageModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SiteMessageModel
@Deprecated(since="4.1.1", forRemoval=true) public SiteMessageModel(SiteMessageType _type, String _uid) 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:
_type- initial attribute declared by typeSiteMessageat extensionnotificationservices_uid- initial attribute declared by typeSiteMessageat extensionnotificationservices
-
SiteMessageModel
@Deprecated(since="4.1.1", forRemoval=true) public SiteMessageModel(ItemModel _owner, SiteMessageType _type, String _uid) 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:
_owner- initial attribute declared by typeItemat extensioncore_type- initial attribute declared by typeSiteMessageat extensionnotificationservices_uid- initial attribute declared by typeSiteMessageat extensionnotificationservices
-
-
Method Details
-
getBody
Generated method - Getter of theSiteMessage.bodyattribute defined at extensionnotificationservices.- Returns:
- the body
-
getContent
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="content", type=GETTER) public String getContent()Deprecated, for removal: This API element is subject to removal in a future version.since 1905Generated method - Getter of theSiteMessage.contentattribute defined at extensionnotificationservices.- Returns:
- the content - Deprecated since 1905, will be replace by body.
-
getContent
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="content", type=GETTER) public String getContent(Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSiteMessage.contentattribute defined at extensionnotificationservices.- Parameters:
loc- the value localization key- Returns:
- the content - Deprecated since 1905, will be replace by body.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getExternalItem
Generated method - Getter of theSiteMessage.externalItemattribute defined at extensionnotificationservices.- Returns:
- the externalItem
-
getNotificationType
Generated method - Getter of theSiteMessage.notificationTypeattribute defined at extensionnotificationservices.- Returns:
- the notificationType
-
getSubject
Generated method - Getter of theSiteMessage.subjectattribute defined at extensionnotificationservices.- Returns:
- the subject
-
getTitle
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="title", type=GETTER) public String getTitle()Deprecated, for removal: This API element is subject to removal in a future version.since 1905Generated method - Getter of theSiteMessage.titleattribute defined at extensionnotificationservices.- Returns:
- the title - Deprecated since 1905, will be replace by subject.
-
getTitle
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theSiteMessage.titleattribute defined at extensionnotificationservices.- Parameters:
loc- the value localization key- Returns:
- the title - Deprecated since 1905, will be replace by subject.
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getType
Generated method - Getter of theSiteMessage.typeattribute defined at extensionnotificationservices.- Returns:
- the type
-
getUid
Generated method - Getter of theSiteMessage.uidattribute defined at extensionnotificationservices.- Returns:
- the uid
-
setBody
Generated method - Setter ofSiteMessage.bodyattribute defined at extensionnotificationservices.- Parameters:
value- the body
-
setContent
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="content", type=SETTER) public void setContent(String value) Deprecated, for removal: This API element is subject to removal in a future version.since 1905Generated method - Setter ofSiteMessage.contentattribute defined at extensionnotificationservices.- Parameters:
value- the content - Deprecated since 1905, will be replace by body.
-
setContent
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="content", type=SETTER) public void setContent(String value, Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSiteMessage.contentattribute defined at extensionnotificationservices.- Parameters:
value- the content - Deprecated since 1905, will be replace by body.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setExternalItem
Generated method - Setter ofSiteMessage.externalItemattribute defined at extensionnotificationservices.- Parameters:
value- the externalItem
-
setNotificationType
@Accessor(qualifier="notificationType", type=SETTER) public void setNotificationType(NotificationType value) Generated method - Setter ofSiteMessage.notificationTypeattribute defined at extensionnotificationservices.- Parameters:
value- the notificationType
-
setSubject
Generated method - Setter ofSiteMessage.subjectattribute defined at extensionnotificationservices.- Parameters:
value- the subject
-
setTitle
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="title", type=SETTER) public void setTitle(String value) Deprecated, for removal: This API element is subject to removal in a future version.since 1905Generated method - Setter ofSiteMessage.titleattribute defined at extensionnotificationservices.- Parameters:
value- the title - Deprecated since 1905, will be replace by subject.
-
setTitle
@Deprecated(since="1905", forRemoval=true) @Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofSiteMessage.titleattribute defined at extensionnotificationservices.- Parameters:
value- the title - Deprecated since 1905, will be replace by subject.loc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setType
Generated method - Setter ofSiteMessage.typeattribute defined at extensionnotificationservices.- Parameters:
value- the type
-
setUid
Generated method - Setter ofSiteMessage.uidattribute defined at extensionnotificationservices.- Parameters:
value- the uid
-