Package de.hybris.platform.commons.model
Class MediaFormatterModel
- java.lang.Object
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
FOPFormatterModel
,XMLTransformFormatterModel
public class MediaFormatterModel extends FormatterModel
Generated model class for type MediaFormatter first defined at extension commons.- 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
_FORMAT2MEDFORREL
Generated relation code constant for relationFormat2MedForRel
defining source attributeformats
in extensioncommons
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
FORMATS
Generated constant - Attribute key ofMediaFormatter.formats
attribute defined at extensioncommons
.static java.lang.String
INPUTMIMETYPE
Generated constant - Attribute key ofMediaFormatter.inputMimeType
attribute defined at extensioncommons
.-
Fields inherited from class de.hybris.platform.commons.model.FormatterModel
OUTPUTMIMETYPE, SCRIPT
-
Fields inherited from class de.hybris.platform.core.model.media.MediaModel
_CATEGORYMEDIARELATION, _CONVERTEDMEDIASRELATION, _MEDIACONTAINER2MEDIAREL, ALTTEXT, CATALOG, CATALOGVERSION, CODE, CONVERTEDMEDIAS, DENIEDPRINCIPALS, DERIVEDMEDIAS, DESCRIPTION, DOWNLOADURL, FOLDER, FOREIGNDATAOWNERS, INTERNALURL, MEDIACONTAINER, MEDIAFORMAT, METADATA, METADATADATAPK, ORIGINAL, ORIGINALDATAPK, PERMITTEDPRINCIPALS, REMOVABLE, SUBFOLDERPATH, SUPERCATEGORIES, URL, URL2
-
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 MediaFormatterModel()
Generated constructor - Default constructor for generic creation.MediaFormatterModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _inputMimeType, java.lang.String _outputMimeType)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersMediaFormatterModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _inputMimeType, java.lang.String _outputMimeType, 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 parametersMediaFormatterModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<FormatModel>
getFormats()
Generated method - Getter of theMediaFormatter.formats
attribute defined at extensioncommons
.java.lang.String
getInputMimeType()
Generated method - Getter of theMediaFormatter.inputMimeType
attribute defined at extensioncommons
.void
setFormats(java.util.Collection<FormatModel> value)
Generated method - Setter ofMediaFormatter.formats
attribute defined at extensioncommons
.void
setInputMimeType(java.lang.String value)
Generated method - Setter ofMediaFormatter.inputMimeType
attribute defined at extensioncommons
.-
Methods inherited from class de.hybris.platform.commons.model.FormatterModel
getOutputMimeType, getScript, setOutputMimeType, setScript
-
Methods inherited from class de.hybris.platform.core.model.media.MediaModel
getAlttext, getAltText, getCatalogVersion, getCode, getConvertedMedias, getDeniedPrincipals, getDerivedMedias, getDescription, getDownloadurl, getDownloadURL, getFolder, getForeignDataOwners, getInternalURL, getMediaContainer, getMediaFormat, getMetaData, getMetaDataDataPK, getOriginal, getOriginalDataPK, getPermittedPrincipals, getRemovable, getSubFolderPath, getSupercategories, getUrl, getURL, getUrl2, getURL2, setAlttext, setAltText, setCatalogVersion, setCode, setConvertedMedias, setDeniedPrincipals, setDerivedMedias, setDescription, setFolder, setInternalURL, setMediaContainer, setMediaFormat, setMetaData, setMetaDataDataPK, setOriginal, setOriginalDataPK, setPermittedPrincipals, setRemovable, setSubFolderPath, setSupercategories, setUrl, setURL
-
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
-
_FORMAT2MEDFORREL
public static final java.lang.String _FORMAT2MEDFORREL
Generated relation code constant for relationFormat2MedForRel
defining source attributeformats
in extensioncommons
.- See Also:
- Constant Field Values
-
INPUTMIMETYPE
public static final java.lang.String INPUTMIMETYPE
Generated constant - Attribute key ofMediaFormatter.inputMimeType
attribute defined at extensioncommons
.- See Also:
- Constant Field Values
-
FORMATS
public static final java.lang.String FORMATS
Generated constant - Attribute key ofMediaFormatter.formats
attribute defined at extensioncommons
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MediaFormatterModel
public MediaFormatterModel()
Generated constructor - Default constructor for generic creation.
-
MediaFormatterModel
public MediaFormatterModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
MediaFormatterModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaFormatterModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _inputMimeType, java.lang.String _outputMimeType)
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 typeFormatter
at extensioncatalog
_code
- initial attribute declared by typeMedia
at extensioncore
_inputMimeType
- initial attribute declared by typeMediaFormatter
at extensioncommons
_outputMimeType
- initial attribute declared by typeFormatter
at extensioncommons
-
MediaFormatterModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaFormatterModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.lang.String _inputMimeType, java.lang.String _outputMimeType, 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 typeFormatter
at extensioncatalog
_code
- initial attribute declared by typeMedia
at extensioncore
_inputMimeType
- initial attribute declared by typeMediaFormatter
at extensioncommons
_outputMimeType
- initial attribute declared by typeFormatter
at extensioncommons
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getFormats
@Accessor(qualifier="formats", type=GETTER) public java.util.Collection<FormatModel> getFormats()
Generated method - Getter of theMediaFormatter.formats
attribute defined at extensioncommons
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the formats
-
getInputMimeType
@Accessor(qualifier="inputMimeType", type=GETTER) public java.lang.String getInputMimeType()
Generated method - Getter of theMediaFormatter.inputMimeType
attribute defined at extensioncommons
.- Returns:
- the inputMimeType - The mime type of the input.
-
setFormats
@Accessor(qualifier="formats", type=SETTER) public void setFormats(java.util.Collection<FormatModel> value)
Generated method - Setter ofMediaFormatter.formats
attribute defined at extensioncommons
.- Parameters:
value
- the formats
-
-