public class Message extends TieFolder implements MailObject, MessageInterface
Modifier and Type | Field and Description |
---|---|
static String |
ANSWERED_ATTRIBUTE
Name of the Answered Attribute
|
static String |
BCCADDRESS_ATTRIBUTE
Name of the BccAddress Attribute
|
static String |
BYTECOUNT_ATTRIBUTE
Name of the ByteCount Attribute
|
static String |
CCADDRESS_ATTRIBUTE
Name of the CcAddress Attribute
|
static String |
CLASS_NAME
This class name for this class.
|
static String |
CONTENTDISPOSITION_ATTRIBUTE
Name of the ContentDisposition Attribute
|
static String |
CONTENTTRANSFERENCODING_ATTRIBUTE
Name of the ContentTransferEncoding Attribute
|
static String |
CONTENTTYPE_ATTRIBUTE
Name of the ContentType Attribute
|
static String |
CONTENTTYPEPARAMETERS_ATTRIBUTE
Name of the ContentTypeParameters Attribute
|
static String |
DRAFT_ATTRIBUTE
Name of the Draft Attribute
|
static String |
FLAGGED_ATTRIBUTE
Name of the Flagged Attribute
|
static String |
FROMADDRESS_ATTRIBUTE
Name of the FromAddress Attribute
|
static String |
INREPLYTO_ATTRIBUTE
Name of the InReplyTo Attribute
|
static String |
LINECOUNT_ATTRIBUTE
Name of the LineCount Attribute
|
static String |
MESSAGEID_ATTRIBUTE
Name of the MessageId Attribute
|
static String |
MESSAGELOCK_ATTRIBUTE
Name of the MessageLock Attribute
|
static String |
MESSAGEUID_ATTRIBUTE
Name of the MessageUID Attribute
|
static String |
RECENT_ATTRIBUTE
Name of the Recent Attribute
|
static String |
REPLYTO_ATTRIBUTE
Name of the ReplyTo Attribute
|
static String |
RFC822DATE_ATTRIBUTE
Name of the RFC822Date Attribute
|
static String |
RFC822HEADER_ATTRIBUTE
Name of the RFC822Header Attribute
|
static String |
RFC822SIZE_ATTRIBUTE
Name of the RFC822Size Attribute
|
static String |
SEEN_ATTRIBUTE
Name of the Seen Attribute
|
static String |
SENDER_ATTRIBUTE
Name of the Sender Attribute
|
static String |
SUBJECT_ATTRIBUTE
Name of the Subject Attribute
|
static String |
TOADDRESS_ATTRIBUTE
Name of the ToAddress Attribute
|
SYSTEMOPTIONVALUE_FOLDER_DEPTH_DEEPEST, SYSTEMOPTIONVALUE_FOLDER_DEPTH_MUST_BE_EMPTY, SYSTEMOPTIONVALUE_FOLDER_DEPTH_NONE
ACL_ATTRIBUTE, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, FLAG_CATEGORY_EXISTS, FLAG_CONFIGURATIONCATEGORY_EXISTS, FLAG_MARKED, FLAG_NOINFERIOR, FLAG_NOSELECT, FLAG_NTFS_ARCHIVE, FLAG_NTFS_HIDDEN, FLAG_NTFS_READONLY, FLAG_NTFS_SYSTEM, FLAG_UNMARKED, FLAGS_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, LOCKENTRIES_ATTRIBUTE, LOCKOBJECT_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PRIMARYPARENTFOLDER_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE, RESOLVEDPUBLICOBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
MESSAGEOBJECT_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
Message(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a Message object - standard variant.
|
Modifier and Type | Method and Description |
---|---|
void |
clearRecent()
clearRecent()
Clear the recent flag
|
String[] |
getBccList() |
long |
getByteCount()
getByteCount()
Get the byte count
|
String[] |
getCcList() |
String |
getContentType()
getContentType()
Get the content type of the message
|
PropertyBundle |
getContentTypeParameter()
getContentTypeParameter()
Get the content type parameter of the message
|
int |
getCount()
getCount()
Get the number of body parts in the message
This is part of the MultipartDataSource interface.
|
String[] |
getFromList() |
InputStream |
getInputStream()
getInputStream()
Get an input stream representing the data
This is part of the DataSource interface.
|
String |
getInReplyTo()
getInReplyTo()
Get the InReplyTo value as a string array
|
long |
getLineCount()
getLineCount()
Get the number of lines
|
String |
getMessageId()
getMessageID()
Get the message ID
|
PublicObject |
getMessageObject()
getMessageObject()
Get the Message Object
For use by Web-UI and Win-Ui finds
|
long |
getMessageObjectId()
getMessageObjectId()
Get the id for the message object
|
OutputStream |
getOutputStream()
getOutputStream()
Get an OutputStream to write data to the message.
|
static LibraryObject |
getOwningObject(LibraryObject lo)
getOwningObject()
Get the LibraryObject that owns this object
This is for use in the Web-UI and Win-Ui finds
|
Date |
getReceivedDate() |
String[] |
getReplyToList() |
Date |
getRFC822Date()
getRFC822Date()
Get the RFC822 Date
|
String[] |
getRFC822Header()
getRFC822Header()
Get the RFC822 Header for the message
This is the entire consolidated header
|
int |
getRFC822Size() |
String[] |
getSenderList() |
String |
getSubject() |
String[] |
getToList() |
long |
getUid()
getUid()
Get the uid
|
boolean |
isAnswered()
isAnswered()
Check is the Answered attribute
|
boolean |
isDraft()
isDraft()
Check if the message is a draft
|
boolean |
isFlagged()
isFlagged()
Check if the flagged attribute is true
|
boolean |
isMsgLocked()
isMsgLocked()
Check if the message is locked
|
boolean |
isRecent() |
boolean |
isSeen()
isSeen()
Check is the message isSeen
|
boolean |
setAnswered(boolean flag)
setAnswered()
Set the answered attribute
|
boolean |
setDraft(boolean flag)
setDraft()
Set the draft attribute to be true
|
boolean |
setFlagged(boolean flag)
setFlagged()
set the flagged attribute
|
void |
setMessageObjectId(long oid)
setMessageObjectId()
Set the message object id
|
boolean |
setSeen(boolean flag)
setSeen()
Set the seen attribute
|
protected void |
setUid(long uid)
setUid()
Get the uid
|
addItem, addItem, addItems, auditUpdated, capabilities, checkExistenceOfPublicObjectByPath, constructFolder, constructFolderArray, constructFolderVector, createSecuredDocument, createUniqueName, createUniqueName, deepFree, exists, fetchItemCount, fetchSubfolderCount, find, findPublicObjectByPath, free, getGlobalAuditEventExpirationPeriod, getGlobalAuditTypeList, getItemCount, getItems, getResolvedItems, getSortSpecification, getSubfolderCount, handleAdminModeChange, handleDefaultFolderOptionChange, handleEvent, hasItems, hasSubfolders, initializeSubfolderIndication, isAuditAdministrator, isValidEventType, isValidNameForNewObject, lock, lock, moveItems, newGetItems, postCreate, preFree, removeAllItems, removeItem, removeItem, removeItems, reportFolderCreated, reportFolderFreed, reportFolderItemAdded, reportFolderItemRemoved, resetItems, resolveSortSpecification, setDomainVisibleSecurity, setSortSpecification, unlock, vectorToFolderArray, verifyAddItemCapability, verifyRemoveItemCapability, verifyValidAuditDomain
addAccess, addAttachment, addCategory, addFlags, addMessageList, addRelationship, auditPublicObjectLocked, auditPublicObjectUnlocked, canAcquireManualLock, canReleaseDavLock, canReleaseLock, canReleaseManualLock, checkAuditViewCapability, checkCapabilities, checkCapability, checkEffectiveAccess, checkEffectiveAccess, checkLockAccess, checkParentFolderCapability, checkVersioned, clearFlags, constructPublicObject, constructPublicObjectArray, constructPublicObjectVector, containsLockEntry, copy, coreAutoFolderingEnabled, createCategories, createDedicatedPolicyPropertyBundle, delete, deriveEffectiveAccessLevel, findAttachmentRelation, findOrAddActivityRecord, findOrAddActivityRecord, findOrAddActor, findOrAddActor, findOrAddMessageList, findOrAddMessageList, getAcl, getActivityRecord, getActor, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAttachmentRelation, getAttachmentRelations, getAttachments, getCapabilities, getCategories, getCategories, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getCreateDate, getCreator, getDefaultAccessLevel, getDefinitionForSimplePropertyUpdates, getDeletor, getDescription, getEffectiveAccessLevel, getEffectiveAccessLevel, getExpirationDate, getFamily, getFirstCategory, getFirstVersion, getFlags, getFolderReferences, getFolderReferences, getFolderReferencesSortSpecification, getLastModifier, getLastModifyDate, getLastVersion, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinks, getLockEntries, getLockEntries, getLockObject, getLockRestrictions, getLockTypeAuditProperties, getMessageList, getNextVersion, getOwner, getPolicyBundle, getPolicyLists, getPreviousVersion, getPrimaryFolderPath, getPrimaryParentFolder, getPrimaryParentFolder, getRelations, getReservationComment, getReservationDate, getReservor, getResolvedPublicObject, getRestrictingLockEntries, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSecuringPublicObject, getSingletonVersionDescription, getVersionNumber, getVersions, getVersionSeries, getWorkingCopy, grantAccess, handleCopy, handleCreate, handleUnlockAll, hasActivityRecord, hasActor, hasAttachmentRelation, hasCategories, hasCategory, hasConfigurationCategories, hasMessageList, hasNameAttribute, hasPropertyBundleAttribute, isAttachment, isDeleted, isLatestVersion, isLocked, isLockingSupported, isOwner, isReserved, isReservedByCurrentUser, isVersionable, isVersioned, isWorkingCopy, listLeftwardRelationships, listRightwardRelationships, lock, lock, lock, lock, newVersion, postCopy, postSecurityChangedEvent, postUpdate, preCopy, preCreate, preUpdate, putPolicy, reassociateLinks, removeAllPolicies, removeAttachment, removePolicy, removePolicy, removeRelationship, reserveNext, resetFolderReferences, resolveFolderReferenceSortSpecification, revokeAccess, revokeAllAccess, setAcl, setDescription, setExpirationDate, setFlags, setFolderReferencesSortSpecification, setLockEntries, setLockEntrySecurity, setOwner, setOwnerByName, setPolicyBundle, setPolicyLists, setSecuringPublicObject, toPublicObjectArray, undelete, unlock, unlock, unlockAll, unReserve, updateFlags, updateLock, vectorPublicObjectElement, vectorToPublicObjectArray, verifyAddRelationshipCapability, verifyCapabilities, verifyCapability, verifyDeleteCapability, verifyLockCapability, verifyRemoveRelationshipCapability, verifyUnlockCapability, verifyVersionSeries
added, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, prePostAuditEvent, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
free, getCreateDate, getId, getLastModifyDate, getName, getSession
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String FROMADDRESS_ATTRIBUTE
public static final String TOADDRESS_ATTRIBUTE
public static final String CCADDRESS_ATTRIBUTE
public static final String BCCADDRESS_ATTRIBUTE
public static final String SENDER_ATTRIBUTE
public static final String SUBJECT_ATTRIBUTE
public static final String RFC822DATE_ATTRIBUTE
public static final String REPLYTO_ATTRIBUTE
public static final String INREPLYTO_ATTRIBUTE
public static final String MESSAGEID_ATTRIBUTE
public static final String RFC822SIZE_ATTRIBUTE
public static final String RFC822HEADER_ATTRIBUTE
public static final String CONTENTTYPE_ATTRIBUTE
public static final String CONTENTTYPEPARAMETERS_ATTRIBUTE
public static final String MESSAGEUID_ATTRIBUTE
public static final String RECENT_ATTRIBUTE
public static final String SEEN_ATTRIBUTE
public static final String FLAGGED_ATTRIBUTE
public static final String ANSWERED_ATTRIBUTE
public static final String DRAFT_ATTRIBUTE
public static final String MESSAGELOCK_ATTRIBUTE
public static final String BYTECOUNT_ATTRIBUTE
public static final String LINECOUNT_ATTRIBUTE
public static final String CONTENTTRANSFERENCODING_ATTRIBUTE
public static final String CONTENTDISPOSITION_ATTRIBUTE
protected Message(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibSessionid
- String version of the object IDclassId
- Long version of the class IDdata
- the object's dataIfsException
public long getByteCount() throws IfsException
IfsException
public long getLineCount() throws IfsException
IfsException
public long getUid() throws IfsException
IfsException
protected void setUid(long uid) throws IfsException
IfsException
public String[] getFromList() throws IfsException
getFromList
in interface MessageInterface
IfsException
public String[] getToList() throws IfsException
getToList
in interface MessageInterface
IfsException
public String[] getCcList() throws IfsException
getCcList
in interface MessageInterface
IfsException
public String[] getBccList() throws IfsException
getBccList
in interface MessageInterface
IfsException
public String[] getSenderList() throws IfsException
getSenderList
in interface MessageInterface
IfsException
public String[] getReplyToList() throws IfsException
IfsException
public boolean isRecent() throws IfsException
IfsException
public void clearRecent() throws IfsException
IfsException
public boolean isMsgLocked() throws IfsException
IfsException
public boolean isSeen() throws IfsException
IfsException
public boolean setSeen(boolean flag) throws IfsException
IfsException
public boolean isDraft() throws IfsException
IfsException
public boolean setDraft(boolean flag) throws IfsException
IfsException
public boolean isFlagged() throws IfsException
IfsException
public boolean setFlagged(boolean flag) throws IfsException
IfsException
public boolean isAnswered() throws IfsException
IfsException
public boolean setAnswered(boolean flag) throws IfsException
IfsException
public Date getReceivedDate() throws IfsException
IfsException
public Date getRFC822Date() throws IfsException
IfsException
public String getSubject() throws IfsException
IfsException
public String getInReplyTo() throws IfsException
IfsException
public String getMessageId() throws IfsException
IfsException
public String getContentType() throws IfsException
IfsException
public PropertyBundle getContentTypeParameter() throws IfsException
IfsException
public int getRFC822Size() throws IfsException
IfsException
public String[] getRFC822Header() throws IfsException
IfsException
public long getMessageObjectId() throws IfsException
IfsException
public void setMessageObjectId(long oid) throws IfsException
IfsException
public PublicObject getMessageObject() throws IfsException
getMessageObject
in interface MailObject
IfsException
- (IFS-11030) if an error occurspublic static LibraryObject getOwningObject(LibraryObject lo) throws IfsException
IfsException
public InputStream getInputStream() throws IOException
IOException
public OutputStream getOutputStream() throws IOException
IOException
public int getCount()
Copyright © 2023. All rights reserved.