Package com.hybris.backoffice.model
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
Generated model class for type Theme first defined at extension alluicommons.
- 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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTheme.codeattribute defined at extensionalluicommons.static final StringGenerated constant - Attribute key ofTheme.nameattribute defined at extensionalluicommons.static final StringGenerated constant - Attribute key ofTheme.sequenceattribute defined at extensionalluicommons.static final StringGenerated constant - Attribute key ofTheme.styleattribute defined at extensionbackoffice.static final StringGenerated constant - Attribute key ofTheme.styleVersionattribute defined at extensionbackoffice.static final StringGenerated constant - Attribute key ofTheme.thumbnailattribute defined at extensionbackoffice.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.ThemeModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextThemeModel(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 parametersThemeModel(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 TypeMethodDescriptiongetCode()Generated method - Getter of theTheme.codeattribute defined at extensionalluicommons.getName()Generated method - Getter of theTheme.nameattribute defined at extensionalluicommons.Generated method - Getter of theTheme.nameattribute defined at extensionalluicommons.Generated method - Getter of theTheme.sequenceattribute defined at extensionalluicommons.getStyle()Generated method - Getter of theTheme.styleattribute defined at extensionbackoffice.Generated method - Getter of theTheme.styleVersionattribute defined at extensionbackoffice.Generated method - Getter of theTheme.thumbnailattribute defined at extensionbackoffice.voidGenerated method - Setter ofTheme.codeattribute defined at extensionalluicommons.voidGenerated method - Setter ofTheme.nameattribute defined at extensionalluicommons.voidGenerated method - Setter ofTheme.nameattribute defined at extensionalluicommons.voidsetSequence(Integer value) Generated method - Setter ofTheme.sequenceattribute defined at extensionalluicommons.voidsetStyle(MediaModel value) Generated method - Setter ofTheme.styleattribute defined at extensionbackoffice.voidsetStyleVersion(Integer value) Generated method - Setter ofTheme.styleVersionattribute defined at extensionbackoffice.voidsetThumbnail(MediaModel value) Generated method - Setter ofTheme.thumbnailattribute defined at extensionbackoffice.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CODE
Generated constant - Attribute key ofTheme.codeattribute defined at extensionalluicommons.- See Also:
-
NAME
Generated constant - Attribute key ofTheme.nameattribute defined at extensionalluicommons.- See Also:
-
SEQUENCE
Generated constant - Attribute key ofTheme.sequenceattribute defined at extensionalluicommons.- See Also:
-
STYLE
Generated constant - Attribute key ofTheme.styleattribute defined at extensionbackoffice.- See Also:
-
STYLEVERSION
Generated constant - Attribute key ofTheme.styleVersionattribute defined at extensionbackoffice.- See Also:
-
THUMBNAIL
Generated constant - Attribute key ofTheme.thumbnailattribute defined at extensionbackoffice.- 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, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeThemeat extensionalluicommons
-
ThemeModel
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeThemeat extensionalluicommons_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theTheme.codeattribute defined at extensionalluicommons.- Returns:
- the code
-
getName
Generated method - Getter of theTheme.nameattribute defined at extensionalluicommons.- Returns:
- the name
-
getName
Generated method - Getter of theTheme.nameattribute defined at extensionalluicommons.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getSequence
Generated method - Getter of theTheme.sequenceattribute defined at extensionalluicommons.- 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
Generated method - Getter of theTheme.styleattribute defined at extensionbackoffice.- Returns:
- the style
-
getStyleVersion
Generated method - Getter of theTheme.styleVersionattribute defined at extensionbackoffice.- Returns:
- the styleVersion
-
getThumbnail
Generated method - Getter of theTheme.thumbnailattribute defined at extensionbackoffice.- Returns:
- the thumbnail
-
setCode
Generated method - Setter ofTheme.codeattribute defined at extensionalluicommons.- Parameters:
value- the code
-
setName
Generated method - Setter ofTheme.nameattribute defined at extensionalluicommons.- Parameters:
value- the name
-
setName
Generated method - Setter ofTheme.nameattribute defined at extensionalluicommons.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setSequence
Generated method - Setter ofTheme.sequenceattribute defined at extensionalluicommons.- 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
Generated method - Setter ofTheme.styleattribute defined at extensionbackoffice.- Parameters:
value- the style
-
setStyleVersion
Generated method - Setter ofTheme.styleVersionattribute defined at extensionbackoffice.- Parameters:
value- the styleVersion
-
setThumbnail
Generated method - Setter ofTheme.thumbnailattribute defined at extensionbackoffice.- Parameters:
value- the thumbnail
-