Class EmailAttachmentModel
- 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.acceleratorservices.model.email.EmailAttachmentModel
-
- All Implemented Interfaces:
java.io.Serializable
public class EmailAttachmentModel extends MediaModel
Generated model class for type EmailAttachment first defined at extension acceleratorservices.Item that represents email attachment. It extends Media type without adding any new attribute.
- 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_EMAILMESSAGE2EMAILATTACHMENTSRELGenerated relation code constant for relationEmailMessage2EmailAttachmentsReldefining source attributemessagein extensionacceleratorservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringMESSAGEGenerated constant - Attribute key ofEmailAttachment.messageattribute defined at extensionacceleratorservices.-
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 EmailAttachmentModel()Generated constructor - Default constructor for generic creation.EmailAttachmentModel(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 parametersEmailAttachmentModel(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 parametersEmailAttachmentModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailMessageModelgetMessage()Generated method - Getter of theEmailAttachment.messageattribute defined at extensionacceleratorservices.voidsetMessage(EmailMessageModel value)Generated method - Setter ofEmailAttachment.messageattribute defined at extensionacceleratorservices.-
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
-
_EMAILMESSAGE2EMAILATTACHMENTSREL
public static final java.lang.String _EMAILMESSAGE2EMAILATTACHMENTSREL
Generated relation code constant for relationEmailMessage2EmailAttachmentsReldefining source attributemessagein extensionacceleratorservices.- See Also:
- Constant Field Values
-
MESSAGE
public static final java.lang.String MESSAGE
Generated constant - Attribute key ofEmailAttachment.messageattribute defined at extensionacceleratorservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EmailAttachmentModel
public EmailAttachmentModel()
Generated constructor - Default constructor for generic creation.
-
EmailAttachmentModel
public EmailAttachmentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
EmailAttachmentModel
@Deprecated(since="4.1.1", forRemoval=true) public EmailAttachmentModel(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 typeMediaat extensioncatalog_code- initial attribute declared by typeMediaat extensioncore
-
EmailAttachmentModel
@Deprecated(since="4.1.1", forRemoval=true) public EmailAttachmentModel(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 typeMediaat extensioncatalog_code- initial attribute declared by typeMediaat extensioncore_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getMessage
@Accessor(qualifier="message", type=GETTER) public EmailMessageModel getMessage()
Generated method - Getter of theEmailAttachment.messageattribute defined at extensionacceleratorservices.- Returns:
- the message
-
setMessage
@Accessor(qualifier="message", type=SETTER) public void setMessage(EmailMessageModel value)
Generated method - Setter ofEmailAttachment.messageattribute defined at extensionacceleratorservices.- Parameters:
value- the message
-
-