Package de.hybris.platform.commons.model
Class MediaFormatterModel
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
de.hybris.platform.commons.model.FormatterModel
de.hybris.platform.commons.model.MediaFormatterModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FOPFormatterModel,XMLTransformFormatterModel
Generated model class for type MediaFormatter first defined at extension commons.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationFormat2MedForReldefining source attributeformatsin extensioncommons.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofMediaFormatter.formatsattribute defined at extensioncommons.static final StringGenerated constant - Attribute key ofMediaFormatter.inputMimeTypeattribute defined at extensioncommons.Fields inherited from class de.hybris.platform.commons.model.FormatterModel
OUTPUTMIMETYPE, SCRIPTFields inherited from class de.hybris.platform.core.model.media.MediaModel
_CATEGORYMEDIARELATION, _MEDIACONTAINER2MEDIAREL, ALTTEXT, CATALOG, CATALOGVERSION, CODE, DENIEDPRINCIPALS, DERIVEDMEDIAS, DESCRIPTION, DOWNLOADURL, FOLDER, FOREIGNDATAOWNERS, INTERNALURL, MEDIACONTAINER, MEDIAFORMAT, PERMITTEDPRINCIPALS, REMOVABLE, SUBFOLDERPATH, SUPERCATEGORIES, URL, URL2Fields inherited from class de.hybris.platform.core.model.media.AbstractMediaModel
DATAPK, LOCATION, LOCATIONHASH, MIME, REALFILENAME, SIZEFields 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.MediaFormatterModel(CatalogVersionModel _catalogVersion, String _code, String _inputMimeType, 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, String _code, String _inputMimeType, 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(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theMediaFormatter.formatsattribute defined at extensioncommons.Generated method - Getter of theMediaFormatter.inputMimeTypeattribute defined at extensioncommons.voidsetFormats(Collection<FormatModel> value) Generated method - Setter ofMediaFormatter.formatsattribute defined at extensioncommons.voidsetInputMimeType(String value) Generated method - Setter ofMediaFormatter.inputMimeTypeattribute defined at extensioncommons.Methods inherited from class de.hybris.platform.commons.model.FormatterModel
getOutputMimeType, getScript, setOutputMimeType, setScriptMethods inherited from class de.hybris.platform.core.model.media.MediaModel
getAlttext, getAltText, getCatalogVersion, getCode, getDeniedPrincipals, getDerivedMedias, getDescription, getDownloadurl, getDownloadURL, getFolder, getForeignDataOwners, getInternalURL, getMediaContainer, getMediaFormat, getPermittedPrincipals, getRemovable, getSubFolderPath, getSupercategories, getUrl, getURL, getUrl2, getURL2, setAlttext, setAltText, setCatalogVersion, setCode, setDeniedPrincipals, setDerivedMedias, setDescription, setFolder, setInternalURL, setMediaContainer, setMediaFormat, setPermittedPrincipals, setRemovable, setSubFolderPath, setSupercategories, setUrl, setURLMethods inherited from class de.hybris.platform.core.model.media.AbstractMediaModel
getDataPK, getLocation, getLocationHash, getMime, getRealfilename, getRealFileName, getSize, setDataPK, setLocation, setLocationHash, setMime, setRealfilename, setRealFileName, setSizeMethods 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:
-
_FORMAT2MEDFORREL
Generated relation code constant for relationFormat2MedForReldefining source attributeformatsin extensioncommons.- See Also:
-
INPUTMIMETYPE
Generated constant - Attribute key ofMediaFormatter.inputMimeTypeattribute defined at extensioncommons.- See Also:
-
FORMATS
Generated constant - Attribute key ofMediaFormatter.formatsattribute defined at extensioncommons.- See Also:
-
-
Constructor Details
-
MediaFormatterModel
public MediaFormatterModel()Generated constructor - Default constructor for generic creation. -
MediaFormatterModel
public MediaFormatterModel(de.hybris.platform.servicelayer.model.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, String _code, String _inputMimeType, 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 typeFormatterat extensioncatalog_code- initial attribute declared by typeMediaat extensioncore_inputMimeType- initial attribute declared by typeMediaFormatterat extensioncommons_outputMimeType- initial attribute declared by typeFormatterat extensioncommons
-
MediaFormatterModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaFormatterModel(CatalogVersionModel _catalogVersion, String _code, String _inputMimeType, 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 typeFormatterat extensioncatalog_code- initial attribute declared by typeMediaat extensioncore_inputMimeType- initial attribute declared by typeMediaFormatterat extensioncommons_outputMimeType- initial attribute declared by typeFormatterat extensioncommons_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getFormats
Generated method - Getter of theMediaFormatter.formatsattribute defined at extensioncommons. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the formats
-
getInputMimeType
Generated method - Getter of theMediaFormatter.inputMimeTypeattribute defined at extensioncommons.- Returns:
- the inputMimeType - The mime type of the input.
-
setFormats
Generated method - Setter ofMediaFormatter.formatsattribute defined at extensioncommons.- Parameters:
value- the formats
-
setInputMimeType
Generated method - Setter ofMediaFormatter.inputMimeTypeattribute defined at extensioncommons.- Parameters:
value- the inputMimeType - The mime type of the input.
-