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:
java.io.Serializable
- Direct Known Subclasses:
CompiledJasperMediaModel
public class JasperMediaModel extends MediaModel
Generated model class for type JasperMedia first defined at extension cockpit.- 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
_TYPECODE
Generated model type code constant.static java.lang.String
ICON
Generated constant - Attribute key ofJasperMedia.icon
attribute defined at extensioncockpit
.static java.lang.String
REPORTDESCRIPTION
Generated constant - Attribute key ofJasperMedia.reportDescription
attribute defined at extensioncockpit
.static java.lang.String
TITLE
Generated constant - Attribute key ofJasperMedia.title
attribute 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, 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 JasperMediaModel()
Generated constructor - Default constructor for generic creation.JasperMediaModel(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 parametersJasperMediaModel(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 parametersJasperMediaModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaModel
getIcon()
Generated method - Getter of theJasperMedia.icon
attribute defined at extensioncockpit
.java.lang.String
getReportDescription()
Generated method - Getter of theJasperMedia.reportDescription
attribute defined at extensioncockpit
.java.lang.String
getReportDescription(java.util.Locale loc)
Generated method - Getter of theJasperMedia.reportDescription
attribute defined at extensioncockpit
.java.lang.String
getTitle()
Generated method - Getter of theJasperMedia.title
attribute defined at extensioncockpit
.java.lang.String
getTitle(java.util.Locale loc)
Generated method - Getter of theJasperMedia.title
attribute defined at extensioncockpit
.void
setIcon(MediaModel value)
Generated method - Setter ofJasperMedia.icon
attribute defined at extensioncockpit
.void
setReportDescription(java.lang.String value)
Generated method - Setter ofJasperMedia.reportDescription
attribute defined at extensioncockpit
.void
setReportDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofJasperMedia.reportDescription
attribute defined at extensioncockpit
.void
setTitle(java.lang.String value)
Generated method - Setter ofJasperMedia.title
attribute defined at extensioncockpit
.void
setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofJasperMedia.title
attribute 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, 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
-
TITLE
public static final java.lang.String TITLE
Generated constant - Attribute key ofJasperMedia.title
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
REPORTDESCRIPTION
public static final java.lang.String REPORTDESCRIPTION
Generated constant - Attribute key ofJasperMedia.reportDescription
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
ICON
public static final java.lang.String ICON
Generated constant - Attribute key ofJasperMedia.icon
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JasperMediaModel
public JasperMediaModel()
Generated constructor - Default constructor for generic creation.
-
JasperMediaModel
public JasperMediaModel(ItemModelContext ctx)
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, 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 typeJasperMedia
at extensioncockpit
_code
- initial attribute declared by typeMedia
at extensioncore
-
JasperMediaModel
@Deprecated(since="4.1.1", forRemoval=true) public JasperMediaModel(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 typeJasperMedia
at extensioncockpit
_code
- initial attribute declared by typeMedia
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getIcon
@Accessor(qualifier="icon", type=GETTER) public MediaModel getIcon()
Generated method - Getter of theJasperMedia.icon
attribute defined at extensioncockpit
.- Returns:
- the icon
-
getReportDescription
@Accessor(qualifier="reportDescription", type=GETTER) public java.lang.String getReportDescription()
Generated method - Getter of theJasperMedia.reportDescription
attribute defined at extensioncockpit
.- Returns:
- the reportDescription
-
getReportDescription
@Accessor(qualifier="reportDescription", type=GETTER) public java.lang.String getReportDescription(java.util.Locale loc)
Generated method - Getter of theJasperMedia.reportDescription
attribute defined at extensioncockpit
.- Parameters:
loc
- the value localization key- Returns:
- the reportDescription
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle()
Generated method - Getter of theJasperMedia.title
attribute defined at extensioncockpit
.- Returns:
- the title
-
getTitle
@Accessor(qualifier="title", type=GETTER) public java.lang.String getTitle(java.util.Locale loc)
Generated method - Getter of theJasperMedia.title
attribute defined at extensioncockpit
.- Parameters:
loc
- the value localization key- Returns:
- the title
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setIcon
@Accessor(qualifier="icon", type=SETTER) public void setIcon(MediaModel value)
Generated method - Setter ofJasperMedia.icon
attribute defined at extensioncockpit
.- Parameters:
value
- the icon
-
setReportDescription
@Accessor(qualifier="reportDescription", type=SETTER) public void setReportDescription(java.lang.String value)
Generated method - Setter ofJasperMedia.reportDescription
attribute defined at extensioncockpit
.- Parameters:
value
- the reportDescription
-
setReportDescription
@Accessor(qualifier="reportDescription", type=SETTER) public void setReportDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofJasperMedia.reportDescription
attribute defined at extensioncockpit
.- Parameters:
value
- the reportDescriptionloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value)
Generated method - Setter ofJasperMedia.title
attribute defined at extensioncockpit
.- Parameters:
value
- the title
-
setTitle
@Accessor(qualifier="title", type=SETTER) public void setTitle(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofJasperMedia.title
attribute defined at extensioncockpit
.- Parameters:
value
- the titleloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
-