|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.discussions.sdk.TdMessage | +--oracle.discussions.sdk.TdThread
TdThread is a TdMessage with additional accessors for thread specific information. In addition to the pre-fecthed values of TdMessage, TdThread also has pre-fetched the following fields:
Oracle discussions elements names have been changed in the webui compared to that of sdk portion. The existing names to the new names mapping is as shown.
TdMessage
, TdBoard
Field Summary | |
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent |
s_dmsAddToFavorites |
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent |
s_dmsGetMessage |
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent |
s_dmsGetMessages |
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent |
s_dmsLock |
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent |
s_dmsMove |
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent |
s_dmsRemoveFromFavorites |
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent |
s_dmsUnlock |
protected static oracle.dms.instrument.Noun |
s_nThread |
Fields inherited from class oracle.discussions.sdk.TdMessage |
_evtfac, _evtpub, _flags, _htRb, _logger, _msgInfo, _tdb, _tdBodyInfo, _tdbs, _tdr, _tdsession, s_dmsDelete, s_dmsGetBodyPlainText, s_dmsGetBodyRichText, s_dmsGetContent, s_dmsGetNumberOfReplies, s_dmsGetParent, s_dmsUndelete, s_nMessage |
Method Summary | |
void |
addToFavorites() Adds this thread to the list of favorite threads for this user. |
oracle.discussions.sdk.impl.data.TdLastPostInfo |
getLastPost() Returns information on the last post to the thread The Last post thread is the one which is posted latest in time. |
TdMessage |
getMessage(int iMsgId) Returns a message of the thread given its msgId. |
int |
getMessageCount() Returns the number of messages in the thread A thread can have many messages as long as they stem from the thread's root. |
TdIterator |
getMessages() Returns the messages of the Thread. |
TdIterator |
getMessages(boolean bSortByPostDate) Returns the messages of the Thread. |
int |
getNumberOfReplies() Returns the number of replies for this message A single message can have many replies, each of which is stemming from the source message root. |
TdMessagePermissions |
getPermissions() Returns permissions on this Thread for the currently connected user. |
boolean |
isFavorite() Returns true if this thread is currently marked as a favorite thread for this user. |
boolean |
isLocked() Returns a boolean status indicating if the thread is locked |
boolean |
isLocked(boolean bReload) Returns true if the thread is locked |
void |
lock() Sets the status of a thread to locked. |
TdThread |
move(TdBoard tdbTo) Moves this thread and all its replies to the supplied Board. |
void |
removeFromFavorites() Remove this thread from the list of favorite threads for this user. |
void |
unlock() Sets the status of a thread to unlocked. |
protected void |
updateUserFlags(javax.mail.Flags flags) Sets the thread user's flags marking new message since last visit/session |
Methods inherited from class oracle.discussions.sdk.TdMessage |
clip, delete, erase, getAnnotations, getAttachmentBodyParts, getAttachmentById, getAttachments, getBoard, getBoardSettings, getBodyPlainText, getBodyRichText, getContent, getFlags, getFrom, getLastAnnotation, getLevel, getOracleMessageId, getOracleMessageUid, getOracleThreadId, getParent, getParentMessageId, getResourceBundle, getResourceBundleName, getRfc822MessageId, getRfc822References, getRole, getSentDate, getSize, getSubject, getThread, getXPriority, hasAttachments, invalidateCache, isByModerator, isDeleted, isNew, isNewSinceLastVisit, isNewSinceSession, refreshRole, setFlag, setFlags, setParent, toString, toString, undelete |
Field Detail |
protected static oracle.dms.instrument.Noun s_nThread
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent s_dmsAddToFavorites
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent s_dmsGetMessage
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent s_dmsGetMessages
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent s_dmsUnlock
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent s_dmsLock
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent s_dmsMove
protected static oracle.discussions.sdk.impl.data.dms.TdPhaseEvent s_dmsRemoveFromFavorites
Method Detail |
public int getMessageCount() throws TdException, javax.mail.MessagingException
public int getNumberOfReplies() throws TdException, javax.mail.MessagingException
public oracle.discussions.sdk.impl.data.TdLastPostInfo getLastPost() throws TdException, javax.mail.MessagingException
public TdMessage getMessage(int iMsgId) throws TdException, javax.mail.MessagingException
iMsgId
- public TdIterator getMessages() throws TdException, javax.mail.MessagingException
public TdIterator getMessages(boolean bSortByPostDate) throws TdException, javax.mail.MessagingException
public boolean isFavorite() throws TdException
public void addToFavorites() throws TdException
public void removeFromFavorites() throws TdException
public TdThread move(TdBoard tdbTo) throws TdException, javax.mail.MessagingException
tdbTo
- the destination board.public void lock() throws TdException, javax.mail.MessagingException
public void unlock() throws TdException, javax.mail.MessagingException
public boolean isLocked() throws javax.mail.MessagingException
public boolean isLocked(boolean bReload) throws javax.mail.MessagingException
bReload
- public TdMessagePermissions getPermissions() throws TdException
protected void updateUserFlags(javax.mail.Flags flags) throws TdException, javax.mail.MessagingException
Flags
-
|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |