All Implemented Interfaces:
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:
  • Field Details

    • _TYPECODE

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

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

      public static final String FROMNAME
      Generated constant - Attribute key of EmailPage.fromName attribute defined at extension acceleratorservices.
      See Also:
  • Constructor Details

    • EmailPageModel

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

      public EmailPageModel(de.hybris.platform.servicelayer.model.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, 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, 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 Details

    • getFromEmail

      @Accessor(qualifier="fromEmail", type=GETTER) public 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 String getFromEmail(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:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getFromName

      @Accessor(qualifier="fromName", type=GETTER) public 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 String getFromName(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:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setFromEmail

      @Accessor(qualifier="fromEmail", type=SETTER) public void setFromEmail(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(String value, 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:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setFromName

      @Accessor(qualifier="fromName", type=SETTER) public void setFromName(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(String value, 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:
      IllegalArgumentException - if localization key cannot be mapped to data language