public class SiteMessageModel extends ItemModel
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ATTACHMENTS
Generated constant - Attribute key of
SiteMessage.attachments attribute defined at extension financialservices. |
static java.lang.String |
CONTENT
Generated constant - Attribute key of
SiteMessage.content attribute defined at extension notificationservices. |
static java.lang.String |
EXTERNALITEM
Generated constant - Attribute key of
SiteMessage.externalItem attribute defined at extension notificationservices. |
static java.lang.String |
MESSAGEGROUPS
Generated constant - Attribute key of
SiteMessage.messageGroups attribute defined at extension financialservices. |
static java.lang.String |
MESSAGETEMPLATE
Generated constant - Attribute key of
SiteMessage.messageTemplate attribute defined at extension financialservices. |
static java.lang.String |
NOTIFICATIONTYPE
Generated constant - Attribute key of
SiteMessage.notificationType attribute defined at extension notificationservices. |
static java.lang.String |
RICHCONTENT
Generated constant - Attribute key of
SiteMessage.richContent attribute defined at extension financialservices. |
static java.lang.String |
RICHTITLE
Generated constant - Attribute key of
SiteMessage.richTitle attribute defined at extension financialservices. |
static java.lang.String |
TITLE
Generated constant - Attribute key of
SiteMessage.title attribute defined at extension notificationservices. |
static java.lang.String |
TYPE
Generated constant - Attribute key of
SiteMessage.type attribute defined at extension notificationservices. |
static java.lang.String |
UID
Generated constant - Attribute key of
SiteMessage.uid attribute defined at extension notificationservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED| Constructor and Description |
|---|
SiteMessageModel()
Generated constructor - Default constructor for generic creation.
|
SiteMessageModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
SiteMessageModel(ItemModel _owner,
SiteMessageType _type,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SiteMessageModel(SiteMessageType _type,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<MediaModel> |
getAttachments()
Generated method - Getter of the
SiteMessage.attachments attribute defined at extension financialservices. |
java.lang.String |
getContent()
Generated method - Getter of the
SiteMessage.content attribute defined at extension notificationservices. |
java.lang.String |
getContent(java.util.Locale loc)
Generated method - Getter of the
SiteMessage.content attribute defined at extension notificationservices. |
ItemModel |
getExternalItem()
Generated method - Getter of the
SiteMessage.externalItem attribute defined at extension notificationservices. |
java.util.Collection<FSSiteMessageGroupModel> |
getMessageGroups()
Generated method - Getter of the
SiteMessage.messageGroups attribute defined at extension financialservices. |
FSSiteMessageTemplateModel |
getMessageTemplate()
Generated method - Getter of the
SiteMessage.messageTemplate attribute defined at extension financialservices. |
NotificationType |
getNotificationType()
Generated method - Getter of the
SiteMessage.notificationType attribute defined at extension notificationservices. |
java.lang.String |
getRichContent()
Generated method - Getter of the
SiteMessage.richContent attribute defined at extension financialservices. |
java.lang.String |
getRichContent(java.util.Locale loc)
Generated method - Getter of the
SiteMessage.richContent attribute defined at extension financialservices. |
java.lang.String |
getRichTitle()
Generated method - Getter of the
SiteMessage.richTitle attribute defined at extension financialservices. |
java.lang.String |
getRichTitle(java.util.Locale loc)
Generated method - Getter of the
SiteMessage.richTitle attribute defined at extension financialservices. |
java.lang.String |
getTitle()
Generated method - Getter of the
SiteMessage.title attribute defined at extension notificationservices. |
java.lang.String |
getTitle(java.util.Locale loc)
Generated method - Getter of the
SiteMessage.title attribute defined at extension notificationservices. |
SiteMessageType |
getType()
Generated method - Getter of the
SiteMessage.type attribute defined at extension notificationservices. |
java.lang.String |
getUid()
Generated method - Getter of the
SiteMessage.uid attribute defined at extension notificationservices. |
void |
setAttachments(java.util.Collection<MediaModel> value)
Generated method - Setter of
SiteMessage.attachments attribute defined at extension financialservices. |
void |
setContent(java.lang.String value)
Generated method - Setter of
SiteMessage.content attribute defined at extension notificationservices. |
void |
setContent(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
SiteMessage.content attribute defined at extension notificationservices. |
void |
setExternalItem(ItemModel value)
Generated method - Setter of
SiteMessage.externalItem attribute defined at extension notificationservices. |
void |
setMessageGroups(java.util.Collection<FSSiteMessageGroupModel> value)
Generated method - Setter of
SiteMessage.messageGroups attribute defined at extension financialservices. |
void |
setMessageTemplate(FSSiteMessageTemplateModel value)
Generated method - Setter of
SiteMessage.messageTemplate attribute defined at extension financialservices. |
void |
setNotificationType(NotificationType value)
Generated method - Setter of
SiteMessage.notificationType attribute defined at extension notificationservices. |
void |
setRichContent(java.lang.String value)
Generated method - Setter of
SiteMessage.richContent attribute defined at extension financialservices. |
void |
setRichContent(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
SiteMessage.richContent attribute defined at extension financialservices. |
void |
setRichTitle(java.lang.String value)
Generated method - Setter of
SiteMessage.richTitle attribute defined at extension financialservices. |
void |
setRichTitle(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
SiteMessage.richTitle attribute defined at extension financialservices. |
void |
setTitle(java.lang.String value)
Generated method - Setter of
SiteMessage.title attribute defined at extension notificationservices. |
void |
setTitle(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
SiteMessage.title attribute defined at extension notificationservices. |
void |
setType(SiteMessageType value)
Generated method - Setter of
SiteMessage.type attribute defined at extension notificationservices. |
void |
setUid(java.lang.String value)
Generated method - Setter of
SiteMessage.uid attribute defined at extension notificationservices. |
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerpublic static final java.lang.String _TYPECODE
public static final java.lang.String UID
SiteMessage.uid attribute defined at extension notificationservices.public static final java.lang.String TITLE
SiteMessage.title attribute defined at extension notificationservices.public static final java.lang.String CONTENT
SiteMessage.content attribute defined at extension notificationservices.public static final java.lang.String EXTERNALITEM
SiteMessage.externalItem attribute defined at extension notificationservices.public static final java.lang.String TYPE
SiteMessage.type attribute defined at extension notificationservices.public static final java.lang.String NOTIFICATIONTYPE
SiteMessage.notificationType attribute defined at extension notificationservices.public static final java.lang.String MESSAGETEMPLATE
SiteMessage.messageTemplate attribute defined at extension financialservices.public static final java.lang.String RICHTITLE
SiteMessage.richTitle attribute defined at extension financialservices.public static final java.lang.String RICHCONTENT
SiteMessage.richContent attribute defined at extension financialservices.public static final java.lang.String MESSAGEGROUPS
SiteMessage.messageGroups attribute defined at extension financialservices.public static final java.lang.String ATTACHMENTS
SiteMessage.attachments attribute defined at extension financialservices.public SiteMessageModel()
public SiteMessageModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public SiteMessageModel(SiteMessageType _type, java.lang.String _uid)
_type - initial attribute declared by type SiteMessage at extension notificationservices_uid - initial attribute declared by type SiteMessage at extension notificationservices@Deprecated public SiteMessageModel(ItemModel _owner, SiteMessageType _type, java.lang.String _uid)
_owner - initial attribute declared by type Item at extension core_type - initial attribute declared by type SiteMessage at extension notificationservices_uid - initial attribute declared by type SiteMessage at extension notificationservicespublic java.util.Collection<MediaModel> getAttachments()
SiteMessage.attachments attribute defined at extension financialservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.public java.lang.String getContent()
SiteMessage.content attribute defined at extension notificationservices.public java.lang.String getContent(java.util.Locale loc)
SiteMessage.content attribute defined at extension notificationservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic ItemModel getExternalItem()
SiteMessage.externalItem attribute defined at extension notificationservices.public java.util.Collection<FSSiteMessageGroupModel> getMessageGroups()
SiteMessage.messageGroups attribute defined at extension financialservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.public FSSiteMessageTemplateModel getMessageTemplate()
SiteMessage.messageTemplate attribute defined at extension financialservices.public NotificationType getNotificationType()
SiteMessage.notificationType attribute defined at extension notificationservices.public java.lang.String getRichContent()
SiteMessage.richContent attribute defined at extension financialservices.public java.lang.String getRichContent(java.util.Locale loc)
SiteMessage.richContent attribute defined at extension financialservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic java.lang.String getRichTitle()
SiteMessage.richTitle attribute defined at extension financialservices.public java.lang.String getRichTitle(java.util.Locale loc)
SiteMessage.richTitle attribute defined at extension financialservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic java.lang.String getTitle()
SiteMessage.title attribute defined at extension notificationservices.public java.lang.String getTitle(java.util.Locale loc)
SiteMessage.title attribute defined at extension notificationservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic SiteMessageType getType()
SiteMessage.type attribute defined at extension notificationservices.public java.lang.String getUid()
SiteMessage.uid attribute defined at extension notificationservices.public void setAttachments(java.util.Collection<MediaModel> value)
SiteMessage.attachments attribute defined at extension financialservices.value - the attachmentspublic void setContent(java.lang.String value)
SiteMessage.content attribute defined at extension notificationservices.value - the contentpublic void setContent(java.lang.String value,
java.util.Locale loc)
SiteMessage.content attribute defined at extension notificationservices.value - the contentloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic void setExternalItem(ItemModel value)
SiteMessage.externalItem attribute defined at extension notificationservices.value - the externalItempublic void setMessageGroups(java.util.Collection<FSSiteMessageGroupModel> value)
SiteMessage.messageGroups attribute defined at extension financialservices.value - the messageGroupspublic void setMessageTemplate(FSSiteMessageTemplateModel value)
SiteMessage.messageTemplate attribute defined at extension financialservices.value - the messageTemplatepublic void setNotificationType(NotificationType value)
SiteMessage.notificationType attribute defined at extension notificationservices.value - the notificationTypepublic void setRichContent(java.lang.String value)
SiteMessage.richContent attribute defined at extension financialservices.value - the richContentpublic void setRichContent(java.lang.String value,
java.util.Locale loc)
SiteMessage.richContent attribute defined at extension financialservices.value - the richContentloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic void setRichTitle(java.lang.String value)
SiteMessage.richTitle attribute defined at extension financialservices.value - the richTitlepublic void setRichTitle(java.lang.String value,
java.util.Locale loc)
SiteMessage.richTitle attribute defined at extension financialservices.value - the richTitleloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic void setTitle(java.lang.String value)
SiteMessage.title attribute defined at extension notificationservices.value - the titlepublic void setTitle(java.lang.String value,
java.util.Locale loc)
SiteMessage.title attribute defined at extension notificationservices.value - the titleloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data languagepublic void setType(SiteMessageType value)
SiteMessage.type attribute defined at extension notificationservices.value - the typepublic void setUid(java.lang.String value)
SiteMessage.uid attribute defined at extension notificationservices.value - the uidCopyright © 2018 SAP SE. All Rights Reserved.