|
Oracle Collaboration Suite Discussions Java API Reference 10g (10.1.1) Part No. B16232-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the most recently posted message in the oracle discussions application.
Last post is decided across all the users who are using the discussions instance.
Useful in quickly accessing the most recent information posted to the discussions.
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.
Sample code snippet illustrating the usage of TdLastPost
//tdc is an instance of the TdContainer //Retrieve the last post object from the tdcontainer TdLastPost tdlpi = tdc.getLastPost(); //Retrieve various fields from the tdlastpost object if (tdlpi != null) { InternetAddress from = (InternetAddress) tdlpi.getLastPostAuthor(); if (from != null) { rsschnl.setLastPostAuthor(from.getPersonal()); } rsschnl.setPubDate(tdlpi.getLastPostDate()); rsschnl.setLastPostDate(tdlpi.getLastPostDate());
TdMessage.java
Method Summary | |
javax.mail.Address |
getLastPostAuthor() Returns the address of the author of the last post |
long |
getLastPostBoardId() Returns the id of the board where the last message was posted. |
java.util.Date |
getLastPostDate() Returns the date when the last post occured |
int |
getLastPostMessageId() Returns the id of the last posted message. |
int |
getLastPostThreadId() Returns the id of the thread where the last message was posted. |
Method Detail |
public java.util.Date getLastPostDate()
public javax.mail.Address getLastPostAuthor()
public long getLastPostBoardId()
public int getLastPostThreadId()
public int getLastPostMessageId()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |