Class ThemeModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
com.hybris.backoffice.model.ThemeModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CustomThemeModel

public class ThemeModel extends ItemModel
Generated model class for type Theme first defined at extension backoffice.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of Theme.code attribute defined at extension backoffice.
    static final String
    Generated constant - Attribute key of Theme.name attribute defined at extension backoffice.
    static final String
    Generated constant - Attribute key of Theme.sequence attribute defined at extension backoffice.
    static final String
    Generated constant - Attribute key of Theme.style attribute defined at extension backoffice.
    static final String
    Generated constant - Attribute key of Theme.thumbnail attribute defined at extension backoffice.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    ThemeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    ThemeModel(String _code, ItemModel _owner)
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the Theme.code attribute defined at extension backoffice.
    Generated method - Getter of the Theme.name attribute defined at extension backoffice.
    Generated method - Getter of the Theme.name attribute defined at extension backoffice.
    Generated method - Getter of the Theme.sequence attribute defined at extension backoffice.
    Generated method - Getter of the Theme.style attribute defined at extension backoffice.
    Generated method - Getter of the Theme.thumbnail attribute defined at extension backoffice.
    void
    setCode(String value)
    Generated method - Setter of Theme.code attribute defined at extension backoffice.
    void
    setName(String value)
    Generated method - Setter of Theme.name attribute defined at extension backoffice.
    void
    setName(String value, Locale loc)
    Generated method - Setter of Theme.name attribute defined at extension backoffice.
    void
    Generated method - Setter of Theme.sequence attribute defined at extension backoffice.
    void
    Generated method - Setter of Theme.style attribute defined at extension backoffice.
    void
    Generated method - Setter of Theme.thumbnail attribute defined at extension backoffice.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String CODE
      Generated constant - Attribute key of Theme.code attribute defined at extension backoffice.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of Theme.name attribute defined at extension backoffice.
      See Also:
    • THUMBNAIL

      public static final String THUMBNAIL
      Generated constant - Attribute key of Theme.thumbnail attribute defined at extension backoffice.
      See Also:
    • STYLE

      public static final String STYLE
      Generated constant - Attribute key of Theme.style attribute defined at extension backoffice.
      See Also:
    • SEQUENCE

      public static final String SEQUENCE
      Generated constant - Attribute key of Theme.sequence attribute defined at extension backoffice.
      See Also:
  • Constructor Details

    • ThemeModel

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

      public ThemeModel(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
    • ThemeModel

      @Deprecated(since="4.1.1", forRemoval=true) public ThemeModel(String _code)
      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:
      _code - initial attribute declared by type Theme at extension backoffice
    • ThemeModel

      @Deprecated(since="4.1.1", forRemoval=true) public ThemeModel(String _code, ItemModel _owner)
      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:
      _code - initial attribute declared by type Theme at extension backoffice
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the Theme.code attribute defined at extension backoffice.
      Returns:
      the code
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the Theme.name attribute defined at extension backoffice.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the Theme.name attribute defined at extension backoffice.
      Parameters:
      loc - the value localization key
      Returns:
      the name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getSequence

      @Accessor(qualifier="sequence", type=GETTER) public Integer getSequence()
      Generated method - Getter of the Theme.sequence attribute defined at extension backoffice.
      Returns:
      the sequence - Sequence for the theme list, this will affect the position of the list when getting list of theme lists, lower values are displayed first
    • getStyle

      @Accessor(qualifier="style", type=GETTER) public MediaModel getStyle()
      Generated method - Getter of the Theme.style attribute defined at extension backoffice.
      Returns:
      the style
    • getThumbnail

      @Accessor(qualifier="thumbnail", type=GETTER) public MediaModel getThumbnail()
      Generated method - Getter of the Theme.thumbnail attribute defined at extension backoffice.
      Returns:
      the thumbnail
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of Theme.code attribute defined at extension backoffice.
      Parameters:
      value - the code
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of Theme.name attribute defined at extension backoffice.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of Theme.name attribute defined at extension backoffice.
      Parameters:
      value - the name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setSequence

      @Accessor(qualifier="sequence", type=SETTER) public void setSequence(Integer value)
      Generated method - Setter of Theme.sequence attribute defined at extension backoffice.
      Parameters:
      value - the sequence - Sequence for the theme list, this will affect the position of the list when getting list of theme lists, lower values are displayed first
    • setStyle

      @Accessor(qualifier="style", type=SETTER) public void setStyle(MediaModel value)
      Generated method - Setter of Theme.style attribute defined at extension backoffice.
      Parameters:
      value - the style
    • setThumbnail

      @Accessor(qualifier="thumbnail", type=SETTER) public void setThumbnail(MediaModel value)
      Generated method - Setter of Theme.thumbnail attribute defined at extension backoffice.
      Parameters:
      value - the thumbnail