|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICmTopic
A topic is an individual's posting to a forum. It is possible to reply to topics, as continuation of the discussion.
| Field Summary | |
|---|---|
static ItemClass |
CLASS
|
static Key |
FORUM_PARENT_ID
The key representing the ID of the forum that this topic, or topic reply, is located in. |
static int |
KEYID_FORUM_PARENT_ID
The int ID for the FORUM_PARENT_ID key. |
static int |
KEYID_MASTER_TOPIC_ID
The int ID for the MASTER_TOPIC_ID key. |
static Key |
MASTER_TOPIC_ID
The key representing the ID of the topic that this topic is a child of. |
static Key[] |
MINIMUM_TOPIC_KEYS
The minimum required keys when fetching a topic. |
| Fields inherited from interface com.compoze.collab.IItem |
|---|
ID, ITEM_CLASS, KEYID_ID, KEYID_ITEM_CLASS, KEYID_PARENT_ID, MINIMUM_ITEM_KEYS, PARENT_ID |
| Fields inherited from interface com.compoze.collab.beacm.ICmTopicSupport |
|---|
DEEP_TOPIC_COUNT, KEYID_DEEP_TOPIC_COUNT, KEYID_TOPIC_COUNT, TOPIC_COUNT |
| Fields inherited from interface com.compoze.collab.beacm.ICmForumItem |
|---|
AUTHOR, BODY, CONTENT_TYPE, DATE_CREATED, DATE_LAST_MODIFIED, KEYID_AUTHOR, KEYID_BODY, KEYID_CONTENT_TYPE, KEYID_DATE_CREATED, KEYID_DATE_LAST_MODIFIED, KEYID_KEYWORDS, KEYID_MASK_AUTHOR, KEYWORDS, MASK_AUTHOR |
| Fields inherited from interface com.compoze.collab.beacm.ICmItem |
|---|
ATTACHMENT_COUNT, KEYID_ATTACHMENT_COUNT, KEYID_OWNER, KEYID_VISIBILITY, OWNER, VISIBILITY |
| Fields inherited from interface com.compoze.collab.IAttachmentSupport |
|---|
ATTACHMENTS, HAS_ATTACHMENT, KEYID_ATTACHMENTS, KEYID_HAS_ATTACHMENT |
| Fields inherited from interface com.compoze.collab.beacm.ICmRelatedContent |
|---|
KEYID_LINK, LINK |
| Method Summary | |
|---|---|
String |
getMasterTopicID()
Gets the ID of the master topic for this topic. |
ICmForum |
getParentForum()
Gets the parent topic for this topic. |
ICmForum |
getParentForum(FetchProfile profile)
Gets the parent topic for this topic. |
String |
getParentForumID()
Gets the ID of the parent forum for this topic. |
ICmTopic |
getParentTopic()
Gets the parent topic for this topic. |
ICmTopic |
getParentTopic(FetchProfile qp)
Gets the parent topic for this topic. |
ICmTopic[] |
getTopics()
Gets the sub-topics for this topic. |
ICmTopic[] |
getTopics(QueryProfile qp)
Gets the sub-topics for this topic. |
ICmTopicList |
getTopics(QueryProfile qp,
int iPageSize,
int iPage)
Gets the sub-topics for this topic. |
ICmTopic |
reply()
Replies to the current topic. |
| Methods inherited from interface com.compoze.collab.IItem |
|---|
commit, containsKey, containsKey, copyProperties, copyTo, delete, fetchProperties, getAttribute, getEnum, getID, getInputStream, getItemClass, getOutputStream, getParent, getParent, getParentID, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getReader, getRootContainer, getSession, getWriter, isMissing, moveTo, removeAttribute, removeProperty, setAttribute, setProperties, setProperty, setProperty, setProperty |
| Methods inherited from interface com.compoze.collab.beacm.ICmTopicSupport |
|---|
addTopic, getDeepTopicCount, getTopicCount |
| Methods inherited from interface com.compoze.collab.beacm.ICmForumItem |
|---|
getAuthor, getBody, getBodyContentType, getDateCreated, getDateLastModified, getKeywords, getMaskAuthor, getName, setAuthor, setBody, setKeywords, setMaskAuthor, setName |
| Methods inherited from interface com.compoze.collab.IAttachmentSupport |
|---|
addAttachment, getAttachment, getAttachmentCount, getAttachments, hasAttachment |
| Methods inherited from interface com.compoze.collab.beacm.ICmRelatedContent |
|---|
getLinks, setLinks |
| Methods inherited from interface com.bea.apps.groupspace.content.ContentBase |
|---|
getContentType, getCreatedBy, getCreatedDate, getCurrentParentFolderId, getDestinationFolderId, getDisplayName, getIcon, getId, getModifiedBy, getModifiedDate, getName, getNode, getNodePath, getNodeProperties, getNodeProperty, getNodeType, getParentId, isContentNode, isHierarchyNode, setCurrentParentFolderId, setDestinationFolderId, setNode, setProperty, setProperty |
| Field Detail |
|---|
static final int KEYID_FORUM_PARENT_ID
int ID for the FORUM_PARENT_ID key.
static final int KEYID_MASTER_TOPIC_ID
int ID for the MASTER_TOPIC_ID key.
static final Key FORUM_PARENT_ID
static final Key MASTER_TOPIC_ID
IItem.ID.
static final ItemClass CLASS
static final Key[] MINIMUM_TOPIC_KEYS
| Method Detail |
|---|
ICmTopic getParentTopic()
throws CollaborationException
IItem.getParent().
That returns the ICmForum this topic is located.
null if the topic is at the
forum 'base' level
CollaborationException - if there was an error getting the parent
topic
ICmTopic getParentTopic(FetchProfile qp)
throws CollaborationException
IItem.getParent().
That returns the ICmForum this topic is located.
null if the topic is at the
forum 'base' level
CollaborationException - if there was an error getting the parent
topic
String getParentForumID()
throws CollaborationException
IItem.getParent().
That returns the ICmForum this topic is located.
null if the topic is at the
forum 'base' level
CollaborationException - if there was an error getting the parent
topic
ICmForum getParentForum()
throws CollaborationException
IItem.getParent().
That returns the ICmForum this topic is located.
null if the topic is at the
forum 'base' level
CollaborationException - if there was an error getting the parent
topic
ICmForum getParentForum(FetchProfile profile)
throws CollaborationException
IItem.getParent().
That returns the ICmForum this topic is located.
null if the topic is at the
forum 'base' level
CollaborationException - if there was an error getting the parent
topic
ICmTopic[] getTopics()
throws CollaborationException
CollaborationException - if there was an error getting the topics for this forum
ICmTopic[] getTopics(QueryProfile qp)
throws CollaborationException
qp - the query profile to use when getting the topics
CollaborationException - if there was an error getting the topics for this forum
ICmTopicList getTopics(QueryProfile qp,
int iPageSize,
int iPage)
throws CollaborationException
qp - the query profile to use when getting the topicsiPageSize - the page sizeiPage - the page number
CollaborationException - if there was an error getting the topics for this forum
ICmTopic reply()
throws CollaborationException
CollaborationException - if there was an error creating a new
topic
String getMasterTopicID()
throws CollaborationException
IItem.ID if the
topic is at the forum 'base' level and is considered a master
topic itself.
CollaborationException - if there was an error getting the master
topic.MASTER_TOPIC_ID
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||