Class SiteMessageModel

All Implemented Interfaces:
Serializable

public class SiteMessageModel extends ItemModel
Generated model class for type SiteMessage first defined at extension notificationservices.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • UID

      public static final String UID
      Generated constant - Attribute key of SiteMessage.uid attribute defined at extension notificationservices.
      See Also:
    • TITLE

      public static final String TITLE
      Generated constant - Attribute key of SiteMessage.title attribute defined at extension notificationservices.
      See Also:
    • SUBJECT

      public static final String SUBJECT
      Generated constant - Attribute key of SiteMessage.subject attribute defined at extension notificationservices.
      See Also:
    • CONTENT

      public static final String CONTENT
      Generated constant - Attribute key of SiteMessage.content attribute defined at extension notificationservices.
      See Also:
    • BODY

      public static final String BODY
      Generated constant - Attribute key of SiteMessage.body attribute defined at extension notificationservices.
      See Also:
    • EXTERNALITEM

      public static final String EXTERNALITEM
      Generated constant - Attribute key of SiteMessage.externalItem attribute defined at extension notificationservices.
      See Also:
    • TYPE

      public static final String TYPE
      Generated constant - Attribute key of SiteMessage.type attribute defined at extension notificationservices.
      See Also:
    • NOTIFICATIONTYPE

      public static final String NOTIFICATIONTYPE
      Generated constant - Attribute key of SiteMessage.notificationType attribute defined at extension notificationservices.
      See Also:
  • Constructor Details

    • SiteMessageModel

      public SiteMessageModel()
      Generated constructor - Default constructor for generic creation.
    • SiteMessageModel

      public SiteMessageModel(ItemModelContext ctx)
      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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _type - initial attribute declared by type SiteMessage at extension notificationservices
      _uid - initial attribute declared by type SiteMessage at extension notificationservices
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _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 notificationservices
  • Method Details

    • getBody

      @Accessor(qualifier="body", type=GETTER) public String getBody()
      Generated method - Getter of the SiteMessage.body attribute defined at extension notificationservices.
      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 1905
      Generated method - Getter of the SiteMessage.content attribute defined at extension notificationservices.
      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 the SiteMessage.content attribute defined at extension notificationservices.
      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

      @Accessor(qualifier="externalItem", type=GETTER) public ItemModel getExternalItem()
      Generated method - Getter of the SiteMessage.externalItem attribute defined at extension notificationservices.
      Returns:
      the externalItem
    • getNotificationType

      @Accessor(qualifier="notificationType", type=GETTER) public NotificationType getNotificationType()
      Generated method - Getter of the SiteMessage.notificationType attribute defined at extension notificationservices.
      Returns:
      the notificationType
    • getSubject

      @Accessor(qualifier="subject", type=GETTER) public String getSubject()
      Generated method - Getter of the SiteMessage.subject attribute defined at extension notificationservices.
      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 1905
      Generated method - Getter of the SiteMessage.title attribute defined at extension notificationservices.
      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 the SiteMessage.title attribute defined at extension notificationservices.
      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

      @Accessor(qualifier="type", type=GETTER) public SiteMessageType getType()
      Generated method - Getter of the SiteMessage.type attribute defined at extension notificationservices.
      Returns:
      the type
    • getUid

      @Accessor(qualifier="uid", type=GETTER) public String getUid()
      Generated method - Getter of the SiteMessage.uid attribute defined at extension notificationservices.
      Returns:
      the uid
    • setBody

      @Accessor(qualifier="body", type=SETTER) public void setBody(String value)
      Generated method - Setter of SiteMessage.body attribute defined at extension notificationservices.
      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 1905
      Generated method - Setter of SiteMessage.content attribute defined at extension notificationservices.
      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 of SiteMessage.content attribute defined at extension notificationservices.
      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

      @Accessor(qualifier="externalItem", type=SETTER) public void setExternalItem(ItemModel value)
      Generated method - Setter of SiteMessage.externalItem attribute defined at extension notificationservices.
      Parameters:
      value - the externalItem
    • setNotificationType

      @Accessor(qualifier="notificationType", type=SETTER) public void setNotificationType(NotificationType value)
      Generated method - Setter of SiteMessage.notificationType attribute defined at extension notificationservices.
      Parameters:
      value - the notificationType
    • setSubject

      @Accessor(qualifier="subject", type=SETTER) public void setSubject(String value)
      Generated method - Setter of SiteMessage.subject attribute defined at extension notificationservices.
      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 1905
      Generated method - Setter of SiteMessage.title attribute defined at extension notificationservices.
      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 of SiteMessage.title attribute defined at extension notificationservices.
      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

      @Accessor(qualifier="type", type=SETTER) public void setType(SiteMessageType value)
      Generated method - Setter of SiteMessage.type attribute defined at extension notificationservices.
      Parameters:
      value - the type
    • setUid

      @Accessor(qualifier="uid", type=SETTER) public void setUid(String value)
      Generated method - Setter of SiteMessage.uid attribute defined at extension notificationservices.
      Parameters:
      value - the uid