Class X_R_MailText

    • Constructor Detail

      • X_R_MailText

        public X_R_MailText​(Properties ctx,
                            int R_MailText_ID,
                            String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        7 - System - Client - Org
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setIsHtml

        public void setIsHtml​(boolean IsHtml)
        Set HTML.
        Specified by:
        setIsHtml in interface I_R_MailText
        Parameters:
        IsHtml - Text has HTML tags
      • isHtml

        public boolean isHtml()
        Get HTML.
        Specified by:
        isHtml in interface I_R_MailText
        Returns:
        Text has HTML tags
      • setMailHeader

        public void setMailHeader​(String MailHeader)
        Set Subject.
        Specified by:
        setMailHeader in interface I_R_MailText
        Parameters:
        MailHeader - Mail Header (Subject)
      • setMailText

        public void setMailText​(String MailText)
        Set Mail Text.
        Specified by:
        setMailText in interface I_R_MailText
        Parameters:
        MailText - Text used for Mail message
      • getMailText

        public String getMailText()
        Get Mail Text.
        Specified by:
        getMailText in interface I_R_MailText
        Returns:
        Text used for Mail message
      • setMailText2

        public void setMailText2​(String MailText2)
        Set Mail Text 2.
        Specified by:
        setMailText2 in interface I_R_MailText
        Parameters:
        MailText2 - Optional second text part used for Mail message
      • getMailText2

        public String getMailText2()
        Get Mail Text 2.
        Specified by:
        getMailText2 in interface I_R_MailText
        Returns:
        Optional second text part used for Mail message
      • setMailText3

        public void setMailText3​(String MailText3)
        Set Mail Text 3.
        Specified by:
        setMailText3 in interface I_R_MailText
        Parameters:
        MailText3 - Optional third text part used for Mail message
      • getMailText3

        public String getMailText3()
        Get Mail Text 3.
        Specified by:
        getMailText3 in interface I_R_MailText
        Returns:
        Optional third text part used for Mail message
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_R_MailText
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_R_MailText
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setR_MailText_ID

        public void setR_MailText_ID​(int R_MailText_ID)
        Set Mail Template.
        Specified by:
        setR_MailText_ID in interface I_R_MailText
        Parameters:
        R_MailText_ID - Text templates for mailings
      • getR_MailText_ID

        public int getR_MailText_ID()
        Get Mail Template.
        Specified by:
        getR_MailText_ID in interface I_R_MailText
        Returns:
        Text templates for mailings
      • setR_MailText_UU

        public void setR_MailText_UU​(String R_MailText_UU)
        Set R_MailText_UU.
        Specified by:
        setR_MailText_UU in interface I_R_MailText
        Parameters:
        R_MailText_UU - R_MailText_UU