Class EmailMessageModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.acceleratorservices.model.email.EmailMessageModel
- All Implemented Interfaces:
Serializable
Generated model class for type EmailMessage first defined at extension acceleratorservices.
Extending EmailMessage type with additional attributes.
- 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 relationBusinessProcess2EmailMessageReldefining source attributeprocessin extensionacceleratorservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofEmailMessage.attachmentsattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.bccAddressesattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.bodyattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.bodyMediaattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.ccAddressesattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.fromAddressattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.processattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.replyToAddressattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.sentattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.sentDateattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.sentMessageIDattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.subjectattribute defined at extensionacceleratorservices.static final StringGenerated constant - Attribute key ofEmailMessage.toAddressesattribute defined at extensionacceleratorservices.Fields 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.EmailMessageModel(ItemModel _owner, String _replyToAddress, String _subject) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersEmailMessageModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextEmailMessageModel(String _replyToAddress, String _subject) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theEmailMessage.attachmentsattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.bccAddressesattribute defined at extensionacceleratorservices.getBody()Generated method - Getter of theEmailMessage.bodyattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.bodyMediaattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.ccAddressesattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.fromAddressattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.processattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.replyToAddressattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.sentDateattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.sentMessageIDattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.subjectattribute defined at extensionacceleratorservices.Generated method - Getter of theEmailMessage.toAddressesattribute defined at extensionacceleratorservices.booleanisSent()Generated method - Getter of theEmailMessage.sentattribute defined at extensionacceleratorservices.voidsetAttachments(List<EmailAttachmentModel> value) Generated method - Setter ofEmailMessage.attachmentsattribute defined at extensionacceleratorservices.voidsetBccAddresses(List<EmailAddressModel> value) Generated method - Setter ofEmailMessage.bccAddressesattribute defined at extensionacceleratorservices.voidGenerated method - Setter ofEmailMessage.bodyattribute defined at extensionacceleratorservices.voidsetBodyMedia(MediaModel value) Generated method - Setter ofEmailMessage.bodyMediaattribute defined at extensionacceleratorservices.voidsetCcAddresses(List<EmailAddressModel> value) Generated method - Setter ofEmailMessage.ccAddressesattribute defined at extensionacceleratorservices.voidsetFromAddress(EmailAddressModel value) Generated method - Setter ofEmailMessage.fromAddressattribute defined at extensionacceleratorservices.voidsetProcess(BusinessProcessModel value) Generated method - Setter ofEmailMessage.processattribute defined at extensionacceleratorservices.voidsetReplyToAddress(String value) Generated method - Initial setter ofEmailMessage.replyToAddressattribute defined at extensionacceleratorservices.voidsetSent(boolean value) Generated method - Setter ofEmailMessage.sentattribute defined at extensionacceleratorservices.voidsetSentDate(Date value) Generated method - Setter ofEmailMessage.sentDateattribute defined at extensionacceleratorservices.voidsetSentMessageID(String value) Generated method - Setter ofEmailMessage.sentMessageIDattribute defined at extensionacceleratorservices.voidsetSubject(String value) Generated method - Initial setter ofEmailMessage.subjectattribute defined at extensionacceleratorservices.voidsetToAddresses(List<EmailAddressModel> value) Generated method - Setter ofEmailMessage.toAddressesattribute defined at extensionacceleratorservices.Methods 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:
-
_BUSINESSPROCESS2EMAILMESSAGEREL
Generated relation code constant for relationBusinessProcess2EmailMessageReldefining source attributeprocessin extensionacceleratorservices.- See Also:
-
SENT
Generated constant - Attribute key ofEmailMessage.sentattribute defined at extensionacceleratorservices.- See Also:
-
REPLYTOADDRESS
Generated constant - Attribute key ofEmailMessage.replyToAddressattribute defined at extensionacceleratorservices.- See Also:
-
SUBJECT
Generated constant - Attribute key ofEmailMessage.subjectattribute defined at extensionacceleratorservices.- See Also:
-
BODY
Generated constant - Attribute key ofEmailMessage.bodyattribute defined at extensionacceleratorservices.- See Also:
-
BODYMEDIA
Generated constant - Attribute key ofEmailMessage.bodyMediaattribute defined at extensionacceleratorservices.- See Also:
-
SENTDATE
Generated constant - Attribute key ofEmailMessage.sentDateattribute defined at extensionacceleratorservices.- See Also:
-
SENTMESSAGEID
Generated constant - Attribute key ofEmailMessage.sentMessageIDattribute defined at extensionacceleratorservices.- See Also:
-
TOADDRESSES
Generated constant - Attribute key ofEmailMessage.toAddressesattribute defined at extensionacceleratorservices.- See Also:
-
CCADDRESSES
Generated constant - Attribute key ofEmailMessage.ccAddressesattribute defined at extensionacceleratorservices.- See Also:
-
BCCADDRESSES
Generated constant - Attribute key ofEmailMessage.bccAddressesattribute defined at extensionacceleratorservices.- See Also:
-
FROMADDRESS
Generated constant - Attribute key ofEmailMessage.fromAddressattribute defined at extensionacceleratorservices.- See Also:
-
ATTACHMENTS
Generated constant - Attribute key ofEmailMessage.attachmentsattribute defined at extensionacceleratorservices.- See Also:
-
PROCESS
Generated constant - Attribute key ofEmailMessage.processattribute defined at extensionacceleratorservices.- See Also:
-
-
Constructor Details
-
EmailMessageModel
public EmailMessageModel()Generated constructor - Default constructor for generic creation. -
EmailMessageModel
public EmailMessageModel(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
-
EmailMessageModel
@Deprecated(since="4.1.1", forRemoval=true) public EmailMessageModel(String _replyToAddress, String _subject) 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:
_replyToAddress- initial attribute declared by typeEmailMessageat extensionacceleratorservices_subject- initial attribute declared by typeEmailMessageat extensionacceleratorservices
-
EmailMessageModel
@Deprecated(since="4.1.1", forRemoval=true) public EmailMessageModel(ItemModel _owner, String _replyToAddress, String _subject) 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:
_owner- initial attribute declared by typeItemat extensioncore_replyToAddress- initial attribute declared by typeEmailMessageat extensionacceleratorservices_subject- initial attribute declared by typeEmailMessageat extensionacceleratorservices
-
-
Method Details
-
getAttachments
Generated method - Getter of theEmailMessage.attachmentsattribute defined at extensionacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the attachments
-
getBccAddresses
Generated method - Getter of theEmailMessage.bccAddressesattribute defined at extensionacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the bccAddresses
-
getBody
Generated method - Getter of theEmailMessage.bodyattribute defined at extensionacceleratorservices.- Returns:
- the body - Body of the email message.
-
getBodyMedia
Generated method - Getter of theEmailMessage.bodyMediaattribute defined at extensionacceleratorservices.- Returns:
- the bodyMedia - Body of the email message which is too big to put in 'body' attribute
-
getCcAddresses
Generated method - Getter of theEmailMessage.ccAddressesattribute defined at extensionacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the ccAddresses
-
getFromAddress
Generated method - Getter of theEmailMessage.fromAddressattribute defined at extensionacceleratorservices.- Returns:
- the fromAddress
-
getProcess
Generated method - Getter of theEmailMessage.processattribute defined at extensionacceleratorservices.- Returns:
- the process
-
getReplyToAddress
Generated method - Getter of theEmailMessage.replyToAddressattribute defined at extensionacceleratorservices.- Returns:
- the replyToAddress - It's a string value with email address that message has to be replied to.
-
getSentDate
Generated method - Getter of theEmailMessage.sentDateattribute defined at extensionacceleratorservices.- Returns:
- the sentDate - Date of sending the email message.
-
getSentMessageID
Generated method - Getter of theEmailMessage.sentMessageIDattribute defined at extensionacceleratorservices.- Returns:
- the sentMessageID - Identifier of the email message.
-
getSubject
Generated method - Getter of theEmailMessage.subjectattribute defined at extensionacceleratorservices.- Returns:
- the subject - Subject of the email message.
-
getToAddresses
Generated method - Getter of theEmailMessage.toAddressesattribute defined at extensionacceleratorservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the toAddresses
-
isSent
@Accessor(qualifier="sent", type=GETTER) public boolean isSent()Generated method - Getter of theEmailMessage.sentattribute defined at extensionacceleratorservices.- Returns:
- the sent - Is set when the email message has been already sent.
-
setAttachments
@Accessor(qualifier="attachments", type=SETTER) public void setAttachments(List<EmailAttachmentModel> value) Generated method - Setter ofEmailMessage.attachmentsattribute defined at extensionacceleratorservices.- Parameters:
value- the attachments
-
setBccAddresses
@Accessor(qualifier="bccAddresses", type=SETTER) public void setBccAddresses(List<EmailAddressModel> value) Generated method - Setter ofEmailMessage.bccAddressesattribute defined at extensionacceleratorservices.- Parameters:
value- the bccAddresses
-
setBody
Generated method - Setter ofEmailMessage.bodyattribute defined at extensionacceleratorservices.- Parameters:
value- the body - Body of the email message.
-
setBodyMedia
Generated method - Setter ofEmailMessage.bodyMediaattribute defined at extensionacceleratorservices.- Parameters:
value- the bodyMedia - Body of the email message which is too big to put in 'body' attribute
-
setCcAddresses
@Accessor(qualifier="ccAddresses", type=SETTER) public void setCcAddresses(List<EmailAddressModel> value) Generated method - Setter ofEmailMessage.ccAddressesattribute defined at extensionacceleratorservices.- Parameters:
value- the ccAddresses
-
setFromAddress
Generated method - Setter ofEmailMessage.fromAddressattribute defined at extensionacceleratorservices.- Parameters:
value- the fromAddress
-
setProcess
Generated method - Setter ofEmailMessage.processattribute defined at extensionacceleratorservices.- Parameters:
value- the process
-
setReplyToAddress
Generated method - Initial setter ofEmailMessage.replyToAddressattribute defined at extensionacceleratorservices. Can only be used at creation of model - before first save.- Parameters:
value- the replyToAddress - It's a string value with email address that message has to be replied to.
-
setSent
@Accessor(qualifier="sent", type=SETTER) public void setSent(boolean value) Generated method - Setter ofEmailMessage.sentattribute defined at extensionacceleratorservices.- Parameters:
value- the sent - Is set when the email message has been already sent.
-
setSentDate
Generated method - Setter ofEmailMessage.sentDateattribute defined at extensionacceleratorservices.- Parameters:
value- the sentDate - Date of sending the email message.
-
setSentMessageID
Generated method - Setter ofEmailMessage.sentMessageIDattribute defined at extensionacceleratorservices.- Parameters:
value- the sentMessageID - Identifier of the email message.
-
setSubject
Generated method - Initial setter ofEmailMessage.subjectattribute defined at extensionacceleratorservices. Can only be used at creation of model - before first save.- Parameters:
value- the subject - Subject of the email message.
-
setToAddresses
@Accessor(qualifier="toAddresses", type=SETTER) public void setToAddresses(List<EmailAddressModel> value) Generated method - Setter ofEmailMessage.toAddressesattribute defined at extensionacceleratorservices.- Parameters:
value- the toAddresses
-