Class LocalTemplate

java.lang.Object
oracle.iam.notification.vo.LocalTemplate
All Implemented Interfaces:
Serializable

public class LocalTemplate extends Object implements Serializable
This object represents the Notification template in a locale
Author:
saggarwa
See Also:
  • Constructor Details

    • LocalTemplate

      public LocalTemplate()
      Default Constructor
  • Method Details

    • getAttachmentsCollection

      public List<Attachments> getAttachmentsCollection()
      Provides List of attachments with locale template
      Returns:
      List of attachments with locale template
    • getContenttype

      public String getContenttype()
      Provides Content type i.e. HTML or Plain Text
      Returns:
      Content type i.e. HTML or Plain Text
    • getId

      public Long getId()
      Provides ID of locale template
      Returns:
      ID of locale template
    • getLocale

      public String getLocale()
      Provides locale of template
      Returns:
      locale of template
    • getLongmessage

      public String getLongmessage()
      Provides Templates's message body in given locale
      Returns:
      Templates's message body in given locale
    • getNotificationtemplate

      public NotificationTemplate getNotificationtemplate()
      Provides base notification template object
      Returns:
      Base notification template object
    • getShortmessage

      public String getShortmessage()
      Provides Template's short message in given locale
      Returns:
      Template's short message in given locale
    • getSubject

      public String getSubject()
      Provides Template's message subject in given locale
      Returns:
      Template's message subject in given locale
    • getEncoding

      public String getEncoding()
      Provides Template's encoding.
      Returns:
      Template's encoding. Supported encodings are: ISO-8859-1, US-ASCII, WINDOWS-1252, ISO-8859-15, UTF-8
    • setEncoding

      public void setEncoding(String encoding)
      Set Template's encoding. Supported encodings are: ISO-8859-1, US-ASCII, WINDOWS-1252, ISO-8859-15, UTF-8
      Parameters:
      encoding - Template's encoding.
    • removeAttachments

      public void removeAttachments(Attachments anAttachments)
      Remove attachments in given locale template
      Parameters:
      anAttachments - Attachments in given locale template
    • setAttachmentsCollection

      public void setAttachmentsCollection(List<Attachments> attachmentsCollection)
      Set attachments in given locale template
      Parameters:
      attachmentsCollection - List of attachments in given locale template
    • setContenttype

      public void setContenttype(String contenttype)
      Set content type of template i.e. HTML or Plain Text
      Parameters:
      contenttype - Content type of template i.e. HTML or Plain Text
    • setId

      public void setId(Long id)
      Set locale template ID
      Parameters:
      id - Locale template ID
    • setId

      public void setId(String sid)
      Set locale template ID
      Parameters:
      sid - Locale template ID
    • setLocale

      public void setLocale(String locale)
      Set locale of a template
      Parameters:
      locale - Locale of a template
    • setLongmessage

      public void setLongmessage(String longmessage)
      Set template's message body in given locale
      Parameters:
      longmessage - Template's message body in given locale
    • setNotificationTemplate

      public void setNotificationTemplate(NotificationTemplate notificationtemplate)
      Set base notification template object
      Parameters:
      notificationtemplate - Base notification template object
    • setShortmessage

      public void setShortmessage(String shortmessage)
      Set template's short message in given locale
      Parameters:
      shortmessage - Template's short message in given locale
    • setSubject

      public void setSubject(String subject)
      Set template's message subject in given locale
      Parameters:
      subject - Template's message subject in given locale
    • getDatalevel

      public Double getDatalevel()
      Provides Data Level of the locale template
      Returns:
      data level of the locale template
    • setDatalevel

      public void setDatalevel(Double datalevel)
      Sets Data Level of the locale template
      Parameters:
      datalevel - value of the data level to be set
    • getCreationdate

      public Timestamp getCreationdate()
      Provides Date of creation of a template in a locale
      Returns:
      Date of creation of a template in a locale
    • setCreationdate

      public void setCreationdate(Timestamp creationdate)
      Set Date of creation of a template in a locale
      Parameters:
      creationdate - Date of creation of a template in a locale
    • getLastupdated

      public Timestamp getLastupdated()
      Provides Date of last update done against a template in a locale
      Returns:
      Date of last update done against a template in a locale
    • setLastupdated

      public void setLastupdated(Timestamp lastupdated)
      Set the date on which last update is performed on a template in a locale
      Parameters:
      lastupdated - Date on which last update is performed on a template in a locale
    • getLastuser

      public String getLastuser()
      Provides UserID of an user who has made last update on a template in a locale
      Returns:
      UserID of an user who has made last update on a template in a locale
    • setLastuser

      public void setLastuser(String lastuser)
      Set UserID of an user who has made last update on a template in a locale
      Parameters:
      lastuser - UserID of an user who has made last update on a template in a locale
    • getCreateuser

      public String getCreateuser()
      Provides UserID of an user who has created a template in a locale
      Returns:
      UserID of an user who has created a template in a locale
    • setCreateuser

      public void setCreateuser(String createuser)
      Set UserID of an user who has created a template in a locale
      Parameters:
      createuser - UserID of an user who has created a template in a locale
    • setDatalevel

      public void setDatalevel(String datalevel)
      Sets Data Level of the locale template
      Parameters:
      datalevel - value of the data level to be set