public class MediaFormatterModel extends FormatterModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_FORMAT2MEDFORREL
Generated relation code constant for relation
Format2MedForRel defining source attribute formats in extension commons. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
FORMATS
Generated constant - Attribute key of
MediaFormatter.formats attribute defined at extension commons. |
static String |
INPUTMIMETYPE
Generated constant - Attribute key of
MediaFormatter.inputMimeType attribute defined at extension commons. |
OUTPUTMIMETYPE, SCRIPT_CATEGORYMEDIARELATION, _CONVERTEDMEDIASRELATION, _MEDIACONTAINER2MEDIAREL, _PUBLICATION2MEDIA, ALTTEXT, CATALOG, CATALOGVERSION, CODE, CONVERTEDMEDIAS, DENIEDPRINCIPALS, DERIVEDMEDIAS, DESCRIPTION, DOWNLOADURL, FOLDER, FOREIGNDATAOWNERS, INTERNALURL, MEDIACONTAINER, MEDIAFORMAT, METADATA, METADATADATAPK, ORIGINAL, ORIGINALDATAPK, PERMITTEDPRINCIPALS, PUBLICATION, REMOVABLE, SUBFOLDERPATH, SUPERCATEGORIES, URL, URL2DATAPK, LOCATION, LOCATIONHASH, MIME, REALFILENAME, SIZE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
MediaFormatterModel()
Generated constructor - Default constructor for generic creation.
|
MediaFormatterModel(CatalogVersionModel _catalogVersion,
String _code,
String _inputMimeType,
String _outputMimeType)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
MediaFormatterModel(CatalogVersionModel _catalogVersion,
String _code,
String _inputMimeType,
String _outputMimeType,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
MediaFormatterModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Collection<FormatModel> |
getFormats()
Generated method - Getter of the
MediaFormatter.formats attribute defined at extension commons. |
String |
getInputMimeType()
Generated method - Getter of the
MediaFormatter.inputMimeType attribute defined at extension commons. |
void |
setFormats(Collection<FormatModel> value)
Generated method - Setter of
MediaFormatter.formats attribute defined at extension commons. |
void |
setInputMimeType(String value)
Generated method - Setter of
MediaFormatter.inputMimeType attribute defined at extension commons. |
getOutputMimeType, getScript, setOutputMimeType, setScriptgetAlttext, getAltText, getCatalogVersion, getCode, getConvertedMedias, getDeniedPrincipals, getDerivedMedias, getDescription, getDownloadurl, getDownloadURL, getFolder, getForeignDataOwners, getInternalURL, getMediaContainer, getMediaFormat, getMetaData, getMetaDataDataPK, getOriginal, getOriginalDataPK, getPermittedPrincipals, getPublication, getRemovable, getSubFolderPath, getSupercategories, getUrl, getURL, getUrl2, getURL2, setAlttext, setAltText, setCatalogVersion, setCode, setConvertedMedias, setDeniedPrincipals, setDerivedMedias, setDescription, setFolder, setInternalURL, setMediaContainer, setMediaFormat, setMetaData, setMetaDataDataPK, setOriginal, setOriginalDataPK, setPermittedPrincipals, setPublication, setRemovable, setSubFolderPath, setSupercategories, setUrl, setURLgetDataPK, getLocation, getLocationHash, getMime, getRealfilename, getRealFileName, getSize, setDataPK, setLocation, setLocationHash, setMime, setRealfilename, setRealFileName, setSizegetComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String _FORMAT2MEDFORREL
Format2MedForRel defining source attribute formats in extension commons.public static final String INPUTMIMETYPE
MediaFormatter.inputMimeType attribute defined at extension commons.public static final String FORMATS
MediaFormatter.formats attribute defined at extension commons.public MediaFormatterModel()
public MediaFormatterModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public MediaFormatterModel(CatalogVersionModel _catalogVersion, String _code, String _inputMimeType, String _outputMimeType)
_catalogVersion - initial attribute declared by type Formatter at extension catalog_code - initial attribute declared by type Media at extension core_inputMimeType - initial attribute declared by type MediaFormatter at extension commons_outputMimeType - initial attribute declared by type Formatter at extension commons@Deprecated public MediaFormatterModel(CatalogVersionModel _catalogVersion, String _code, String _inputMimeType, String _outputMimeType, ItemModel _owner)
_catalogVersion - initial attribute declared by type Formatter at extension catalog_code - initial attribute declared by type Media at extension core_inputMimeType - initial attribute declared by type MediaFormatter at extension commons_outputMimeType - initial attribute declared by type Formatter at extension commons_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="formats", type=GETTER) public Collection<FormatModel> getFormats()
MediaFormatter.formats attribute defined at extension commons.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="inputMimeType", type=GETTER) public String getInputMimeType()
MediaFormatter.inputMimeType attribute defined at extension commons.@Accessor(qualifier="formats", type=SETTER) public void setFormats(Collection<FormatModel> value)
MediaFormatter.formats attribute defined at extension commons.value - the formatsCopyright © 2017 SAP SE. All Rights Reserved.