public class Rfc822Message extends TieDocument implements 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 |
CCADDRESS_ATTRIBUTE
Name of the CcAddress Attribute
|
static String |
CLASS_NAME
This class name for this class.
|
static String |
DRAFT_ATTRIBUTE
Name of the Draft Attribute
|
static String |
ENVELOPEFROM_ATTRIBUTE
Name of the Sender Attribute
|
static String |
ENVELOPERECIPIENTS_ATTRIBUTE
Name of the Sender Attribute
|
static String |
FLAGGED_ATTRIBUTE
Name of the Flagged Attribute
|
static String |
FROMADDRESS_ATTRIBUTE
Name of the FromAddress Attribute
|
static String |
LOOPDETECTED_ATTRIBUTE
Name of the Loop Detected Attribute
|
static String |
MESSAGEUID_ATTRIBUTE
Name of the MessageUID Attribute
|
static String |
RECENT_ATTRIBUTE
Name of the Recent 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 |
SPAMFLAGS_ATTRIBUTE
Name of the Spam Flag Attribute
|
static String |
SUBJECT_ATTRIBUTE
Name of the Subject Attribute
|
static String |
TOADDRESS_ATTRIBUTE
Name of the ToAddress Attribute
|
CONTENTOBJECT_ATTRIBUTE, CONTENTQUOTA_ATTRIBUTE, INITIALLIFECYCLEDATE_ATTRIBUTE, LIFECYCLEDATE_ATTRIBUTE, LIFECYCLEPOLICY_ATTRIBUTE, LIFECYCLEPOLICYENTRYID_ATTRIBUTE, LIFECYCLEPOLICYID_ATTRIBUTE, READBYOWNER_ATTRIBUTE, RETENTIONPOLICY_ATTRIBUTEACL_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_ATTRIBUTEDOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session| Modifier | Constructor and Description |
|---|---|
protected |
Rfc822Message(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a Rfc822Message object - standard variant.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearRecent()
clearRecent()
Clear the recent flag
|
String[] |
getBccList() |
BodyPart |
getBodyPart()
getBodyPart
Get the root body part
|
BodyPart |
getBodyPart(String index)
getBodyPart
Get the indicated body part.
|
String[] |
getCcList() |
int |
getCount()
getCount()
Get the number of body parts in the message
This is part of the MultipartDataSource interface.
|
String |
getEnvelopeFrom() |
String[] |
getEnvelopeRecipientList() |
String[] |
getFromList() |
InputStream |
getInputStream()
getInputStream()
Get an input stream representing the data
This is part of the DataSource interface.
|
OutputStream |
getOutputStream()
getOutputStream()
Get an OutputStream to write data to the message.
|
Date |
getReceivedDate() |
Date |
getRFC822Date()
getRFC822Date()
Get the RFC822 Date
|
String[] |
getRfc822Header()
getBodyPart()
Get the indicated body part.
|
long |
getRFC822Size() |
String[] |
getSenderList() |
Dictionary |
getSpamFlags()
getSpamFlags()
Get the Spam Flag list
|
String |
getSubject() |
String[] |
getToList() |
long |
getUid()
getUid()
Get the uid
|
boolean |
inLoop() |
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 |
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
|
boolean |
setSeen(boolean flag)
setSeen()
Set the seen attribute
|
protected void |
setUid(long uid)
setUid()
Get the uid
|
auditContentRead, auditLifecyclePolicyCleared, auditLifecyclePolicySet, auditLifecycleStateUpdated, auditPublicObjectLocked, auditPublicObjectUnlocked, auditRetentionPolicyCleared, auditRetentionPolicySet, auditUpdated, capabilities, constructDocument, constructDocumentVector, filterContent, generateFilename, generateSummary, generateThemes, getCharacterSet, getClassId, getContentByRandomAccess, getContentModificationDate, getContentObject, getContentQuota, getContentReader, getContentRowId, getContentSize, getContentStream, getCurrentLifecyclePolicyEntry, getFilteredContent, getFormat, getInitialLifecycleDate, getLanguage, getLifecycleDate, getLifecyclePolicy, getLifecycleState, getMedia, getMimeType, getNextLifecyclePolicyEntry, getRandomAccessContent, getRandomAccessContent, getRetentionPolicy, getSummary, getThemes, isBinaryFormat, isReadByOwner, isReadByUser, isValidEventType, postCreate, preCreate, preFree, preUpdate, reportDocumentCreated, reportDocumentFreed, setCharacterSet, setContent, setContentQuota, setFormat, setLanguage, setLifecycleDate, setLifecyclePolicy, setReadByUser, setRetentionPolicy, updateContentByRandomAccess, vectorDocumentElement, vectorToDocumentArray, verifyContentObjectaddAccess, addAttachment, addCategory, addFlags, addMessageList, addRelationship, 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, free, 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, getPrimaryFolderPathIds, 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, 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, verifyVersionSeriesadded, 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, handleAdminModeChange, handleEvent, 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, verifyTargetObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitfree, getCreateDate, getId, getLastModifyDate, getName, getSessiongetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final String CLASS_NAME
public static final String ENVELOPEFROM_ATTRIBUTE
public static final String ENVELOPERECIPIENTS_ATTRIBUTE
public static final String SENDER_ATTRIBUTE
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 SUBJECT_ATTRIBUTE
public static final String RFC822DATE_ATTRIBUTE
public static final String RFC822SIZE_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 SPAMFLAGS_ATTRIBUTE
public static final String DRAFT_ATTRIBUTE
public static final String RFC822HEADER_ATTRIBUTE
public static final String LOOPDETECTED_ATTRIBUTE
protected Rfc822Message(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session - current LibrarySessionid - the object IDdata - LibraryObjectDataIfsExceptionpublic long getUid()
throws IfsException
IfsExceptionprotected void setUid(long uid)
throws IfsException
IfsExceptionpublic String getEnvelopeFrom() throws IfsException
IfsExceptionpublic String[] getEnvelopeRecipientList() throws IfsException
IfsExceptionpublic String[] getSenderList() throws IfsException
getSenderList in interface MessageInterfaceIfsExceptionpublic String[] getFromList() throws IfsException
getFromList in interface MessageInterfaceIfsExceptionpublic String[] getToList() throws IfsException
getToList in interface MessageInterfaceIfsExceptionpublic String[] getCcList() throws IfsException
getCcList in interface MessageInterfaceIfsExceptionpublic String[] getBccList() throws IfsException
getBccList in interface MessageInterfaceIfsExceptionpublic boolean isRecent()
throws IfsException
IfsExceptionpublic void clearRecent()
throws IfsException
IfsExceptionpublic boolean isSeen()
throws IfsException
IfsExceptionpublic boolean setSeen(boolean flag)
throws IfsException
IfsExceptionpublic boolean isDraft()
throws IfsException
IfsExceptionpublic boolean setDraft(boolean flag)
throws IfsException
IfsExceptionpublic boolean isFlagged()
throws IfsException
IfsExceptionpublic boolean setFlagged(boolean flag)
throws IfsException
IfsExceptionpublic boolean isAnswered()
throws IfsException
IfsExceptionpublic boolean setAnswered(boolean flag)
throws IfsException
IfsExceptionpublic Dictionary getSpamFlags() throws IfsException
IfsExceptionpublic Date getReceivedDate() throws IfsException
IfsExceptionpublic Date getRFC822Date() throws IfsException
IfsExceptionpublic String getSubject() throws IfsException
IfsExceptionpublic long getRFC822Size()
throws IfsException
IfsExceptionpublic InputStream getInputStream()
public OutputStream getOutputStream() throws IOException
IOExceptionpublic int getCount()
public BodyPart getBodyPart() throws IfsException
IfsExceptionpublic BodyPart getBodyPart(String index) throws IfsException
index - IfsExceptionpublic String[] getRfc822Header() throws IfsException
IfsExceptionpublic boolean inLoop()
throws IfsException
IfsExceptionCopyright © 2025. All rights reserved.