|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.LiveObject.WebCacheLiveObject
com.starteam.TrackedObject.WebCacheTrackedObject
com.starteam.VersionedObject.WebCacheVersionedObject
com.starteam.ViewMember.WebCacheViewMember
com.starteam.Item.WebCacheItem
com.starteam.TreeItem.WebCacheTreeItem
com.starteam.Topic.WebCacheTopic
public static class Topic.WebCacheTopic
Item accessor for cached SDK Topic items contained objects are obtained from the artifact cache
| Method Summary | |
|---|---|
void |
addRecipient(User.WebCacheUser user)
Adds the specified user object as a recipient for this topic. |
static Topic.WebCacheTopic |
create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Creates a Topic on the server. |
static Topic.WebCacheTopic |
create(ArtifactCacheManager.Context cntxt,
Topic.WebCacheTopic parent)
Creates a Topic on the server. |
int |
getNumber()
Returns the topic number of this topic. |
Topic.Priority |
getPriority()
Returns the Priority of this topic. |
User.WebCacheUser[] |
getRecipients()
Returns 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.WebCacheUser 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. |
| Methods inherited from class com.starteam.TreeItem.WebCacheTreeItem |
|---|
create, create, getChildren, getParent, hasChildren, moveTo, setAfter, setBefore, setBetween, setFirst, setLast |
| Methods inherited from class com.starteam.Item.WebCacheItem |
|---|
create, getLabels, getLinks, getParentFolder, moveTo, moveTo |
| Methods inherited from class com.starteam.ViewMember.WebCacheViewMember |
|---|
getAttachments, getComment, getDisplayValue, getDotNotation, getExternalID, getExternalURL, getHistory, getLocker, getPresentationID, getRights, getShareTree, getTraces, getView, isDeleted, isFloating, isPinned, isUnread, lock, lock, modifyReadStatus, pinTo, setAttachments, setExternalID, setExternalURL, setRights, unlock, unpin, updateRevisionComment |
| Methods inherited from class com.starteam.VersionedObject.WebCacheVersionedObject |
|---|
getRevisionNumber, getRootObjectID, getViewVersion, isFromHistory |
| Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject |
|---|
addTo, equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, getObjectID, getServer, getType, getValue, getValue, hashCode, hasValue, isDirty, isNew, refresh, remove, removeFrom, setValue, setValue, toStarTeamURL, update |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Topic.WebCacheTopic create(ArtifactCacheManager.Context cntxt,
Folder.WebCacheFolder parent)
Topic on the server.
This topic may be saved by assigning the various properties and then calling
update() on the WebCacheTopic object, or it may be added to a
WebCacheViewMemberCollection, which is then saved in a transacted context.
cntxt - the ArtifactCacheManager User Session Contextparent - the parent folder in which this new folder will be created.
The parent folder should be from the artifact cache
Topic.WebCacheTopic, wrapping a new Topic
public static Topic.WebCacheTopic create(ArtifactCacheManager.Context cntxt,
Topic.WebCacheTopic parent)
Topic on the server.
This item may be saved by assigning the various properties and then calling
update() on the WebCacheTopic object, or it may be added to a
WebCacheViewMemberCollection, which is then saved in a transacted context.
cntxt - the ArtifactCacheManager User Session Contextparent - the parent Topic to this new Topic .
The parent Topic should be from the artifact cache
Topic.WebCacheTopic, wrapping a new Topicpublic 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 User.WebCacheUser[] getRecipients()
Topic.Type.RecipientsProperty.NAMEpublic void addRecipient(User.WebCacheUser user)
user - the user object to add as a recipient for this topic,public void removeRecipient(User.WebCacheUser user)
user - the user object recipient to remove from this topic.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||