public abstract class GeneratedEmailMessage extends GenericItem
EmailMessage.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTACHMENTS
Qualifier of the
EmailMessage.attachments attribute |
protected static OneToManyHandler<EmailAttachment> |
ATTACHMENTSHANDLER
OneToManyHandler for handling 1:n ATTACHMENTS's relation attributes from 'many' side. |
static java.lang.String |
BCCADDRESSES
Qualifier of the
EmailMessage.bccAddresses attribute |
static java.lang.String |
BODY
Qualifier of the
EmailMessage.body attribute |
static java.lang.String |
BODYMEDIA
Qualifier of the
EmailMessage.bodyMedia attribute |
static java.lang.String |
CCADDRESSES
Qualifier of the
EmailMessage.ccAddresses attribute |
protected 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 the
EmailMessage.fromAddress attribute |
protected static BidirectionalOneToManyHandler<GeneratedEmailMessage> |
FROMADDRESSHANDLER
BidirectionalOneToManyHandler for handling 1:n FROMADDRESS's relation attributes from 'one' side. |
static java.lang.String |
PROCESS
Qualifier of the
EmailMessage.process attribute |
protected static BidirectionalOneToManyHandler<GeneratedEmailMessage> |
PROCESSHANDLER
BidirectionalOneToManyHandler for handling 1:n PROCESS's relation attributes from 'one' side. |
static java.lang.String |
REPLYTOADDRESS
Qualifier of the
EmailMessage.replyToAddress attribute |
static java.lang.String |
SENT
Qualifier of the
EmailMessage.sent attribute |
static java.lang.String |
SENTDATE
Qualifier of the
EmailMessage.sentDate attribute |
static java.lang.String |
SENTMESSAGEID
Qualifier of the
EmailMessage.sentMessageID attribute |
static java.lang.String |
SUBJECT
Qualifier of the
EmailMessage.subject attribute |
static java.lang.String |
TOADDRESSES
Qualifier of the
EmailMessage.toAddresses attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedEmailMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToAttachments(EmailAttachment value)
Generated method - Adds
value to attachments. |
void |
addToAttachments(SessionContext ctx,
EmailAttachment value)
Generated method - Adds
value to attachments. |
void |
addToBccAddresses(EmailAddress value)
Generated method - Adds
value to bccAddresses. |
void |
addToBccAddresses(SessionContext ctx,
EmailAddress value)
Generated method - Adds
value to bccAddresses. |
void |
addToCcAddresses(EmailAddress value)
Generated method - Adds
value to ccAddresses. |
void |
addToCcAddresses(SessionContext ctx,
EmailAddress value)
Generated method - Adds
value to ccAddresses. |
void |
addToToAddresses(EmailAddress value)
Generated method - Adds
value to toAddresses. |
void |
addToToAddresses(SessionContext ctx,
EmailAddress value)
Generated method - Adds
value 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 the
EmailMessage.attachments attribute. |
java.util.List<EmailAttachment> |
getAttachments(SessionContext ctx)
Generated method - Getter of the
EmailMessage.attachments attribute. |
java.util.List<EmailAddress> |
getBccAddresses()
Generated method - Getter of the
EmailMessage.bccAddresses attribute. |
java.util.List<EmailAddress> |
getBccAddresses(SessionContext ctx)
Generated method - Getter of the
EmailMessage.bccAddresses attribute. |
long |
getBccAddressesCount() |
long |
getBccAddressesCount(SessionContext ctx) |
java.lang.String |
getBody()
Generated method - Getter of the
EmailMessage.body attribute. |
java.lang.String |
getBody(SessionContext ctx)
Generated method - Getter of the
EmailMessage.body attribute. |
Media |
getBodyMedia()
Generated method - Getter of the
EmailMessage.bodyMedia attribute. |
Media |
getBodyMedia(SessionContext ctx)
Generated method - Getter of the
EmailMessage.bodyMedia attribute. |
java.util.List<EmailAddress> |
getCcAddresses()
Generated method - Getter of the
EmailMessage.ccAddresses attribute. |
java.util.List<EmailAddress> |
getCcAddresses(SessionContext ctx)
Generated method - Getter of the
EmailMessage.ccAddresses attribute. |
long |
getCcAddressesCount() |
long |
getCcAddressesCount(SessionContext ctx) |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
EmailAddress |
getFromAddress()
Generated method - Getter of the
EmailMessage.fromAddress attribute. |
EmailAddress |
getFromAddress(SessionContext ctx)
Generated method - Getter of the
EmailMessage.fromAddress attribute. |
BusinessProcess |
getProcess()
Generated method - Getter of the
EmailMessage.process attribute. |
BusinessProcess |
getProcess(SessionContext ctx)
Generated method - Getter of the
EmailMessage.process attribute. |
java.lang.String |
getReplyToAddress()
Generated method - Getter of the
EmailMessage.replyToAddress attribute. |
java.lang.String |
getReplyToAddress(SessionContext ctx)
Generated method - Getter of the
EmailMessage.replyToAddress attribute. |
java.util.Date |
getSentDate()
Generated method - Getter of the
EmailMessage.sentDate attribute. |
java.util.Date |
getSentDate(SessionContext ctx)
Generated method - Getter of the
EmailMessage.sentDate attribute. |
java.lang.String |
getSentMessageID()
Generated method - Getter of the
EmailMessage.sentMessageID attribute. |
java.lang.String |
getSentMessageID(SessionContext ctx)
Generated method - Getter of the
EmailMessage.sentMessageID attribute. |
java.lang.String |
getSubject()
Generated method - Getter of the
EmailMessage.subject attribute. |
java.lang.String |
getSubject(SessionContext ctx)
Generated method - Getter of the
EmailMessage.subject attribute. |
java.util.List<EmailAddress> |
getToAddresses()
Generated method - Getter of the
EmailMessage.toAddresses attribute. |
java.util.List<EmailAddress> |
getToAddresses(SessionContext ctx)
Generated method - Getter of the
EmailMessage.toAddresses attribute. |
long |
getToAddressesCount() |
long |
getToAddressesCount(SessionContext ctx) |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
java.lang.Boolean |
isSent()
Generated method - Getter of the
EmailMessage.sent attribute. |
java.lang.Boolean |
isSent(SessionContext ctx)
Generated method - Getter of the
EmailMessage.sent attribute. |
boolean |
isSentAsPrimitive()
Generated method - Getter of the
EmailMessage.sent attribute. |
boolean |
isSentAsPrimitive(SessionContext ctx)
Generated method - Getter of the
EmailMessage.sent attribute. |
void |
removeFromAttachments(EmailAttachment value)
Generated method - Removes
value from attachments. |
void |
removeFromAttachments(SessionContext ctx,
EmailAttachment value)
Generated method - Removes
value from attachments. |
void |
removeFromBccAddresses(EmailAddress value)
Generated method - Removes
value from bccAddresses. |
void |
removeFromBccAddresses(SessionContext ctx,
EmailAddress value)
Generated method - Removes
value from bccAddresses. |
void |
removeFromCcAddresses(EmailAddress value)
Generated method - Removes
value from ccAddresses. |
void |
removeFromCcAddresses(SessionContext ctx,
EmailAddress value)
Generated method - Removes
value from ccAddresses. |
void |
removeFromToAddresses(EmailAddress value)
Generated method - Removes
value from toAddresses. |
void |
removeFromToAddresses(SessionContext ctx,
EmailAddress value)
Generated method - Removes
value from toAddresses. |
void |
setAttachments(java.util.List<EmailAttachment> value)
Generated method - Setter of the
EmailMessage.attachments attribute. |
void |
setAttachments(SessionContext ctx,
java.util.List<EmailAttachment> value)
Generated method - Setter of the
EmailMessage.attachments attribute. |
void |
setBccAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of the
EmailMessage.bccAddresses attribute. |
void |
setBccAddresses(SessionContext ctx,
java.util.List<EmailAddress> value)
Generated method - Setter of the
EmailMessage.bccAddresses attribute. |
void |
setBody(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EmailMessage.body attribute. |
void |
setBody(java.lang.String value)
Generated method - Setter of the
EmailMessage.body attribute. |
void |
setBodyMedia(Media value)
Generated method - Setter of the
EmailMessage.bodyMedia attribute. |
void |
setBodyMedia(SessionContext ctx,
Media value)
Generated method - Setter of the
EmailMessage.bodyMedia attribute. |
void |
setCcAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of the
EmailMessage.ccAddresses attribute. |
void |
setCcAddresses(SessionContext ctx,
java.util.List<EmailAddress> value)
Generated method - Setter of the
EmailMessage.ccAddresses attribute. |
void |
setFromAddress(EmailAddress value)
Generated method - Setter of the
EmailMessage.fromAddress attribute. |
void |
setFromAddress(SessionContext ctx,
EmailAddress value)
Generated method - Setter of the
EmailMessage.fromAddress attribute. |
void |
setProcess(BusinessProcess value)
Generated method - Setter of the
EmailMessage.process attribute. |
void |
setProcess(SessionContext ctx,
BusinessProcess value)
Generated method - Setter of the
EmailMessage.process attribute. |
protected void |
setReplyToAddress(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EmailMessage.replyToAddress attribute. |
protected void |
setReplyToAddress(java.lang.String value)
Generated method - Setter of the
EmailMessage.replyToAddress attribute. |
void |
setSent(boolean value)
Generated method - Setter of the
EmailMessage.sent attribute. |
void |
setSent(java.lang.Boolean value)
Generated method - Setter of the
EmailMessage.sent attribute. |
void |
setSent(SessionContext ctx,
boolean value)
Generated method - Setter of the
EmailMessage.sent attribute. |
void |
setSent(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
EmailMessage.sent attribute. |
void |
setSentDate(java.util.Date value)
Generated method - Setter of the
EmailMessage.sentDate attribute. |
void |
setSentDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
EmailMessage.sentDate attribute. |
void |
setSentMessageID(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EmailMessage.sentMessageID attribute. |
void |
setSentMessageID(java.lang.String value)
Generated method - Setter of the
EmailMessage.sentMessageID attribute. |
protected void |
setSubject(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
EmailMessage.subject attribute. |
protected void |
setSubject(java.lang.String value)
Generated method - Setter of the
EmailMessage.subject attribute. |
void |
setToAddresses(java.util.List<EmailAddress> value)
Generated method - Setter of the
EmailMessage.toAddresses attribute. |
void |
setToAddresses(SessionContext ctx,
java.util.List<EmailAddress> value)
Generated method - Setter of the
EmailMessage.toAddresses attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, 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, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final java.lang.String SENT
EmailMessage.sent attributepublic static final java.lang.String REPLYTOADDRESS
EmailMessage.replyToAddress attributepublic static final java.lang.String SUBJECT
EmailMessage.subject attributepublic static final java.lang.String BODY
EmailMessage.body attributepublic static final java.lang.String BODYMEDIA
EmailMessage.bodyMedia attributepublic static final java.lang.String SENTDATE
EmailMessage.sentDate attributepublic static final java.lang.String SENTMESSAGEID
EmailMessage.sentMessageID attributepublic static final java.lang.String TOADDRESSES
EmailMessage.toAddresses attributeprotected static java.lang.String EMAILMESSAGE2TOADDRESSESREL_SRC_ORDERED
protected static java.lang.String EMAILMESSAGE2TOADDRESSESREL_TGT_ORDERED
protected static java.lang.String EMAILMESSAGE2TOADDRESSESREL_MARKMODIFIED
public static final java.lang.String CCADDRESSES
EmailMessage.ccAddresses attributeprotected static java.lang.String EMAILMESSAGE2CCADDRESSESREL_SRC_ORDERED
protected static java.lang.String EMAILMESSAGE2CCADDRESSESREL_TGT_ORDERED
protected static java.lang.String EMAILMESSAGE2CCADDRESSESREL_MARKMODIFIED
public static final java.lang.String BCCADDRESSES
EmailMessage.bccAddresses attributeprotected static java.lang.String EMAILMESSAGE2BCCADDRESSESREL_SRC_ORDERED
protected static java.lang.String EMAILMESSAGE2BCCADDRESSESREL_TGT_ORDERED
protected static java.lang.String EMAILMESSAGE2BCCADDRESSESREL_MARKMODIFIED
public static final java.lang.String FROMADDRESS
EmailMessage.fromAddress attributepublic static final java.lang.String ATTACHMENTS
EmailMessage.attachments attributepublic static final java.lang.String PROCESS
EmailMessage.process attributeprotected static final BidirectionalOneToManyHandler<GeneratedEmailMessage> FROMADDRESSHANDLER
BidirectionalOneToManyHandler for handling 1:n FROMADDRESS's relation attributes from 'one' side.protected static final OneToManyHandler<EmailAttachment> ATTACHMENTSHANDLER
OneToManyHandler for handling 1:n ATTACHMENTS's relation attributes from 'many' side.protected static final BidirectionalOneToManyHandler<GeneratedEmailMessage> PROCESSHANDLER
BidirectionalOneToManyHandler for handling 1:n PROCESS's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic java.util.List<EmailAttachment> getAttachments(SessionContext ctx)
EmailMessage.attachments attribute.public java.util.List<EmailAttachment> getAttachments()
EmailMessage.attachments attribute.public void setAttachments(SessionContext ctx, java.util.List<EmailAttachment> value)
EmailMessage.attachments attribute.value - the attachmentspublic void setAttachments(java.util.List<EmailAttachment> value)
EmailMessage.attachments attribute.value - the attachmentspublic void addToAttachments(SessionContext ctx, EmailAttachment value)
value to attachments.value - the item to add to attachmentspublic void addToAttachments(EmailAttachment value)
value to attachments.value - the item to add to attachmentspublic void removeFromAttachments(SessionContext ctx, EmailAttachment value)
value from attachments.value - the item to remove from attachmentspublic void removeFromAttachments(EmailAttachment value)
value from attachments.value - the item to remove from attachmentspublic java.util.List<EmailAddress> getBccAddresses(SessionContext ctx)
EmailMessage.bccAddresses attribute.public java.util.List<EmailAddress> getBccAddresses()
EmailMessage.bccAddresses attribute.public long getBccAddressesCount(SessionContext ctx)
public long getBccAddressesCount()
public void setBccAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
EmailMessage.bccAddresses attribute.value - the bccAddressespublic void setBccAddresses(java.util.List<EmailAddress> value)
EmailMessage.bccAddresses attribute.value - the bccAddressespublic void addToBccAddresses(SessionContext ctx, EmailAddress value)
value to bccAddresses.value - the item to add to bccAddressespublic void addToBccAddresses(EmailAddress value)
value to bccAddresses.value - the item to add to bccAddressespublic void removeFromBccAddresses(SessionContext ctx, EmailAddress value)
value from bccAddresses.value - the item to remove from bccAddressespublic void removeFromBccAddresses(EmailAddress value)
value from bccAddresses.value - the item to remove from bccAddressespublic java.lang.String getBody(SessionContext ctx)
EmailMessage.body attribute.public java.lang.String getBody()
EmailMessage.body attribute.public void setBody(SessionContext ctx, java.lang.String value)
EmailMessage.body attribute.value - the body - Body of the email message.public void setBody(java.lang.String value)
EmailMessage.body attribute.value - the body - Body of the email message.public Media getBodyMedia(SessionContext ctx)
EmailMessage.bodyMedia attribute.public Media getBodyMedia()
EmailMessage.bodyMedia attribute.public void setBodyMedia(SessionContext ctx, Media value)
EmailMessage.bodyMedia attribute.value - the bodyMedia - Body of the email message which is too big to put in 'body' attributepublic void setBodyMedia(Media value)
EmailMessage.bodyMedia attribute.value - the bodyMedia - Body of the email message which is too big to put in 'body' attributepublic java.util.List<EmailAddress> getCcAddresses(SessionContext ctx)
EmailMessage.ccAddresses attribute.public java.util.List<EmailAddress> getCcAddresses()
EmailMessage.ccAddresses attribute.public long getCcAddressesCount(SessionContext ctx)
public long getCcAddressesCount()
public void setCcAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
EmailMessage.ccAddresses attribute.value - the ccAddressespublic void setCcAddresses(java.util.List<EmailAddress> value)
EmailMessage.ccAddresses attribute.value - the ccAddressespublic void addToCcAddresses(SessionContext ctx, EmailAddress value)
value to ccAddresses.value - the item to add to ccAddressespublic void addToCcAddresses(EmailAddress value)
value to ccAddresses.value - the item to add to ccAddressespublic void removeFromCcAddresses(SessionContext ctx, EmailAddress value)
value from ccAddresses.value - the item to remove from ccAddressespublic void removeFromCcAddresses(EmailAddress value)
value from ccAddresses.value - the item to remove from ccAddressesprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.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; }
createItem in class GenericItemctx - 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 )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic EmailAddress getFromAddress(SessionContext ctx)
EmailMessage.fromAddress attribute.public EmailAddress getFromAddress()
EmailMessage.fromAddress attribute.public void setFromAddress(SessionContext ctx, EmailAddress value)
EmailMessage.fromAddress attribute.value - the fromAddresspublic void setFromAddress(EmailAddress value)
EmailMessage.fromAddress attribute.value - the fromAddresspublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class Itempublic BusinessProcess getProcess(SessionContext ctx)
EmailMessage.process attribute.public BusinessProcess getProcess()
EmailMessage.process attribute.public void setProcess(SessionContext ctx, BusinessProcess value)
EmailMessage.process attribute.value - the processpublic void setProcess(BusinessProcess value)
EmailMessage.process attribute.value - the processpublic java.lang.String getReplyToAddress(SessionContext ctx)
EmailMessage.replyToAddress attribute.public java.lang.String getReplyToAddress()
EmailMessage.replyToAddress attribute.protected void setReplyToAddress(SessionContext ctx, java.lang.String value)
EmailMessage.replyToAddress attribute.value - the replyToAddress - It's a string value with email address that message has to be replied to.protected void setReplyToAddress(java.lang.String value)
EmailMessage.replyToAddress attribute.value - the replyToAddress - It's a string value with email address that message has to be replied to.public java.lang.Boolean isSent(SessionContext ctx)
EmailMessage.sent attribute.public java.lang.Boolean isSent()
EmailMessage.sent attribute.public boolean isSentAsPrimitive(SessionContext ctx)
EmailMessage.sent attribute.public boolean isSentAsPrimitive()
EmailMessage.sent attribute.public void setSent(SessionContext ctx, java.lang.Boolean value)
EmailMessage.sent attribute.value - the sent - Is set when the email message has been already sent.public void setSent(java.lang.Boolean value)
EmailMessage.sent attribute.value - the sent - Is set when the email message has been already sent.public void setSent(SessionContext ctx, boolean value)
EmailMessage.sent attribute.value - the sent - Is set when the email message has been already sent.public void setSent(boolean value)
EmailMessage.sent attribute.value - the sent - Is set when the email message has been already sent.public java.util.Date getSentDate(SessionContext ctx)
EmailMessage.sentDate attribute.public java.util.Date getSentDate()
EmailMessage.sentDate attribute.public void setSentDate(SessionContext ctx, java.util.Date value)
EmailMessage.sentDate attribute.value - the sentDate - Date of sending the email message.public void setSentDate(java.util.Date value)
EmailMessage.sentDate attribute.value - the sentDate - Date of sending the email message.public java.lang.String getSentMessageID(SessionContext ctx)
EmailMessage.sentMessageID attribute.public java.lang.String getSentMessageID()
EmailMessage.sentMessageID attribute.public void setSentMessageID(SessionContext ctx, java.lang.String value)
EmailMessage.sentMessageID attribute.value - the sentMessageID - Identifier of the email message.public void setSentMessageID(java.lang.String value)
EmailMessage.sentMessageID attribute.value - the sentMessageID - Identifier of the email message.public java.lang.String getSubject(SessionContext ctx)
EmailMessage.subject attribute.public java.lang.String getSubject()
EmailMessage.subject attribute.protected void setSubject(SessionContext ctx, java.lang.String value)
EmailMessage.subject attribute.value - the subject - Subject of the email message.protected void setSubject(java.lang.String value)
EmailMessage.subject attribute.value - the subject - Subject of the email message.public java.util.List<EmailAddress> getToAddresses(SessionContext ctx)
EmailMessage.toAddresses attribute.public java.util.List<EmailAddress> getToAddresses()
EmailMessage.toAddresses attribute.public long getToAddressesCount(SessionContext ctx)
public long getToAddressesCount()
public void setToAddresses(SessionContext ctx, java.util.List<EmailAddress> value)
EmailMessage.toAddresses attribute.value - the toAddressespublic void setToAddresses(java.util.List<EmailAddress> value)
EmailMessage.toAddresses attribute.value - the toAddressespublic void addToToAddresses(SessionContext ctx, EmailAddress value)
value to toAddresses.value - the item to add to toAddressespublic void addToToAddresses(EmailAddress value)
value to toAddresses.value - the item to add to toAddressespublic void removeFromToAddresses(SessionContext ctx, EmailAddress value)
value from toAddresses.value - the item to remove from toAddressespublic void removeFromToAddresses(EmailAddress value)
value from toAddresses.value - the item to remove from toAddressesCopyright © 2018 SAP SE. All Rights Reserved.