|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.TypedResource
com.starteam.LiveObject
com.starteam.TrackedObject
com.starteam.VersionedObject
com.starteam.ViewMember
com.starteam.Item
com.starteam.TreeItem
com.starteam.Topic
public class Topic
Represents a StarTeam Topic.
| Nested Class Summary | |
|---|---|
static class |
Topic.Priority
Priority of the Topic |
static class |
Topic.Status
Status of the Topic |
static class |
Topic.TopicType
Type of the Topic |
static class |
Topic.Type
Type meta-data (schema) for Topic object instances. |
static class |
Topic.WebCacheTopic
Item accessor for cached SDK Topic items contained objects are obtained from the artifact cache |
| Nested classes/interfaces inherited from class com.starteam.TreeItem |
|---|
TreeItem.MoSCoW, TreeItem.WebCacheTreeItem |
| Nested classes/interfaces inherited from class com.starteam.Item |
|---|
Item.WebCacheItem |
| Nested classes/interfaces inherited from class com.starteam.ViewMember |
|---|
ViewMember.LockType, ViewMember.MyLock, ViewMember.ShareState, ViewMember.WebCacheViewMember |
| Nested classes/interfaces inherited from class com.starteam.VersionedObject |
|---|
VersionedObject.WebCacheVersionedObject |
| Nested classes/interfaces inherited from class com.starteam.TrackedObject |
|---|
TrackedObject.WebCacheTrackedObject |
| Nested classes/interfaces inherited from class com.starteam.LiveObject |
|---|
LiveObject.WebCacheLiveObject |
| Nested classes/interfaces inherited from class com.starteam.TypedResource |
|---|
TypedResource.BranchState |
| Constructor Summary | |
|---|---|
Topic(Topic parentTopic)
Creates a new topic that is a subtopic of an existing topic. |
|
| Method Summary | |
|---|---|
void |
addRecipient(User user)
Adds the specified user object as a recipient for this topic. |
boolean |
amIRecipient()
Returns a value indicating whether the logged on user is a recipient of this topic. |
static Topic |
create(Folder prnt)
Create a Topic in the specified parent folder. |
int |
getNumber()
Returns the topic number of this topic. |
int |
getParentTopic()
Gets the ObjectID of this topic's parent topic. |
Topic.Priority |
getPriority()
Returns the Priority of this topic. |
Topic.Type.PropertyCollection |
getProperties()
Gets the PropertyCollection for this Topic. |
int |
getRecipientCount()
Returns the number of recipients assigned to this topic. |
User[] |
getRecipients()
Returns the IDs of the users assigned as recipients of this topic. |
Topic.Status |
getStatus()
Returns the Status of this topic. |
java.lang.String |
getText()
Returns the text or body of the topic. |
java.lang.String |
getTitle()
Returns the title or subject of the topic. |
void |
removeRecipient(User user)
Removes the specified user object as a recipient from this topic. |
void |
setPriority(Topic.Priority priority)
Sets the Priority of this topic. |
void |
setStatus(Topic.Status status)
Sets the Status of this topic. |
void |
setText(java.lang.String text)
Sets the text or body of this topic. |
void |
setTitle(java.lang.String title)
Sets the title or subject of this topic. |
java.lang.String |
toString()
Returns the title of this topic. |
| Methods inherited from class com.starteam.TreeItem |
|---|
createChild, getChildren, getOrderProperty, getParent, getParentID, hasChildren, isEqualTo, moveTo, moveTo, remove, setAfter, setBefore, setBetween, setFirst, setLast, shareTo, smartShareTo, update |
| Methods inherited from class com.starteam.VersionedObject |
|---|
getBranchRevision, getRevisionNumber, getViewVersion, isFromHistory |
| Methods inherited from class com.starteam.TrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject |
|---|
getCreatedBy, getCreatedTime, toStarTeamURL |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.starteam.ISecurable |
|---|
getServer, getType |
| Constructor Detail |
|---|
public Topic(Topic parentTopic)
parentTopic - The parent topic.| Method Detail |
|---|
public Topic.Type.PropertyCollection getProperties()
public static Topic create(Folder prnt)
prnt - the parent folder
public int getParentTopic()
Topic.Type.ParentTopicIDProperty.NAMEpublic java.lang.String getTitle()
Topic.Type.TitleProperty.NAMEpublic void setTitle(java.lang.String title)
title - The new topic title.public java.lang.String getText()
LiveObject.Type.DescriptionProperty.NAMEpublic void setText(java.lang.String text)
text - The new text or body for this topic.public int getNumber()
Topic.Type.TopicNumberProperty.NAMEpublic Topic.Priority getPriority()
Topic.Type.PriorityProperty.NAMEpublic void setPriority(Topic.Priority priority)
priority - The new Priority for this topic.public Topic.Status getStatus()
Topic.Type.StatusProperty.NAMEpublic void setStatus(Topic.Status status)
status - The new Status for this topic.public int getRecipientCount()
Topic.Type.RecipientCountProperty.NAMEpublic User[] getRecipients()
Topic.Type.RecipientsProperty.NAMEpublic void addRecipient(User user)
user - the user object to add as a recipient for this topic,public void removeRecipient(User user)
user - the user object recipient to remove from this topic.public boolean amIRecipient()
Topic.Type.AmIRecipientProperty.NAME,
Topic.addRecipient(com.starteam.User),
Topic.removeRecipient(com.starteam.User),
Topic.getRecipients()public java.lang.String toString()
toString in class Item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||