Class EmailPageModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class EmailPageModel
    extends DocumentPageModel
    Generated model class for type EmailPage first defined at extension acceleratorservices.

    Represents generated or created email page. Extends AbstractPage type without adding any new attribute.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • FROMEMAIL

        public static final java.lang.String FROMEMAIL
        Generated constant - Attribute key of EmailPage.fromEmail attribute defined at extension acceleratorservices.
        See Also:
        Constant Field Values
      • FROMNAME

        public static final java.lang.String FROMNAME
        Generated constant - Attribute key of EmailPage.fromName attribute defined at extension acceleratorservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EmailPageModel

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

        public EmailPageModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • EmailPageModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public EmailPageModel​(CatalogVersionModel _catalogVersion,
                              PageTemplateModel _masterTemplate,
                              java.lang.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:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _masterTemplate - initial attribute declared by type AbstractPage at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • EmailPageModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public EmailPageModel​(CatalogVersionModel _catalogVersion,
                              PageTemplateModel _masterTemplate,
                              ItemModel _owner,
                              java.lang.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:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _masterTemplate - initial attribute declared by type AbstractPage at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getFromEmail

        @Accessor(qualifier="fromEmail",
                  type=GETTER)
        public java.lang.String getFromEmail()
        Generated method - Getter of the EmailPage.fromEmail attribute defined at extension acceleratorservices.
        Returns:
        the fromEmail - Holds the from email address.
      • getFromEmail

        @Accessor(qualifier="fromEmail",
                  type=GETTER)
        public java.lang.String getFromEmail​(java.util.Locale loc)
        Generated method - Getter of the EmailPage.fromEmail attribute defined at extension acceleratorservices.
        Parameters:
        loc - the value localization key
        Returns:
        the fromEmail - Holds the from email address.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getFromName

        @Accessor(qualifier="fromName",
                  type=GETTER)
        public java.lang.String getFromName()
        Generated method - Getter of the EmailPage.fromName attribute defined at extension acceleratorservices.
        Returns:
        the fromName - Holds the from name.
      • getFromName

        @Accessor(qualifier="fromName",
                  type=GETTER)
        public java.lang.String getFromName​(java.util.Locale loc)
        Generated method - Getter of the EmailPage.fromName attribute defined at extension acceleratorservices.
        Parameters:
        loc - the value localization key
        Returns:
        the fromName - Holds the from name.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setFromEmail

        @Accessor(qualifier="fromEmail",
                  type=SETTER)
        public void setFromEmail​(java.lang.String value)
        Generated method - Setter of EmailPage.fromEmail attribute defined at extension acceleratorservices.
        Parameters:
        value - the fromEmail - Holds the from email address.
      • setFromEmail

        @Accessor(qualifier="fromEmail",
                  type=SETTER)
        public void setFromEmail​(java.lang.String value,
                                 java.util.Locale loc)
        Generated method - Setter of EmailPage.fromEmail attribute defined at extension acceleratorservices.
        Parameters:
        value - the fromEmail - Holds the from email address.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setFromName

        @Accessor(qualifier="fromName",
                  type=SETTER)
        public void setFromName​(java.lang.String value)
        Generated method - Setter of EmailPage.fromName attribute defined at extension acceleratorservices.
        Parameters:
        value - the fromName - Holds the from name.
      • setFromName

        @Accessor(qualifier="fromName",
                  type=SETTER)
        public void setFromName​(java.lang.String value,
                                java.util.Locale loc)
        Generated method - Setter of EmailPage.fromName attribute defined at extension acceleratorservices.
        Parameters:
        value - the fromName - Holds the from name.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language