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:
Serializable
- Direct Known Subclasses:
DerivedMediaModel,MediaModel
Generated model class for type AbstractMedia first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractMedia.dataPKattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofAbstractMedia.locationattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofAbstractMedia.locationHashattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofAbstractMedia.mimeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofAbstractMedia.realFileNameattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofAbstractMedia.sizeattribute defined at extensioncore.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.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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAbstractMedia.dataPKattribute defined at extensioncore.Generated method - Getter of theAbstractMedia.locationattribute defined at extensioncore.Generated method - Getter of theAbstractMedia.locationHashattribute defined at extensioncore.getMime()Generated method - Getter of theAbstractMedia.mimeattribute defined at extensioncore.Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getRealFileName()} insteadGenerated method - Getter of theAbstractMedia.realFileNameattribute defined at extensioncore.getSize()Generated method - Getter of theAbstractMedia.sizeattribute defined at extensioncore.voidGenerated method - Setter ofAbstractMedia.dataPKattribute defined at extensioncore.voidsetLocation(String value) Generated method - Setter ofAbstractMedia.locationattribute defined at extensioncore.voidsetLocationHash(String value) Generated method - Setter ofAbstractMedia.locationHashattribute defined at extensioncore.voidGenerated method - Setter ofAbstractMedia.mimeattribute defined at extensioncore.voidsetRealfilename(String value) Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setRealFileName(java.lang.String)} insteadvoidsetRealFileName(String value) Generated method - Setter ofAbstractMedia.realFileNameattribute defined at extensioncore.voidGenerated method - Setter ofAbstractMedia.sizeattribute defined at extensioncore.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:
-
MIME
Generated constant - Attribute key ofAbstractMedia.mimeattribute defined at extensioncore.- See Also:
-
SIZE
Generated constant - Attribute key ofAbstractMedia.sizeattribute defined at extensioncore.- See Also:
-
DATAPK
Generated constant - Attribute key ofAbstractMedia.dataPKattribute defined at extensioncore.- See Also:
-
LOCATION
Generated constant - Attribute key ofAbstractMedia.locationattribute defined at extensioncore.- See Also:
-
LOCATIONHASH
Generated constant - Attribute key ofAbstractMedia.locationHashattribute defined at extensioncore.- See Also:
-
REALFILENAME
Generated constant - Attribute key ofAbstractMedia.realFileNameattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
AbstractMediaModel
public AbstractMediaModel()Generated constructor - Default constructor for generic creation. -
AbstractMediaModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
AbstractMediaModel
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 typeItemat extensioncore
-
-
Method Details
-
getDataPK
Generated method - Getter of theAbstractMedia.dataPKattribute defined at extensioncore.- Returns:
- the dataPK - PK of the referenced data file.
-
getLocation
Generated method - Getter of theAbstractMedia.locationattribute defined at extensioncore.- Returns:
- the location - Generated location (by one of Storage Strategies) to media within storage.
-
getLocationHash
Generated method - Getter of theAbstractMedia.locationHashattribute defined at extensioncore.- Returns:
- the locationHash - Computed hash of folder qualifier and location
-
getMime
Generated method - Getter of theAbstractMedia.mimeattribute defined at extensioncore.- Returns:
- the mime - Mime type of referenced data file.
-
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.realFileNameattribute defined at extensioncore.- Returns:
- the realFileName
-
getRealFileName
Generated method - Getter of theAbstractMedia.realFileNameattribute defined at extensioncore.- Returns:
- the realFileName
-
getSize
Generated method - Getter of theAbstractMedia.sizeattribute defined at extensioncore.- Returns:
- the size - Size of referenced data file.
-
setDataPK
Generated method - Setter ofAbstractMedia.dataPKattribute defined at extensioncore.- Parameters:
value- the dataPK - PK of the referenced data file.
-
setLocation
Generated method - Setter ofAbstractMedia.locationattribute defined at extensioncore.- Parameters:
value- the location - Generated location (by one of Storage Strategies) to media within storage.
-
setLocationHash
Generated method - Setter ofAbstractMedia.locationHashattribute defined at extensioncore.- Parameters:
value- the locationHash - Computed hash of folder qualifier and location
-
setMime
Generated method - Setter ofAbstractMedia.mimeattribute defined at extensioncore.- Parameters:
value- the mime - Mime type of referenced data file.
-
setRealfilename
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.realFileNameattribute defined at extensioncore.- Parameters:
value- the realFileName
-
setRealFileName
Generated method - Setter ofAbstractMedia.realFileNameattribute defined at extensioncore.- Parameters:
value- the realFileName
-
setSize
Generated method - Setter ofAbstractMedia.sizeattribute defined at extensioncore.- Parameters:
value- the size - Size of referenced data file.
-