Class GeneratedEmailMessage
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.acceleratorservices.jalo.email.GeneratedEmailMessage
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
EmailMessage
public abstract class GeneratedEmailMessage extends GenericItem
Generated class for typeEmailMessage
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTACHMENTS
Qualifier of theEmailMessage.attachments
attributeprotected static OneToManyHandler<EmailAttachment>
ATTACHMENTSHANDLER
OneToManyHandler
for handling 1:n ATTACHMENTS's relation attributes from 'many' side.static java.lang.String
BCCADDRESSES
Qualifier of theEmailMessage.bccAddresses
attributestatic java.lang.String
BODY
Qualifier of theEmailMessage.body
attributestatic java.lang.String
BODYMEDIA
Qualifier of theEmailMessage.bodyMedia
attributestatic java.lang.String
CCADDRESSES
Qualifier of theEmailMessage.ccAddresses
attributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
protected static java.lang.String
EMAILMESSAGE2BCCADDRESSESREL_MARKMODIFIED
Relation disable markmodifed parameter constants for EmailMessage2BccAddressesRel from ((acceleratorservices))protected static java.lang.String
EMAILMESSAGE2BCCADDRESSESREL_SRC_ORDERED
Relation ordering override parameter constants for EmailMessage2BccAddressesRel from ((acceleratorservices))protected static java.lang.String
EMAILMESSAGE2BCCADDRESSESREL_TGT_ORDERED
protected static java.lang.String
EMAILMESSAGE2CCADDRESSESREL_MARKMODIFIED
Relation disable markmodifed parameter constants for EmailMessage2CcAddressesRel from ((acceleratorservices))protected static java.lang.String
EMAILMESSAGE2CCADDRESSESREL_SRC_ORDERED
Relation ordering override parameter constants for EmailMessage2CcAddressesRel from ((acceleratorservices))protected static java.lang.String
EMAILMESSAGE2CCADDRESSESREL_TGT_ORDERED
protected static java.lang.String
EMAILMESSAGE2TOADDRESSESREL_MARKMODIFIED
Relation disable markmodifed parameter constants for EmailMessage2ToAddressesRel from ((acceleratorservices))protected static java.lang.String
EMAILMESSAGE2TOADDRESSESREL_SRC_ORDERED
Relation ordering override parameter constants for EmailMessage2ToAddressesRel from ((acceleratorservices))protected static java.lang.String
EMAILMESSAGE2TOADDRESSESREL_TGT_ORDERED
static java.lang.String
FROMADDRESS
Qualifier of theEmailMessage.fromAddress
attributeprotected static BidirectionalOneToManyHandler<GeneratedEmailMessage>
FROMADDRESSHANDLER
BidirectionalOneToManyHandler
for handling 1:n FROMADDRESS's relation attributes from 'one' side.static java.lang.String
PROCESS
Qualifier of theEmailMessage.process
attributeprotected static BidirectionalOneToManyHandler<GeneratedEmailMessage>
PROCESSHANDLER
BidirectionalOneToManyHandler
for handling 1:n PROCESS's relation attributes from 'one' side.static java.lang.String
REPLYTOADDRESS
Qualifier of theEmailMessage.replyToAddress
attributestatic java.lang.String
SENT
Qualifier of theEmailMessage.sent
attributestatic java.lang.String
SENTDATE
Qualifier of theEmailMessage.sentDate
attributestatic java.lang.String
SENTMESSAGEID
Qualifier of theEmailMessage.sentMessageID
attributestatic java.lang.String
SUBJECT
Qualifier of theEmailMessage.subject
attributestatic java.lang.String
TOADDRESSES
Qualifier of theEmailMessage.toAddresses
attribute-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedEmailMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToAttachments(EmailAttachment value)
Generated method - Addsvalue
to attachments.void
addToAttachments(SessionContext ctx, EmailAttachment value)
Generated method - Addsvalue
to attachments.void
addToBccAddresses(EmailAddress value)
Generated method - Addsvalue
to bccAddresses.void
addToBccAddresses(SessionContext ctx, EmailAddress value)
Generated method - Addsvalue
to bccAddresses.void
addToCcAddresses(EmailAddress value)
Generated method - Addsvalue
to ccAddresses.void
addToCcAddresses(SessionContext ctx, EmailAddress value)
Generated method - Addsvalue
to ccAddresses.void
addToToAddresses(EmailAddress value)
Generated method - Addsvalue
to toAddresses.void
addToToAddresses(SessionContext ctx, EmailAddress value)
Generated method - Addsvalue
to toAddresses.protected Item
createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.java.util.List<EmailAttachment>
getAttachments()
Generated method - Getter of theEmailMessage.attachments
attribute.java.util.List<EmailAttachment>
getAttachments(SessionContext ctx)
Generated method - Getter of theEmailMessage.attachments
attribute.java.util.List<EmailAddress>
getBccAddresses()
Generated method - Getter of theEmailMessage.bccAddresses
attribute.java.util.List<EmailAddress>
getBccAddresses(SessionContext ctx)
Generated method - Getter of theEmailMessage.bccAddresses
attribute.long
getBccAddressesCount()
long
getBccAddressesCount(SessionContext ctx)
java.lang.String
getBody()
Generated method - Getter of theEmailMessage.body
attribute.java.lang.String
getBody(SessionContext ctx)
Generated method - Getter of theEmailMessage.body
attribute.Media
getBodyMedia()
Generated method - Getter of theEmailMessage.bodyMedia
attribute.Media
getBodyMedia(SessionContext ctx)
Generated method - Getter of theEmailMessage.bodyMedia
attribute.java.util.List<EmailAddress>
getCcAddresses()
Generated method - Getter of theEmailMessage.ccAddresses
attribute.java.util.List<EmailAddress>
getCcAddresses(SessionContext ctx)
Generated method - Getter of theEmailMessage.ccAddresses
attribute.long
getCcAddressesCount()
long
getCcAddressesCount(SessionContext ctx)
protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
EmailAddress
getFromAddress()
Generated method - Getter of theEmailMessage.fromAddress
attribute.EmailAddress
getFromAddress(SessionContext ctx)
Generated method - Getter of theEmailMessage.fromAddress
attribute.BusinessProcess
getProcess()
Generated method - Getter of theEmailMessage.process
attribute.BusinessProcess
getProcess(SessionContext ctx)
Generated method - Getter of theEmailMessage.process
attribute.java.lang.String
getReplyToAddress()
Generated method - Getter of theEmailMessage.replyToAddress
attribute.java.lang.String
getReplyToAddress(SessionContext ctx)
Generated method - Getter of theEmailMessage.replyToAddress
attribute.java.util.Date
getSentDate()
Generated method - Getter of theEmailMessage.sentDate
attribute.java.util.Date
getSentDate(SessionContext ctx)
Generated method - Getter of theEmailMessage.sentDate
attribute.java.lang.String
getSentMessageID()
Generated method - Getter of theEmailMessage.sentMessageID
attribute.java.lang.String
getSentMessageID(SessionContext ctx)
Generated method - Getter of theEmailMessage.sentMessageID
attribute.java.lang.String
getSubject()
Generated method - Getter of theEmailMessage.subject
attribute.java.lang.String
getSubject(SessionContext ctx)
Generated method - Getter of theEmailMessage.subject
attribute.java.util.List<EmailAddress>
getToAddresses()
Generated method - Getter of theEmailMessage.toAddresses
attribute.java.util.List<EmailAddress>
getToAddresses(SessionContext ctx)
Generated method - Getter of theEmailMessage.toAddresses
attribute.long
getToAddressesCount()
long
getToAddressesCount(SessionContext ctx)
boolean
isMarkModifiedDisabled(Item referencedItem)
java.lang.Boolean
isSent()
Generated method - Getter of theEmailMessage.sent
attribute.java.lang.Boolean
isSent(SessionContext ctx)
Generated method - Getter of theEmailMessage.sent
attribute.boolean
isSentAsPrimitive()
Generated method - Getter of theEmailMessage.sent
attribute.boolean
isSentAsPrimitive(SessionContext ctx)
Generated method - Getter of theEmailMessage.sent
attribute.void
removeFromAttachments(EmailAttachment value)
Generated method - Removesvalue
from attachments.void
removeFromAttachments(SessionContext ctx, EmailAttachment value)
Generated method - Removesvalue
from attachments.void
removeFromBccAddresses(EmailAddress value)
Generated method - Removesvalue
from bccAddresses.void
removeFromBccAddresses(SessionContext ctx, EmailAddress value)
Generated method - Removesvalue
from bccAddresses.void
removeFromCcAddresses(EmailAddress value)
Generated method - Removesvalue
from ccAddresses.void
removeFromCcAddresses(SessionContext ctx, EmailAddress value)
Generated method - Removesvalue
from ccAddresses.void
removeFromToAddresses(EmailAddress value)
Generated method - Removesvalue
from toAddresses.void
removeFromToAddresses(SessionContext ctx, EmailAddress value)
Generated method - Removesvalue
from toAddresses.void
setAttachments(SessionContext ctx, java.util.List<EmailAttachment> value)
Generated method - Setter of theEmailMessage.attachments
attribute.void
setAttachments(java.util.List<EmailAttachment> value)
Generated method - Setter of theEmailMessage.attachments
attribute.void
setBccAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.bccAddresses
attribute.void
setBccAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.bccAddresses
attribute.void
setBody(SessionContext ctx, java.lang.String value)
Generated method - Setter of theEmailMessage.body
attribute.void
setBody(java.lang.String value)
Generated method - Setter of theEmailMessage.body
attribute.void
setBodyMedia(Media value)
Generated method - Setter of theEmailMessage.bodyMedia
attribute.void
setBodyMedia(SessionContext ctx, Media value)
Generated method - Setter of theEmailMessage.bodyMedia
attribute.void
setCcAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.ccAddresses
attribute.void
setCcAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.ccAddresses
attribute.void
setFromAddress(EmailAddress value)
Generated method - Setter of theEmailMessage.fromAddress
attribute.void
setFromAddress(SessionContext ctx, EmailAddress value)
Generated method - Setter of theEmailMessage.fromAddress
attribute.void
setProcess(SessionContext ctx, BusinessProcess value)
Generated method - Setter of theEmailMessage.process
attribute.void
setProcess(BusinessProcess value)
Generated method - Setter of theEmailMessage.process
attribute.protected void
setReplyToAddress(SessionContext ctx, java.lang.String value)
Generated method - Setter of theEmailMessage.replyToAddress
attribute.protected void
setReplyToAddress(java.lang.String value)
Generated method - Setter of theEmailMessage.replyToAddress
attribute.void
setSent(boolean value)
Generated method - Setter of theEmailMessage.sent
attribute.void
setSent(SessionContext ctx, boolean value)
Generated method - Setter of theEmailMessage.sent
attribute.void
setSent(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theEmailMessage.sent
attribute.void
setSent(java.lang.Boolean value)
Generated method - Setter of theEmailMessage.sent
attribute.void
setSentDate(SessionContext ctx, java.util.Date value)
Generated method - Setter of theEmailMessage.sentDate
attribute.void
setSentDate(java.util.Date value)
Generated method - Setter of theEmailMessage.sentDate
attribute.void
setSentMessageID(SessionContext ctx, java.lang.String value)
Generated method - Setter of theEmailMessage.sentMessageID
attribute.void
setSentMessageID(java.lang.String value)
Generated method - Setter of theEmailMessage.sentMessageID
attribute.protected void
setSubject(SessionContext ctx, java.lang.String value)
Generated method - Setter of theEmailMessage.subject
attribute.protected void
setSubject(java.lang.String value)
Generated method - Setter of theEmailMessage.subject
attribute.void
setToAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.toAddresses
attribute.void
setToAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.toAddresses
attribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
SENT
public static final java.lang.String SENT
Qualifier of theEmailMessage.sent
attribute- See Also:
- Constant Field Values
-
REPLYTOADDRESS
public static final java.lang.String REPLYTOADDRESS
Qualifier of theEmailMessage.replyToAddress
attribute- See Also:
- Constant Field Values
-
SUBJECT
public static final java.lang.String SUBJECT
Qualifier of theEmailMessage.subject
attribute- See Also:
- Constant Field Values
-
BODY
public static final java.lang.String BODY
Qualifier of theEmailMessage.body
attribute- See Also:
- Constant Field Values
-
BODYMEDIA
public static final java.lang.String BODYMEDIA
Qualifier of theEmailMessage.bodyMedia
attribute- See Also:
- Constant Field Values
-
SENTDATE
public static final java.lang.String SENTDATE
Qualifier of theEmailMessage.sentDate
attribute- See Also:
- Constant Field Values
-
SENTMESSAGEID
public static final java.lang.String SENTMESSAGEID
Qualifier of theEmailMessage.sentMessageID
attribute- See Also:
- Constant Field Values
-
TOADDRESSES
public static final java.lang.String TOADDRESSES
Qualifier of theEmailMessage.toAddresses
attribute- See Also:
- Constant Field Values
-
EMAILMESSAGE2TOADDRESSESREL_SRC_ORDERED
protected static java.lang.String EMAILMESSAGE2TOADDRESSESREL_SRC_ORDERED
Relation ordering override parameter constants for EmailMessage2ToAddressesRel from ((acceleratorservices))
-
EMAILMESSAGE2TOADDRESSESREL_TGT_ORDERED
protected static java.lang.String EMAILMESSAGE2TOADDRESSESREL_TGT_ORDERED
-
EMAILMESSAGE2TOADDRESSESREL_MARKMODIFIED
protected static java.lang.String EMAILMESSAGE2TOADDRESSESREL_MARKMODIFIED
Relation disable markmodifed parameter constants for EmailMessage2ToAddressesRel from ((acceleratorservices))
-
CCADDRESSES
public static final java.lang.String CCADDRESSES
Qualifier of theEmailMessage.ccAddresses
attribute- See Also:
- Constant Field Values
-
EMAILMESSAGE2CCADDRESSESREL_SRC_ORDERED
protected static java.lang.String EMAILMESSAGE2CCADDRESSESREL_SRC_ORDERED
Relation ordering override parameter constants for EmailMessage2CcAddressesRel from ((acceleratorservices))
-
EMAILMESSAGE2CCADDRESSESREL_TGT_ORDERED
protected static java.lang.String EMAILMESSAGE2CCADDRESSESREL_TGT_ORDERED
-
EMAILMESSAGE2CCADDRESSESREL_MARKMODIFIED
protected static java.lang.String EMAILMESSAGE2CCADDRESSESREL_MARKMODIFIED
Relation disable markmodifed parameter constants for EmailMessage2CcAddressesRel from ((acceleratorservices))
-
BCCADDRESSES
public static final java.lang.String BCCADDRESSES
Qualifier of theEmailMessage.bccAddresses
attribute- See Also:
- Constant Field Values
-
EMAILMESSAGE2BCCADDRESSESREL_SRC_ORDERED
protected static java.lang.String EMAILMESSAGE2BCCADDRESSESREL_SRC_ORDERED
Relation ordering override parameter constants for EmailMessage2BccAddressesRel from ((acceleratorservices))
-
EMAILMESSAGE2BCCADDRESSESREL_TGT_ORDERED
protected static java.lang.String EMAILMESSAGE2BCCADDRESSESREL_TGT_ORDERED
-
EMAILMESSAGE2BCCADDRESSESREL_MARKMODIFIED
protected static java.lang.String EMAILMESSAGE2BCCADDRESSESREL_MARKMODIFIED
Relation disable markmodifed parameter constants for EmailMessage2BccAddressesRel from ((acceleratorservices))
-
FROMADDRESS
public static final java.lang.String FROMADDRESS
Qualifier of theEmailMessage.fromAddress
attribute- See Also:
- Constant Field Values
-
ATTACHMENTS
public static final java.lang.String ATTACHMENTS
Qualifier of theEmailMessage.attachments
attribute- See Also:
- Constant Field Values
-
PROCESS
public static final java.lang.String PROCESS
Qualifier of theEmailMessage.process
attribute- See Also:
- Constant Field Values
-
FROMADDRESSHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedEmailMessage> FROMADDRESSHANDLER
BidirectionalOneToManyHandler
for handling 1:n FROMADDRESS's relation attributes from 'one' side.
-
ATTACHMENTSHANDLER
protected static final OneToManyHandler<EmailAttachment> ATTACHMENTSHANDLER
OneToManyHandler
for handling 1:n ATTACHMENTS's relation attributes from 'many' side.
-
PROCESSHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedEmailMessage> PROCESSHANDLER
BidirectionalOneToManyHandler
for handling 1:n PROCESS's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModes
in classItem
-
getAttachments
public java.util.List<EmailAttachment> getAttachments(SessionContext ctx)
Generated method - Getter of theEmailMessage.attachments
attribute.- Returns:
- the attachments
-
getAttachments
public java.util.List<EmailAttachment> getAttachments()
Generated method - Getter of theEmailMessage.attachments
attribute.- Returns:
- the attachments
-
setAttachments
public void setAttachments(SessionContext ctx, java.util.List<EmailAttachment> value)
Generated method - Setter of theEmailMessage.attachments
attribute.- Parameters:
value
- the attachments
-
setAttachments
public void setAttachments(java.util.List<EmailAttachment> value)
Generated method - Setter of theEmailMessage.attachments
attribute.- Parameters:
value
- the attachments
-
addToAttachments
public void addToAttachments(SessionContext ctx, EmailAttachment value)
Generated method - Addsvalue
to attachments.- Parameters:
value
- the item to add to attachments
-
addToAttachments
public void addToAttachments(EmailAttachment value)
Generated method - Addsvalue
to attachments.- Parameters:
value
- the item to add to attachments
-
removeFromAttachments
public void removeFromAttachments(SessionContext ctx, EmailAttachment value)
Generated method - Removesvalue
from attachments.- Parameters:
value
- the item to remove from attachments
-
removeFromAttachments
public void removeFromAttachments(EmailAttachment value)
Generated method - Removesvalue
from attachments.- Parameters:
value
- the item to remove from attachments
-
getBccAddresses
public java.util.List<EmailAddress> getBccAddresses(SessionContext ctx)
Generated method - Getter of theEmailMessage.bccAddresses
attribute.- Returns:
- the bccAddresses
-
getBccAddresses
public java.util.List<EmailAddress> getBccAddresses()
Generated method - Getter of theEmailMessage.bccAddresses
attribute.- Returns:
- the bccAddresses
-
getBccAddressesCount
public long getBccAddressesCount(SessionContext ctx)
-
getBccAddressesCount
public long getBccAddressesCount()
-
setBccAddresses
public void setBccAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.bccAddresses
attribute.- Parameters:
value
- the bccAddresses
-
setBccAddresses
public void setBccAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.bccAddresses
attribute.- Parameters:
value
- the bccAddresses
-
addToBccAddresses
public void addToBccAddresses(SessionContext ctx, EmailAddress value)
Generated method - Addsvalue
to bccAddresses.- Parameters:
value
- the item to add to bccAddresses
-
addToBccAddresses
public void addToBccAddresses(EmailAddress value)
Generated method - Addsvalue
to bccAddresses.- Parameters:
value
- the item to add to bccAddresses
-
removeFromBccAddresses
public void removeFromBccAddresses(SessionContext ctx, EmailAddress value)
Generated method - Removesvalue
from bccAddresses.- Parameters:
value
- the item to remove from bccAddresses
-
removeFromBccAddresses
public void removeFromBccAddresses(EmailAddress value)
Generated method - Removesvalue
from bccAddresses.- Parameters:
value
- the item to remove from bccAddresses
-
getBody
public java.lang.String getBody(SessionContext ctx)
Generated method - Getter of theEmailMessage.body
attribute.- Returns:
- the body - Body of the email message.
-
getBody
public java.lang.String getBody()
Generated method - Getter of theEmailMessage.body
attribute.- Returns:
- the body - Body of the email message.
-
setBody
public void setBody(SessionContext ctx, java.lang.String value)
Generated method - Setter of theEmailMessage.body
attribute.- Parameters:
value
- the body - Body of the email message.
-
setBody
public void setBody(java.lang.String value)
Generated method - Setter of theEmailMessage.body
attribute.- Parameters:
value
- the body - Body of the email message.
-
getBodyMedia
public Media getBodyMedia(SessionContext ctx)
Generated method - Getter of theEmailMessage.bodyMedia
attribute.- Returns:
- the bodyMedia - Body of the email message which is too big to put in 'body' attribute
-
getBodyMedia
public Media getBodyMedia()
Generated method - Getter of theEmailMessage.bodyMedia
attribute.- Returns:
- the bodyMedia - Body of the email message which is too big to put in 'body' attribute
-
setBodyMedia
public void setBodyMedia(SessionContext ctx, Media value)
Generated method - Setter of theEmailMessage.bodyMedia
attribute.- Parameters:
value
- the bodyMedia - Body of the email message which is too big to put in 'body' attribute
-
setBodyMedia
public void setBodyMedia(Media value)
Generated method - Setter of theEmailMessage.bodyMedia
attribute.- Parameters:
value
- the bodyMedia - Body of the email message which is too big to put in 'body' attribute
-
getCcAddresses
public java.util.List<EmailAddress> getCcAddresses(SessionContext ctx)
Generated method - Getter of theEmailMessage.ccAddresses
attribute.- Returns:
- the ccAddresses
-
getCcAddresses
public java.util.List<EmailAddress> getCcAddresses()
Generated method - Getter of theEmailMessage.ccAddresses
attribute.- Returns:
- the ccAddresses
-
getCcAddressesCount
public long getCcAddressesCount(SessionContext ctx)
-
getCcAddressesCount
public long getCcAddressesCount()
-
setCcAddresses
public void setCcAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.ccAddresses
attribute.- Parameters:
value
- the ccAddresses
-
setCcAddresses
public void setCcAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.ccAddresses
attribute.- Parameters:
value
- the ccAddresses
-
addToCcAddresses
public void addToCcAddresses(SessionContext ctx, EmailAddress value)
Generated method - Addsvalue
to ccAddresses.- Parameters:
value
- the item to add to ccAddresses
-
addToCcAddresses
public void addToCcAddresses(EmailAddress value)
Generated method - Addsvalue
to ccAddresses.- Parameters:
value
- the item to add to ccAddresses
-
removeFromCcAddresses
public void removeFromCcAddresses(SessionContext ctx, EmailAddress value)
Generated method - Removesvalue
from ccAddresses.- Parameters:
value
- the item to remove from ccAddresses
-
removeFromCcAddresses
public void removeFromCcAddresses(EmailAddress value)
Generated method - Removesvalue
from ccAddresses.- Parameters:
value
- the item to remove from ccAddresses
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
Description copied from class:Item
Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map)
.In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)
too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
- Overrides:
createItem
in classGenericItem
- Parameters:
ctx
- the current session context which this item is created withintype
- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException
- indicates an error during creation - any changes will be rollbacked
-
getFromAddress
public EmailAddress getFromAddress(SessionContext ctx)
Generated method - Getter of theEmailMessage.fromAddress
attribute.- Returns:
- the fromAddress
-
getFromAddress
public EmailAddress getFromAddress()
Generated method - Getter of theEmailMessage.fromAddress
attribute.- Returns:
- the fromAddress
-
setFromAddress
public void setFromAddress(SessionContext ctx, EmailAddress value)
Generated method - Setter of theEmailMessage.fromAddress
attribute.- Parameters:
value
- the fromAddress
-
setFromAddress
public void setFromAddress(EmailAddress value)
Generated method - Setter of theEmailMessage.fromAddress
attribute.- Parameters:
value
- the fromAddress
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabled
in classItem
-
getProcess
public BusinessProcess getProcess(SessionContext ctx)
Generated method - Getter of theEmailMessage.process
attribute.- Returns:
- the process
-
getProcess
public BusinessProcess getProcess()
Generated method - Getter of theEmailMessage.process
attribute.- Returns:
- the process
-
setProcess
public void setProcess(SessionContext ctx, BusinessProcess value)
Generated method - Setter of theEmailMessage.process
attribute.- Parameters:
value
- the process
-
setProcess
public void setProcess(BusinessProcess value)
Generated method - Setter of theEmailMessage.process
attribute.- Parameters:
value
- the process
-
getReplyToAddress
public java.lang.String getReplyToAddress(SessionContext ctx)
Generated method - Getter of theEmailMessage.replyToAddress
attribute.- Returns:
- the replyToAddress - It's a string value with email address that message has to be replied to.
-
getReplyToAddress
public java.lang.String getReplyToAddress()
Generated method - Getter of theEmailMessage.replyToAddress
attribute.- Returns:
- the replyToAddress - It's a string value with email address that message has to be replied to.
-
setReplyToAddress
protected void setReplyToAddress(SessionContext ctx, java.lang.String value)
Generated method - Setter of theEmailMessage.replyToAddress
attribute.- Parameters:
value
- the replyToAddress - It's a string value with email address that message has to be replied to.
-
setReplyToAddress
protected void setReplyToAddress(java.lang.String value)
Generated method - Setter of theEmailMessage.replyToAddress
attribute.- Parameters:
value
- the replyToAddress - It's a string value with email address that message has to be replied to.
-
isSent
public java.lang.Boolean isSent(SessionContext ctx)
Generated method - Getter of theEmailMessage.sent
attribute.- Returns:
- the sent - Is set when the email message has been already sent.
-
isSent
public java.lang.Boolean isSent()
Generated method - Getter of theEmailMessage.sent
attribute.- Returns:
- the sent - Is set when the email message has been already sent.
-
isSentAsPrimitive
public boolean isSentAsPrimitive(SessionContext ctx)
Generated method - Getter of theEmailMessage.sent
attribute.- Returns:
- the sent - Is set when the email message has been already sent.
-
isSentAsPrimitive
public boolean isSentAsPrimitive()
Generated method - Getter of theEmailMessage.sent
attribute.- Returns:
- the sent - Is set when the email message has been already sent.
-
setSent
public void setSent(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theEmailMessage.sent
attribute.- Parameters:
value
- the sent - Is set when the email message has been already sent.
-
setSent
public void setSent(java.lang.Boolean value)
Generated method - Setter of theEmailMessage.sent
attribute.- Parameters:
value
- the sent - Is set when the email message has been already sent.
-
setSent
public void setSent(SessionContext ctx, boolean value)
Generated method - Setter of theEmailMessage.sent
attribute.- Parameters:
value
- the sent - Is set when the email message has been already sent.
-
setSent
public void setSent(boolean value)
Generated method - Setter of theEmailMessage.sent
attribute.- Parameters:
value
- the sent - Is set when the email message has been already sent.
-
getSentDate
public java.util.Date getSentDate(SessionContext ctx)
Generated method - Getter of theEmailMessage.sentDate
attribute.- Returns:
- the sentDate - Date of sending the email message.
-
getSentDate
public java.util.Date getSentDate()
Generated method - Getter of theEmailMessage.sentDate
attribute.- Returns:
- the sentDate - Date of sending the email message.
-
setSentDate
public void setSentDate(SessionContext ctx, java.util.Date value)
Generated method - Setter of theEmailMessage.sentDate
attribute.- Parameters:
value
- the sentDate - Date of sending the email message.
-
setSentDate
public void setSentDate(java.util.Date value)
Generated method - Setter of theEmailMessage.sentDate
attribute.- Parameters:
value
- the sentDate - Date of sending the email message.
-
getSentMessageID
public java.lang.String getSentMessageID(SessionContext ctx)
Generated method - Getter of theEmailMessage.sentMessageID
attribute.- Returns:
- the sentMessageID - Identifier of the email message.
-
getSentMessageID
public java.lang.String getSentMessageID()
Generated method - Getter of theEmailMessage.sentMessageID
attribute.- Returns:
- the sentMessageID - Identifier of the email message.
-
setSentMessageID
public void setSentMessageID(SessionContext ctx, java.lang.String value)
Generated method - Setter of theEmailMessage.sentMessageID
attribute.- Parameters:
value
- the sentMessageID - Identifier of the email message.
-
setSentMessageID
public void setSentMessageID(java.lang.String value)
Generated method - Setter of theEmailMessage.sentMessageID
attribute.- Parameters:
value
- the sentMessageID - Identifier of the email message.
-
getSubject
public java.lang.String getSubject(SessionContext ctx)
Generated method - Getter of theEmailMessage.subject
attribute.- Returns:
- the subject - Subject of the email message.
-
getSubject
public java.lang.String getSubject()
Generated method - Getter of theEmailMessage.subject
attribute.- Returns:
- the subject - Subject of the email message.
-
setSubject
protected void setSubject(SessionContext ctx, java.lang.String value)
Generated method - Setter of theEmailMessage.subject
attribute.- Parameters:
value
- the subject - Subject of the email message.
-
setSubject
protected void setSubject(java.lang.String value)
Generated method - Setter of theEmailMessage.subject
attribute.- Parameters:
value
- the subject - Subject of the email message.
-
getToAddresses
public java.util.List<EmailAddress> getToAddresses(SessionContext ctx)
Generated method - Getter of theEmailMessage.toAddresses
attribute.- Returns:
- the toAddresses
-
getToAddresses
public java.util.List<EmailAddress> getToAddresses()
Generated method - Getter of theEmailMessage.toAddresses
attribute.- Returns:
- the toAddresses
-
getToAddressesCount
public long getToAddressesCount(SessionContext ctx)
-
getToAddressesCount
public long getToAddressesCount()
-
setToAddresses
public void setToAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.toAddresses
attribute.- Parameters:
value
- the toAddresses
-
setToAddresses
public void setToAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of theEmailMessage.toAddresses
attribute.- Parameters:
value
- the toAddresses
-
addToToAddresses
public void addToToAddresses(SessionContext ctx, EmailAddress value)
Generated method - Addsvalue
to toAddresses.- Parameters:
value
- the item to add to toAddresses
-
addToToAddresses
public void addToToAddresses(EmailAddress value)
Generated method - Addsvalue
to toAddresses.- Parameters:
value
- the item to add to toAddresses
-
removeFromToAddresses
public void removeFromToAddresses(SessionContext ctx, EmailAddress value)
Generated method - Removesvalue
from toAddresses.- Parameters:
value
- the item to remove from toAddresses
-
removeFromToAddresses
public void removeFromToAddresses(EmailAddress value)
Generated method - Removesvalue
from toAddresses.- Parameters:
value
- the item to remove from toAddresses
-
-