Class MediaModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.media.AbstractMediaModel
-
- de.hybris.platform.core.model.media.MediaModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BarcodeMediaModel
,CatalogUnawareMediaModel
,CatalogVersionSyncScheduleMediaModel
,ConfigurationMediaModel
,DocumentModel
,DroolsKIEModuleMediaModel
,EmailAttachmentModel
,FormatterModel
,ImpExMediaModel
,ImportCockpitMappingModel
,JasperMediaModel
,JobMediaModel
,LDIFMediaModel
,LogFileModel
public class MediaModel extends AbstractMediaModel
Generated model class for type Media 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
_CATEGORYMEDIARELATION
Generated relation code constant for relationCategoryMediaRelation
defining source attributesupercategories
in extensioncatalog
.static java.lang.String
_CONVERTEDMEDIASRELATION
Generated relation code constant for relationConvertedMediasRelation
defining source attributeoriginal
in extensionmediaconversion
.static java.lang.String
_MEDIACONTAINER2MEDIAREL
Generated relation code constant for relationMediaContainer2MediaRel
defining source attributemediaContainer
in extensioncore
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ALTTEXT
Generated constant - Attribute key ofMedia.altText
attribute defined at extensioncore
.static java.lang.String
CATALOG
Generated constant - Attribute key ofMedia.catalog
attribute defined at extensioncatalog
.static java.lang.String
CATALOGVERSION
Generated constant - Attribute key ofMedia.catalogVersion
attribute defined at extensioncatalog
.static java.lang.String
CODE
Generated constant - Attribute key ofMedia.code
attribute defined at extensioncore
.static java.lang.String
CONVERTEDMEDIAS
Generated constant - Attribute key ofMedia.convertedMedias
attribute defined at extensionmediaconversion
.static java.lang.String
DENIEDPRINCIPALS
Generated constant - Attribute key ofMedia.deniedPrincipals
attribute defined at extensioncore
.static java.lang.String
DERIVEDMEDIAS
Generated constant - Attribute key ofMedia.derivedMedias
attribute defined at extensioncore
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofMedia.description
attribute defined at extensioncore
.static java.lang.String
DOWNLOADURL
Generated constant - Attribute key ofMedia.downloadURL
attribute defined at extensioncore
.static java.lang.String
FOLDER
Generated constant - Attribute key ofMedia.folder
attribute defined at extensioncore
.static java.lang.String
FOREIGNDATAOWNERS
Generated constant - Attribute key ofMedia.foreignDataOwners
attribute defined at extensioncore
.static java.lang.String
INTERNALURL
Generated constant - Attribute key ofMedia.internalURL
attribute defined at extensioncore
.static java.lang.String
MEDIACONTAINER
Generated constant - Attribute key ofMedia.mediaContainer
attribute defined at extensioncore
.static java.lang.String
MEDIAFORMAT
Generated constant - Attribute key ofMedia.mediaFormat
attribute defined at extensioncore
.static java.lang.String
METADATA
Generated constant - Attribute key ofMedia.metaData
attribute defined at extensionmediaconversion
.static java.lang.String
METADATADATAPK
Generated constant - Attribute key ofMedia.metaDataDataPK
attribute defined at extensionmediaconversion
.static java.lang.String
ORIGINAL
Generated constant - Attribute key ofMedia.original
attribute defined at extensionmediaconversion
.static java.lang.String
ORIGINALDATAPK
Generated constant - Attribute key ofMedia.originalDataPK
attribute defined at extensionmediaconversion
.static java.lang.String
PERMITTEDPRINCIPALS
Generated constant - Attribute key ofMedia.permittedPrincipals
attribute defined at extensioncore
.static java.lang.String
REMOVABLE
Generated constant - Attribute key ofMedia.removable
attribute defined at extensioncore
.static java.lang.String
SUBFOLDERPATH
Generated constant - Attribute key ofMedia.subFolderPath
attribute defined at extensioncore
.static java.lang.String
SUPERCATEGORIES
Generated constant - Attribute key ofMedia.supercategories
attribute defined at extensioncatalog
.static java.lang.String
URL
Generated constant - Attribute key ofMedia.URL
attribute defined at extensioncore
.static java.lang.String
URL2
Generated constant - Attribute key ofMedia.URL2
attribute defined at extensioncore
.-
Fields inherited from class de.hybris.platform.core.model.media.AbstractMediaModel
DATAPK, LOCATION, LOCATIONHASH, MIME, REALFILENAME, SIZE
-
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 MediaModel()
Generated constructor - Default constructor for generic creation.MediaModel(CatalogVersionModel _catalogVersion, java.lang.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 parametersMediaModel(CatalogVersionModel _catalogVersion, java.lang.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 parametersMediaModel(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.String
getAlttext()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getAltText()} insteadjava.lang.String
getAltText()
Generated method - Getter of theMedia.altText
attribute defined at extensioncore
.CatalogVersionModel
getCatalogVersion()
Generated method - Getter of theMedia.catalogVersion
attribute defined at extensioncatalog
.java.lang.String
getCode()
Generated method - Getter of theMedia.code
attribute defined at extensioncore
.java.util.Collection<MediaModel>
getConvertedMedias()
Generated method - Getter of theMedia.convertedMedias
attribute defined at extensionmediaconversion
.java.util.Collection<PrincipalModel>
getDeniedPrincipals()
Generated method - Getter of theMedia.deniedPrincipals
dynamic attribute defined at extensioncore
.java.util.Collection<DerivedMediaModel>
getDerivedMedias()
Generated method - Getter of theMedia.derivedMedias
attribute defined at extensioncore
.java.lang.String
getDescription()
Generated method - Getter of theMedia.description
attribute defined at extensioncore
.java.lang.String
getDownloadurl()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getDownloadURL()} insteadjava.lang.String
getDownloadURL()
Generated method - Getter of theMedia.downloadURL
dynamic attribute defined at extensioncore
.MediaFolderModel
getFolder()
Generated method - Getter of theMedia.folder
attribute defined at extensioncore
.java.util.Collection<MediaModel>
getForeignDataOwners()
Generated method - Getter of theMedia.foreignDataOwners
dynamic attribute defined at extensioncore
.java.lang.String
getInternalURL()
Generated method - Getter of theMedia.internalURL
attribute defined at extensioncore
.MediaContainerModel
getMediaContainer()
Generated method - Getter of theMedia.mediaContainer
attribute defined at extensioncore
.MediaFormatModel
getMediaFormat()
Generated method - Getter of theMedia.mediaFormat
attribute defined at extensioncore
.java.util.Collection<MediaMetaDataModel>
getMetaData()
Generated method - Getter of theMedia.metaData
attribute defined at extensionmediaconversion
.java.lang.Long
getMetaDataDataPK()
Generated method - Getter of theMedia.metaDataDataPK
attribute defined at extensionmediaconversion
.MediaModel
getOriginal()
Generated method - Getter of theMedia.original
attribute defined at extensionmediaconversion
.java.lang.Long
getOriginalDataPK()
Generated method - Getter of theMedia.originalDataPK
attribute defined at extensionmediaconversion
.java.util.Collection<PrincipalModel>
getPermittedPrincipals()
Generated method - Getter of theMedia.permittedPrincipals
dynamic attribute defined at extensioncore
.java.lang.Boolean
getRemovable()
Generated method - Getter of theMedia.removable
attribute defined at extensioncore
.java.lang.String
getSubFolderPath()
Generated method - Getter of theMedia.subFolderPath
attribute defined at extensioncore
.java.util.Collection<CategoryModel>
getSupercategories()
Generated method - Getter of theMedia.supercategories
attribute defined at extensioncatalog
.java.lang.String
getUrl()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getURL()} insteadjava.lang.String
getURL()
Generated method - Getter of theMedia.URL
dynamic attribute defined at extensioncore
.java.lang.String
getUrl2()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getURL2()} insteadjava.lang.String
getURL2()
Generated method - Getter of theMedia.URL2
attribute defined at extensioncore
.void
setAlttext(java.lang.String value)
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setAltText(java.lang.String)} insteadvoid
setAltText(java.lang.String value)
Generated method - Setter ofMedia.altText
attribute defined at extensioncore
.void
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofMedia.catalogVersion
attribute defined at extensioncatalog
.void
setCode(java.lang.String value)
Generated method - Setter ofMedia.code
attribute defined at extensioncore
.void
setConvertedMedias(java.util.Collection<MediaModel> value)
Generated method - Setter ofMedia.convertedMedias
attribute defined at extensionmediaconversion
.void
setDeniedPrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofMedia.deniedPrincipals
dynamic attribute defined at extensioncore
.void
setDerivedMedias(java.util.Collection<DerivedMediaModel> value)
Generated method - Setter ofMedia.derivedMedias
attribute defined at extensioncore
.void
setDescription(java.lang.String value)
Generated method - Setter ofMedia.description
attribute defined at extensioncore
.void
setFolder(MediaFolderModel value)
Generated method - Setter ofMedia.folder
attribute defined at extensioncore
.void
setInternalURL(java.lang.String value)
Generated method - Setter ofMedia.internalURL
attribute defined at extensioncore
.void
setMediaContainer(MediaContainerModel value)
Generated method - Setter ofMedia.mediaContainer
attribute defined at extensioncore
.void
setMediaFormat(MediaFormatModel value)
Generated method - Setter ofMedia.mediaFormat
attribute defined at extensioncore
.void
setMetaData(java.util.Collection<MediaMetaDataModel> value)
Generated method - Setter ofMedia.metaData
attribute defined at extensionmediaconversion
.void
setMetaDataDataPK(java.lang.Long value)
Generated method - Setter ofMedia.metaDataDataPK
attribute defined at extensionmediaconversion
.void
setOriginal(MediaModel value)
Generated method - Setter ofMedia.original
attribute defined at extensionmediaconversion
.void
setOriginalDataPK(java.lang.Long value)
Generated method - Setter ofMedia.originalDataPK
attribute defined at extensionmediaconversion
.void
setPermittedPrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofMedia.permittedPrincipals
dynamic attribute defined at extensioncore
.void
setRemovable(java.lang.Boolean value)
Generated method - Setter ofMedia.removable
attribute defined at extensioncore
.void
setSubFolderPath(java.lang.String value)
Generated method - Setter ofMedia.subFolderPath
attribute defined at extensioncore
.void
setSupercategories(java.util.Collection<CategoryModel> value)
Generated method - Setter ofMedia.supercategories
attribute defined at extensioncatalog
.void
setUrl(java.lang.String value)
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setURL(java.lang.String)} insteadvoid
setURL(java.lang.String value)
Generated method - Setter ofMedia.URL
dynamic attribute defined at extensioncore
.-
Methods inherited from class de.hybris.platform.core.model.media.AbstractMediaModel
getDataPK, getLocation, getLocationHash, getMime, getRealfilename, getRealFileName, getSize, setDataPK, setLocation, setLocationHash, setMime, setRealfilename, setRealFileName, setSize
-
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
-
_MEDIACONTAINER2MEDIAREL
public static final java.lang.String _MEDIACONTAINER2MEDIAREL
Generated relation code constant for relationMediaContainer2MediaRel
defining source attributemediaContainer
in extensioncore
.- See Also:
- Constant Field Values
-
_CATEGORYMEDIARELATION
public static final java.lang.String _CATEGORYMEDIARELATION
Generated relation code constant for relationCategoryMediaRelation
defining source attributesupercategories
in extensioncatalog
.- See Also:
- Constant Field Values
-
_CONVERTEDMEDIASRELATION
public static final java.lang.String _CONVERTEDMEDIASRELATION
Generated relation code constant for relationConvertedMediasRelation
defining source attributeoriginal
in extensionmediaconversion
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofMedia.code
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
INTERNALURL
public static final java.lang.String INTERNALURL
Generated constant - Attribute key ofMedia.internalURL
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
URL
public static final java.lang.String URL
Generated constant - Attribute key ofMedia.URL
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
URL2
public static final java.lang.String URL2
Generated constant - Attribute key ofMedia.URL2
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
DOWNLOADURL
public static final java.lang.String DOWNLOADURL
Generated constant - Attribute key ofMedia.downloadURL
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofMedia.description
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
ALTTEXT
public static final java.lang.String ALTTEXT
Generated constant - Attribute key ofMedia.altText
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
REMOVABLE
public static final java.lang.String REMOVABLE
Generated constant - Attribute key ofMedia.removable
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
MEDIAFORMAT
public static final java.lang.String MEDIAFORMAT
Generated constant - Attribute key ofMedia.mediaFormat
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
FOLDER
public static final java.lang.String FOLDER
Generated constant - Attribute key ofMedia.folder
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
SUBFOLDERPATH
public static final java.lang.String SUBFOLDERPATH
Generated constant - Attribute key ofMedia.subFolderPath
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
FOREIGNDATAOWNERS
public static final java.lang.String FOREIGNDATAOWNERS
Generated constant - Attribute key ofMedia.foreignDataOwners
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
PERMITTEDPRINCIPALS
public static final java.lang.String PERMITTEDPRINCIPALS
Generated constant - Attribute key ofMedia.permittedPrincipals
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
DENIEDPRINCIPALS
public static final java.lang.String DENIEDPRINCIPALS
Generated constant - Attribute key ofMedia.deniedPrincipals
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
MEDIACONTAINER
public static final java.lang.String MEDIACONTAINER
Generated constant - Attribute key ofMedia.mediaContainer
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
DERIVEDMEDIAS
public static final java.lang.String DERIVEDMEDIAS
Generated constant - Attribute key ofMedia.derivedMedias
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
CATALOG
public static final java.lang.String CATALOG
Generated constant - Attribute key ofMedia.catalog
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofMedia.catalogVersion
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
SUPERCATEGORIES
public static final java.lang.String SUPERCATEGORIES
Generated constant - Attribute key ofMedia.supercategories
attribute defined at extensioncatalog
.- See Also:
- Constant Field Values
-
METADATADATAPK
public static final java.lang.String METADATADATAPK
Generated constant - Attribute key ofMedia.metaDataDataPK
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
ORIGINALDATAPK
public static final java.lang.String ORIGINALDATAPK
Generated constant - Attribute key ofMedia.originalDataPK
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
ORIGINAL
public static final java.lang.String ORIGINAL
Generated constant - Attribute key ofMedia.original
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
CONVERTEDMEDIAS
public static final java.lang.String CONVERTEDMEDIAS
Generated constant - Attribute key ofMedia.convertedMedias
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
METADATA
public static final java.lang.String METADATA
Generated constant - Attribute key ofMedia.metaData
attribute defined at extensionmediaconversion
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MediaModel
public MediaModel()
Generated constructor - Default constructor for generic creation.
-
MediaModel
public MediaModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
MediaModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaModel(CatalogVersionModel _catalogVersion, java.lang.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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeMedia
at extensioncatalog
_code
- initial attribute declared by typeMedia
at extensioncore
-
MediaModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaModel(CatalogVersionModel _catalogVersion, java.lang.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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeMedia
at extensioncatalog
_code
- initial attribute declared by typeMedia
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getAlttext
@Deprecated(since="ages", forRemoval=true) public java.lang.String getAlttext()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getAltText()} insteadGenerated method - Getter of theMedia.altText
attribute defined at extensioncore
.- Returns:
- the altText
-
getAltText
@Accessor(qualifier="altText", type=GETTER) public java.lang.String getAltText()
Generated method - Getter of theMedia.altText
attribute defined at extensioncore
.- Returns:
- the altText
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theMedia.catalogVersion
attribute defined at extensioncatalog
.- Returns:
- the catalogVersion
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theMedia.code
attribute defined at extensioncore
.- Returns:
- the code - Code of media
-
getConvertedMedias
@Accessor(qualifier="convertedMedias", type=GETTER) public java.util.Collection<MediaModel> getConvertedMedias()
Generated method - Getter of theMedia.convertedMedias
attribute defined at extensionmediaconversion
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the convertedMedias - Medias (in other formats) which were converted from this media.
-
getDeniedPrincipals
@Accessor(qualifier="deniedPrincipals", type=GETTER) public java.util.Collection<PrincipalModel> getDeniedPrincipals()
Generated method - Getter of theMedia.deniedPrincipals
dynamic attribute defined at extensioncore
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the deniedPrincipals
-
getDerivedMedias
@Accessor(qualifier="derivedMedias", type=GETTER) public java.util.Collection<DerivedMediaModel> getDerivedMedias()
Generated method - Getter of theMedia.derivedMedias
attribute defined at extensioncore
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the derivedMedias
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theMedia.description
attribute defined at extensioncore
.- Returns:
- the description
-
getDownloadurl
@Deprecated(since="ages", forRemoval=true) public java.lang.String getDownloadurl()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getDownloadURL()} insteadGenerated method - Getter of theMedia.downloadURL
dynamic attribute defined at extensioncore
.- Returns:
- the downloadURL
-
getDownloadURL
@Accessor(qualifier="downloadURL", type=GETTER) public java.lang.String getDownloadURL()
Generated method - Getter of theMedia.downloadURL
dynamic attribute defined at extensioncore
.- Returns:
- the downloadURL
-
getFolder
@Accessor(qualifier="folder", type=GETTER) public MediaFolderModel getFolder()
Generated method - Getter of theMedia.folder
attribute defined at extensioncore
.- Returns:
- the folder - Sub folder where this media is stored.
-
getForeignDataOwners
@Accessor(qualifier="foreignDataOwners", type=GETTER) public java.util.Collection<MediaModel> getForeignDataOwners()
Generated method - Getter of theMedia.foreignDataOwners
dynamic attribute defined at extensioncore
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the foreignDataOwners - List of all medias referencing same data file.
-
getInternalURL
@Accessor(qualifier="internalURL", type=GETTER) public java.lang.String getInternalURL()
Generated method - Getter of theMedia.internalURL
attribute defined at extensioncore
.- Returns:
- the internalURL
-
getMediaContainer
@Accessor(qualifier="mediaContainer", type=GETTER) public MediaContainerModel getMediaContainer()
Generated method - Getter of theMedia.mediaContainer
attribute defined at extensioncore
.- Returns:
- the mediaContainer
-
getMediaFormat
@Accessor(qualifier="mediaFormat", type=GETTER) public MediaFormatModel getMediaFormat()
Generated method - Getter of theMedia.mediaFormat
attribute defined at extensioncore
.- Returns:
- the mediaFormat - Format of this media
-
getMetaData
@Accessor(qualifier="metaData", type=GETTER) public java.util.Collection<MediaMetaDataModel> getMetaData()
Generated method - Getter of theMedia.metaData
attribute defined at extensionmediaconversion
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the metaData - Meta data information for the media, which has been persisted to database.
-
getMetaDataDataPK
@Accessor(qualifier="metaDataDataPK", type=GETTER) public java.lang.Long getMetaDataDataPK()
Generated method - Getter of theMedia.metaDataDataPK
attribute defined at extensionmediaconversion
.- Returns:
- the metaDataDataPK - The data pk from which the meta data was extracted from.
-
getOriginal
@Accessor(qualifier="original", type=GETTER) public MediaModel getOriginal()
Generated method - Getter of theMedia.original
attribute defined at extensionmediaconversion
.- Returns:
- the original - The parent media this media was converted from.
-
getOriginalDataPK
@Accessor(qualifier="originalDataPK", type=GETTER) public java.lang.Long getOriginalDataPK()
Generated method - Getter of theMedia.originalDataPK
attribute defined at extensionmediaconversion
.- Returns:
- the originalDataPK - The data pk from which this media was converted from.
-
getPermittedPrincipals
@Accessor(qualifier="permittedPrincipals", type=GETTER) public java.util.Collection<PrincipalModel> getPermittedPrincipals()
Generated method - Getter of theMedia.permittedPrincipals
dynamic attribute defined at extensioncore
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the permittedPrincipals
-
getRemovable
@Accessor(qualifier="removable", type=GETTER) public java.lang.Boolean getRemovable()
Generated method - Getter of theMedia.removable
attribute defined at extensioncore
.- Returns:
- the removable
-
getSubFolderPath
@Accessor(qualifier="subFolderPath", type=GETTER) public java.lang.String getSubFolderPath()
Generated method - Getter of theMedia.subFolderPath
attribute defined at extensioncore
.- Returns:
- the subFolderPath - Generated location (by one of Storage Strategies) to media within storage.
-
getSupercategories
@Accessor(qualifier="supercategories", type=GETTER) public java.util.Collection<CategoryModel> getSupercategories()
Generated method - Getter of theMedia.supercategories
attribute defined at extensioncatalog
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the supercategories - Super Categories
-
getUrl
@Deprecated(since="ages", forRemoval=true) public java.lang.String getUrl()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getURL()} insteadGenerated method - Getter of theMedia.URL
dynamic attribute defined at extensioncore
.- Returns:
- the URL
-
getURL
@Accessor(qualifier="URL", type=GETTER) public java.lang.String getURL()
Generated method - Getter of theMedia.URL
dynamic attribute defined at extensioncore
.- Returns:
- the URL
-
getUrl2
@Deprecated(since="ages", forRemoval=true) public java.lang.String getUrl2()
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #getURL2()} insteadGenerated method - Getter of theMedia.URL2
attribute defined at extensioncore
.- Returns:
- the URL2
-
getURL2
@Accessor(qualifier="URL2", type=GETTER) public java.lang.String getURL2()
Generated method - Getter of theMedia.URL2
attribute defined at extensioncore
.- Returns:
- the URL2
-
setAlttext
@Deprecated(since="ages", forRemoval=true) public void setAlttext(java.lang.String value)
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setAltText(java.lang.String)} insteadGenerated method - Setter ofMedia.altText
attribute defined at extensioncore
.- Parameters:
value
- the altText
-
setAltText
@Accessor(qualifier="altText", type=SETTER) public void setAltText(java.lang.String value)
Generated method - Setter ofMedia.altText
attribute defined at extensioncore
.- Parameters:
value
- the altText
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofMedia.catalogVersion
attribute defined at extensioncatalog
.- Parameters:
value
- the catalogVersion
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofMedia.code
attribute defined at extensioncore
.- Parameters:
value
- the code - Code of media
-
setConvertedMedias
@Accessor(qualifier="convertedMedias", type=SETTER) public void setConvertedMedias(java.util.Collection<MediaModel> value)
Generated method - Setter ofMedia.convertedMedias
attribute defined at extensionmediaconversion
.- Parameters:
value
- the convertedMedias - Medias (in other formats) which were converted from this media.
-
setDeniedPrincipals
@Accessor(qualifier="deniedPrincipals", type=SETTER) public void setDeniedPrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofMedia.deniedPrincipals
dynamic attribute defined at extensioncore
.- Parameters:
value
- the deniedPrincipals
-
setDerivedMedias
@Accessor(qualifier="derivedMedias", type=SETTER) public void setDerivedMedias(java.util.Collection<DerivedMediaModel> value)
Generated method - Setter ofMedia.derivedMedias
attribute defined at extensioncore
.- Parameters:
value
- the derivedMedias
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofMedia.description
attribute defined at extensioncore
.- Parameters:
value
- the description
-
setFolder
@Accessor(qualifier="folder", type=SETTER) public void setFolder(MediaFolderModel value)
Generated method - Setter ofMedia.folder
attribute defined at extensioncore
.- Parameters:
value
- the folder - Sub folder where this media is stored.
-
setInternalURL
@Accessor(qualifier="internalURL", type=SETTER) public void setInternalURL(java.lang.String value)
Generated method - Setter ofMedia.internalURL
attribute defined at extensioncore
.- Parameters:
value
- the internalURL
-
setMediaContainer
@Accessor(qualifier="mediaContainer", type=SETTER) public void setMediaContainer(MediaContainerModel value)
Generated method - Setter ofMedia.mediaContainer
attribute defined at extensioncore
.- Parameters:
value
- the mediaContainer
-
setMediaFormat
@Accessor(qualifier="mediaFormat", type=SETTER) public void setMediaFormat(MediaFormatModel value)
Generated method - Setter ofMedia.mediaFormat
attribute defined at extensioncore
.- Parameters:
value
- the mediaFormat - Format of this media
-
setMetaData
@Accessor(qualifier="metaData", type=SETTER) public void setMetaData(java.util.Collection<MediaMetaDataModel> value)
Generated method - Setter ofMedia.metaData
attribute defined at extensionmediaconversion
.- Parameters:
value
- the metaData - Meta data information for the media, which has been persisted to database.
-
setMetaDataDataPK
@Accessor(qualifier="metaDataDataPK", type=SETTER) public void setMetaDataDataPK(java.lang.Long value)
Generated method - Setter ofMedia.metaDataDataPK
attribute defined at extensionmediaconversion
.- Parameters:
value
- the metaDataDataPK - The data pk from which the meta data was extracted from.
-
setOriginal
@Accessor(qualifier="original", type=SETTER) public void setOriginal(MediaModel value)
Generated method - Setter ofMedia.original
attribute defined at extensionmediaconversion
.- Parameters:
value
- the original - The parent media this media was converted from.
-
setOriginalDataPK
@Accessor(qualifier="originalDataPK", type=SETTER) public void setOriginalDataPK(java.lang.Long value)
Generated method - Setter ofMedia.originalDataPK
attribute defined at extensionmediaconversion
.- Parameters:
value
- the originalDataPK - The data pk from which this media was converted from.
-
setPermittedPrincipals
@Accessor(qualifier="permittedPrincipals", type=SETTER) public void setPermittedPrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofMedia.permittedPrincipals
dynamic attribute defined at extensioncore
.- Parameters:
value
- the permittedPrincipals
-
setRemovable
@Accessor(qualifier="removable", type=SETTER) public void setRemovable(java.lang.Boolean value)
Generated method - Setter ofMedia.removable
attribute defined at extensioncore
.- Parameters:
value
- the removable
-
setSubFolderPath
@Accessor(qualifier="subFolderPath", type=SETTER) public void setSubFolderPath(java.lang.String value)
Generated method - Setter ofMedia.subFolderPath
attribute defined at extensioncore
.- Parameters:
value
- the subFolderPath - Generated location (by one of Storage Strategies) to media within storage.
-
setSupercategories
@Accessor(qualifier="supercategories", type=SETTER) public void setSupercategories(java.util.Collection<CategoryModel> value)
Generated method - Setter ofMedia.supercategories
attribute defined at extensioncatalog
.- Parameters:
value
- the supercategories - Super Categories
-
setUrl
@Deprecated(since="ages", forRemoval=true) public void setUrl(java.lang.String value)
Deprecated, for removal: This API element is subject to removal in a future version.since ages - use { @link #setURL(java.lang.String)} insteadGenerated method - Setter ofMedia.URL
dynamic attribute defined at extensioncore
.- Parameters:
value
- the URL
-
-