Class JasperMediaModel
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.cockpit.reports.model.JasperMediaModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CompiledJasperMediaModel
Generated model class for type JasperMedia first defined at extension cockpit.
- 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 ofJasperMedia.iconattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofJasperMedia.reportDescriptionattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofJasperMedia.titleattribute defined at extensioncockpit.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, 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.JasperMediaModel(CatalogVersionModel _catalogVersion, 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 parametersJasperMediaModel(CatalogVersionModel _catalogVersion, 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()Generated method - Getter of theJasperMedia.iconattribute defined at extensioncockpit.Generated method - Getter of theJasperMedia.reportDescriptionattribute defined at extensioncockpit.Generated method - Getter of theJasperMedia.reportDescriptionattribute defined at extensioncockpit.getTitle()Generated method - Getter of theJasperMedia.titleattribute defined at extensioncockpit.Generated method - Getter of theJasperMedia.titleattribute defined at extensioncockpit.voidsetIcon(MediaModel value) Generated method - Setter ofJasperMedia.iconattribute defined at extensioncockpit.voidsetReportDescription(String value) Generated method - Setter ofJasperMedia.reportDescriptionattribute defined at extensioncockpit.voidsetReportDescription(String value, Locale loc) Generated method - Setter ofJasperMedia.reportDescriptionattribute defined at extensioncockpit.voidGenerated method - Setter ofJasperMedia.titleattribute defined at extensioncockpit.voidGenerated method - Setter ofJasperMedia.titleattribute defined at extensioncockpit.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, 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:
-
TITLE
Generated constant - Attribute key ofJasperMedia.titleattribute defined at extensioncockpit.- See Also:
-
REPORTDESCRIPTION
Generated constant - Attribute key ofJasperMedia.reportDescriptionattribute defined at extensioncockpit.- See Also:
-
ICON
Generated constant - Attribute key ofJasperMedia.iconattribute defined at extensioncockpit.- See Also:
-
-
Constructor Details
-
JasperMediaModel
public JasperMediaModel()Generated constructor - Default constructor for generic creation. -
JasperMediaModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
JasperMediaModel
@Deprecated(since="4.1.1", forRemoval=true) public JasperMediaModel(CatalogVersionModel _catalogVersion, 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 typeJasperMediaat extensioncockpit_code- initial attribute declared by typeMediaat extensioncore
-
JasperMediaModel
@Deprecated(since="4.1.1", forRemoval=true) public JasperMediaModel(CatalogVersionModel _catalogVersion, 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 typeJasperMediaat extensioncockpit_code- initial attribute declared by typeMediaat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getIcon
Generated method - Getter of theJasperMedia.iconattribute defined at extensioncockpit.- Returns:
- the icon
-
getReportDescription
Generated method - Getter of theJasperMedia.reportDescriptionattribute defined at extensioncockpit.- Returns:
- the reportDescription
-
getReportDescription
@Accessor(qualifier="reportDescription", type=GETTER) public String getReportDescription(Locale loc) Generated method - Getter of theJasperMedia.reportDescriptionattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the reportDescription
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getTitle
Generated method - Getter of theJasperMedia.titleattribute defined at extensioncockpit.- Returns:
- the title
-
getTitle
Generated method - Getter of theJasperMedia.titleattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the title
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setIcon
Generated method - Setter ofJasperMedia.iconattribute defined at extensioncockpit.- Parameters:
value- the icon
-
setReportDescription
@Accessor(qualifier="reportDescription", type=SETTER) public void setReportDescription(String value) Generated method - Setter ofJasperMedia.reportDescriptionattribute defined at extensioncockpit.- Parameters:
value- the reportDescription
-
setReportDescription
@Accessor(qualifier="reportDescription", type=SETTER) public void setReportDescription(String value, Locale loc) Generated method - Setter ofJasperMedia.reportDescriptionattribute defined at extensioncockpit.- Parameters:
value- the reportDescriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setTitle
Generated method - Setter ofJasperMedia.titleattribute defined at extensioncockpit.- Parameters:
value- the title
-
setTitle
Generated method - Setter ofJasperMedia.titleattribute defined at extensioncockpit.- Parameters:
value- the titleloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-