Class MediaContainerModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.media.MediaContainerModel
-
- All Implemented Interfaces:
java.io.Serializable
public class MediaContainerModel extends ItemModel
Generated model class for type MediaContainer first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CATALOGVERSION
Generated constant - Attribute key ofMediaContainer.catalogVersion
attribute defined at extensioncatalog
.static java.lang.String
CONVERSIONERRORLOG
Generated constant - Attribute key ofMediaContainer.conversionErrorLog
attribute defined at extensionmediaconversion
.static java.lang.String
CONVERSIONGROUP
Generated constant - Attribute key ofMediaContainer.conversionGroup
attribute defined at extensionmediaconversion
.static java.lang.String
CONVERSIONSTATUS
Generated constant - Attribute key ofMediaContainer.conversionStatus
attribute defined at extensionmediaconversion
.static java.lang.String
MASTER
Generated constant - Attribute key ofMediaContainer.master
attribute defined at extensionmediaconversion
.static java.lang.String
MEDIAS
Generated constant - Attribute key ofMediaContainer.medias
attribute defined at extensioncore
.static java.lang.String
METADATA
Generated constant - Attribute key ofMediaContainer.metaData
attribute defined at extensionmediaconversion
.static java.lang.String
NAME
Generated constant - Attribute key ofMediaContainer.name
attribute defined at extensioncore
.static java.lang.String
QUALIFIER
Generated constant - Attribute key ofMediaContainer.qualifier
attribute defined at extensioncore
.-
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 MediaContainerModel()
Generated constructor - Default constructor for generic creation.MediaContainerModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _qualifier)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersMediaContainerModel(CatalogVersionModel _catalogVersion, java.lang.String _qualifier)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersMediaContainerModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogVersionModel
getCatalogVersion()
Generated method - Getter of theMediaContainer.catalogVersion
attribute defined at extensioncatalog
.java.util.Collection<ConversionErrorLogModel>
getConversionErrorLog()
Generated method - Getter of theMediaContainer.conversionErrorLog
attribute defined at extensionmediaconversion
.ConversionGroupModel
getConversionGroup()
Generated method - Getter of theMediaContainer.conversionGroup
attribute defined at extensionmediaconversion
.ConversionStatus
getConversionStatus()
Generated method - Getter of theMediaContainer.conversionStatus
dynamic attribute defined at extensionmediaconversion
.MediaModel
getMaster()
Generated method - Getter of theMediaContainer.master
dynamic attribute defined at extensionmediaconversion
.java.util.Collection<MediaModel>
getMedias()
Generated method - Getter of theMediaContainer.medias
attribute defined at extensioncore
.java.util.Collection<MediaMetaDataModel>
getMetaData()
Generated method - Getter of theMediaContainer.metaData
dynamic attribute defined at extensionmediaconversion
.java.lang.String
getName()
Generated method - Getter of theMediaContainer.name
attribute defined at extensioncore
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theMediaContainer.name
attribute defined at extensioncore
.java.lang.String
getQualifier()
Generated method - Getter of theMediaContainer.qualifier
attribute defined at extensioncore
.void
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofMediaContainer.catalogVersion
attribute defined at extensioncatalog
.void
setConversionGroup(ConversionGroupModel value)
Generated method - Setter ofMediaContainer.conversionGroup
attribute defined at extensionmediaconversion
.void
setMedias(java.util.Collection<MediaModel> value)
Generated method - Setter ofMediaContainer.medias
attribute defined at extensioncore
.void
setName(java.lang.String value)
Generated method - Setter ofMediaContainer.name
attribute defined at extensioncore
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofMediaContainer.name
attribute defined at extensioncore
.void
setQualifier(java.lang.String value)
Generated method - Setter ofMediaContainer.qualifier
attribute defined at extensioncore
.-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofMediaContainer.qualifier
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofMediaContainer.name
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
MEDIAS
public static final java.lang.String MEDIAS
Generated constant - Attribute key ofMediaContainer.medias
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofMediaContainer.catalogVersion
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
MASTER
public static final java.lang.String MASTER
Generated constant - Attribute key ofMediaContainer.master
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
METADATA
public static final java.lang.String METADATA
Generated constant - Attribute key ofMediaContainer.metaData
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
CONVERSIONSTATUS
public static final java.lang.String CONVERSIONSTATUS
Generated constant - Attribute key ofMediaContainer.conversionStatus
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
CONVERSIONGROUP
public static final java.lang.String CONVERSIONGROUP
Generated constant - Attribute key ofMediaContainer.conversionGroup
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
CONVERSIONERRORLOG
public static final java.lang.String CONVERSIONERRORLOG
Generated constant - Attribute key ofMediaContainer.conversionErrorLog
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MediaContainerModel
public MediaContainerModel()
Generated constructor - Default constructor for generic creation.
-
MediaContainerModel
public MediaContainerModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
MediaContainerModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaContainerModel(CatalogVersionModel _catalogVersion, java.lang.String _qualifier)
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:
_catalogVersion
- initial attribute declared by typeMediaContainer
at extensioncatalog
_qualifier
- initial attribute declared by typeMediaContainer
at extensioncore
-
MediaContainerModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaContainerModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _qualifier)
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:
_catalogVersion
- initial attribute declared by typeMediaContainer
at extensioncatalog
_owner
- initial attribute declared by typeItem
at extensioncore
_qualifier
- initial attribute declared by typeMediaContainer
at extensioncore
-
-
Method Detail
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theMediaContainer.catalogVersion
attribute defined at extensioncatalog
.- Returns:
- the catalogVersion
-
getConversionErrorLog
@Accessor(qualifier="conversionErrorLog", type=GETTER) public java.util.Collection<ConversionErrorLogModel> getConversionErrorLog()
Generated method - Getter of theMediaContainer.conversionErrorLog
attribute defined at extensionmediaconversion
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the conversionErrorLog - Failed conversion for this container.
-
getConversionGroup
@Accessor(qualifier="conversionGroup", type=GETTER) public ConversionGroupModel getConversionGroup()
Generated method - Getter of theMediaContainer.conversionGroup
attribute defined at extensionmediaconversion
.- Returns:
- the conversionGroup - Optional conversionGroup to restrict converted formats.
-
getConversionStatus
@Accessor(qualifier="conversionStatus", type=GETTER) public ConversionStatus getConversionStatus()
Generated method - Getter of theMediaContainer.conversionStatus
dynamic attribute defined at extensionmediaconversion
.- Returns:
- the conversionStatus - Accesses this container's current conversion status
-
getMaster
@Accessor(qualifier="master", type=GETTER) public MediaModel getMaster()
Generated method - Getter of theMediaContainer.master
dynamic attribute defined at extensionmediaconversion
.- Returns:
- the master - Accesses the current 'master' media.
-
getMedias
@Accessor(qualifier="medias", type=GETTER) public java.util.Collection<MediaModel> getMedias()
Generated method - Getter of theMediaContainer.medias
attribute defined at extensioncore
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the medias
-
getMetaData
@Accessor(qualifier="metaData", type=GETTER) public java.util.Collection<MediaMetaDataModel> getMetaData()
Generated method - Getter of theMediaContainer.metaData
dynamic attribute defined at extensionmediaconversion
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the metaData - Accesses this container's master media's meta data
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theMediaContainer.name
attribute defined at extensioncore
.- Returns:
- the name - Name of this container
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theMediaContainer.name
attribute defined at extensioncore
.- Parameters:
loc
- the value localization key- Returns:
- the name - Name of this container
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getQualifier
@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
Generated method - Getter of theMediaContainer.qualifier
attribute defined at extensioncore
.- Returns:
- the qualifier - Qualifying name of this container
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofMediaContainer.catalogVersion
attribute defined at extensioncatalog
.- Parameters:
value
- the catalogVersion
-
setConversionGroup
@Accessor(qualifier="conversionGroup", type=SETTER) public void setConversionGroup(ConversionGroupModel value)
Generated method - Setter ofMediaContainer.conversionGroup
attribute defined at extensionmediaconversion
.- Parameters:
value
- the conversionGroup - Optional conversionGroup to restrict converted formats.
-
setMedias
@Accessor(qualifier="medias", type=SETTER) public void setMedias(java.util.Collection<MediaModel> value)
Generated method - Setter ofMediaContainer.medias
attribute defined at extensioncore
.- Parameters:
value
- the medias
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofMediaContainer.name
attribute defined at extensioncore
.- Parameters:
value
- the name - Name of this container
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofMediaContainer.name
attribute defined at extensioncore
.- Parameters:
value
- the name - Name of this containerloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
-