Class AbstractMediaModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.media.AbstractMediaModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DerivedMediaModel
,MediaModel
public class AbstractMediaModel extends ItemModel
Generated model class for type AbstractMedia 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
DATAPK
Generated constant - Attribute key ofAbstractMedia.dataPK
attribute defined at extensioncore
.static java.lang.String
LOCATION
Generated constant - Attribute key ofAbstractMedia.location
attribute defined at extensioncore
.static java.lang.String
LOCATIONHASH
Generated constant - Attribute key ofAbstractMedia.locationHash
attribute defined at extensioncore
.static java.lang.String
MIME
Generated constant - Attribute key ofAbstractMedia.mime
attribute defined at extensioncore
.static java.lang.String
REALFILENAME
Generated constant - Attribute key ofAbstractMedia.realFileName
attribute defined at extensioncore
.static java.lang.String
SIZE
Generated constant - Attribute key ofAbstractMedia.size
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 AbstractMediaModel()
Generated constructor - Default constructor for generic creation.AbstractMediaModel(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 parametersAbstractMediaModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Long
getDataPK()
Generated method - Getter of theAbstractMedia.dataPK
attribute defined at extensioncore
.java.lang.String
getLocation()
Generated method - Getter of theAbstractMedia.location
attribute defined at extensioncore
.java.lang.String
getLocationHash()
Generated method - Getter of theAbstractMedia.locationHash
attribute defined at extensioncore
.java.lang.String
getMime()
Generated method - Getter of theAbstractMedia.mime
attribute defined at extensioncore
.java.lang.String
getRealfilename()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getRealFileName()} insteadjava.lang.String
getRealFileName()
Generated method - Getter of theAbstractMedia.realFileName
attribute defined at extensioncore
.java.lang.Long
getSize()
Generated method - Getter of theAbstractMedia.size
attribute defined at extensioncore
.void
setDataPK(java.lang.Long value)
Generated method - Setter ofAbstractMedia.dataPK
attribute defined at extensioncore
.void
setLocation(java.lang.String value)
Generated method - Setter ofAbstractMedia.location
attribute defined at extensioncore
.void
setLocationHash(java.lang.String value)
Generated method - Setter ofAbstractMedia.locationHash
attribute defined at extensioncore
.void
setMime(java.lang.String value)
Generated method - Setter ofAbstractMedia.mime
attribute defined at extensioncore
.void
setRealfilename(java.lang.String value)
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setRealFileName(java.lang.String)} insteadvoid
setRealFileName(java.lang.String value)
Generated method - Setter ofAbstractMedia.realFileName
attribute defined at extensioncore
.void
setSize(java.lang.Long value)
Generated method - Setter ofAbstractMedia.size
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
-
MIME
public static final java.lang.String MIME
Generated constant - Attribute key ofAbstractMedia.mime
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
SIZE
public static final java.lang.String SIZE
Generated constant - Attribute key ofAbstractMedia.size
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
DATAPK
public static final java.lang.String DATAPK
Generated constant - Attribute key ofAbstractMedia.dataPK
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
LOCATION
public static final java.lang.String LOCATION
Generated constant - Attribute key ofAbstractMedia.location
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
LOCATIONHASH
public static final java.lang.String LOCATIONHASH
Generated constant - Attribute key ofAbstractMedia.locationHash
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
REALFILENAME
public static final java.lang.String REALFILENAME
Generated constant - Attribute key ofAbstractMedia.realFileName
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractMediaModel
public AbstractMediaModel()
Generated constructor - Default constructor for generic creation.
-
AbstractMediaModel
public AbstractMediaModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
AbstractMediaModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractMediaModel(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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getDataPK
@Accessor(qualifier="dataPK", type=GETTER) public java.lang.Long getDataPK()
Generated method - Getter of theAbstractMedia.dataPK
attribute defined at extensioncore
.- Returns:
- the dataPK - PK of the referenced data file.
-
getLocation
@Accessor(qualifier="location", type=GETTER) public java.lang.String getLocation()
Generated method - Getter of theAbstractMedia.location
attribute defined at extensioncore
.- Returns:
- the location - Generated location (by one of Storage Strategies) to media within storage.
-
getLocationHash
@Accessor(qualifier="locationHash", type=GETTER) public java.lang.String getLocationHash()
Generated method - Getter of theAbstractMedia.locationHash
attribute defined at extensioncore
.- Returns:
- the locationHash - Computed hash of folder qualifier and location
-
getMime
@Accessor(qualifier="mime", type=GETTER) public java.lang.String getMime()
Generated method - Getter of theAbstractMedia.mime
attribute defined at extensioncore
.- Returns:
- the mime - Mime type of referenced data file.
-
getRealfilename
@Deprecated(since="ages", forRemoval=true) public java.lang.String getRealfilename()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getRealFileName()} insteadGenerated method - Getter of theAbstractMedia.realFileName
attribute defined at extensioncore
.- Returns:
- the realFileName
-
getRealFileName
@Accessor(qualifier="realFileName", type=GETTER) public java.lang.String getRealFileName()
Generated method - Getter of theAbstractMedia.realFileName
attribute defined at extensioncore
.- Returns:
- the realFileName
-
getSize
@Accessor(qualifier="size", type=GETTER) public java.lang.Long getSize()
Generated method - Getter of theAbstractMedia.size
attribute defined at extensioncore
.- Returns:
- the size - Size of referenced data file.
-
setDataPK
@Accessor(qualifier="dataPK", type=SETTER) public void setDataPK(java.lang.Long value)
Generated method - Setter ofAbstractMedia.dataPK
attribute defined at extensioncore
.- Parameters:
value
- the dataPK - PK of the referenced data file.
-
setLocation
@Accessor(qualifier="location", type=SETTER) public void setLocation(java.lang.String value)
Generated method - Setter ofAbstractMedia.location
attribute defined at extensioncore
.- Parameters:
value
- the location - Generated location (by one of Storage Strategies) to media within storage.
-
setLocationHash
@Accessor(qualifier="locationHash", type=SETTER) public void setLocationHash(java.lang.String value)
Generated method - Setter ofAbstractMedia.locationHash
attribute defined at extensioncore
.- Parameters:
value
- the locationHash - Computed hash of folder qualifier and location
-
setMime
@Accessor(qualifier="mime", type=SETTER) public void setMime(java.lang.String value)
Generated method - Setter ofAbstractMedia.mime
attribute defined at extensioncore
.- Parameters:
value
- the mime - Mime type of referenced data file.
-
setRealfilename
@Deprecated(since="ages", forRemoval=true) public void setRealfilename(java.lang.String value)
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setRealFileName(java.lang.String)} insteadGenerated method - Setter ofAbstractMedia.realFileName
attribute defined at extensioncore
.- Parameters:
value
- the realFileName
-
setRealFileName
@Accessor(qualifier="realFileName", type=SETTER) public void setRealFileName(java.lang.String value)
Generated method - Setter ofAbstractMedia.realFileName
attribute defined at extensioncore
.- Parameters:
value
- the realFileName
-
-