com.starteam
Class Concept.WebCacheConcept

java.lang.Object
  extended by com.starteam.LiveObject.WebCacheLiveObject
      extended by com.starteam.TrackedObject.WebCacheTrackedObject
          extended by com.starteam.VersionedObject.WebCacheVersionedObject
              extended by com.starteam.ViewMember.WebCacheViewMember
                  extended by com.starteam.Item.WebCacheItem
                      extended by com.starteam.Concept.WebCacheConcept
All Implemented Interfaces:
ArtifactCacheManager.Securable
Enclosing class:
Concept

public static class Concept.WebCacheConcept
extends Item.WebCacheItem

Item accessor for cached SDK Concept items contained objects are obtained from the artifact cache


Method Summary
static Concept.WebCacheConcept create(ArtifactCacheManager.Context cntxt, Folder.WebCacheFolder parent)
          Creates a Concept on the server.
 int getConceptID()
          Returns the concept id.
 Content.WebCacheContent getContent()
          Returns the content of this Concept.
 java.lang.String getDescription()
          Returns the description of this concept.
 java.lang.String getName()
          Returns the name of this concept.
 EnumeratedValue[] getTags()
          returns the tags, if any, attached to this story the returned array may be of size 0, but is never null
 void setContent(Content.WebCacheContent cntnt)
          Sets the content of this Concept.
 void setDescription(java.lang.String description)
          set the description of the concept
 void setName(java.lang.String name)
          set the name of the concept
 void setTags(EnumeratedValue[] tags)
          sets the tags to be assigned to this story 0, 1 or more tags may be assigned or reassigned
 
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

create

public static Concept.WebCacheConcept create(ArtifactCacheManager.Context cntxt,
                                             Folder.WebCacheFolder parent)
Creates a Concept on the server. This concept may be saved by assigning the various properties and then calling update() on the WebCacheConcept object, or it may be added to a WebCacheViewMemberCollection, which is then saved in a transacted context.

Parameters:
cntxt - the ArtifactCacheManager User Session Context
parent - the parent folder in which this new folder will be created. The parent folder should be from the artifact cache
Returns:
the newly created Concept.WebCacheConcept, wrapping a new Concept

getConceptID

public int getConceptID()
Returns the concept id.

Returns:
the concept id.
See Also:
Concept.Type.PropertyCollection.CONCEPT_ID

getContent

public Content.WebCacheContent getContent()
Returns the content of this Concept.

Returns:
the content of this Concept.
See Also:
Concept.Type.PropertyCollection.CONTENT

setContent

public void setContent(Content.WebCacheContent cntnt)
Sets the content of this Concept.

Parameters:
content - the new content for this Concept.
See Also:
Concept.Type.PropertyCollection.CONTENT

getName

public java.lang.String getName()
Returns the name of this concept.

Returns:
the name of this concept.
See Also:
LiveObject.Type.NameProperty.NAME

setName

public void setName(java.lang.String name)
set the name of the concept

Parameters:
name - set the name of the concept

getDescription

public java.lang.String getDescription()
Returns the description of this concept.

Returns:
the description of this concept.
See Also:
LiveObject.Type.DescriptionProperty.NAME

setDescription

public void setDescription(java.lang.String description)
set the description of the concept

Parameters:
description - set the description of the concept

getTags

public EnumeratedValue[] getTags()
returns the tags, if any, attached to this story the returned array may be of size 0, but is never null

Returns:
the tags, if any attached to this story instance

setTags

public void setTags(EnumeratedValue[] tags)
sets the tags to be assigned to this story 0, 1 or more tags may be assigned or reassigned

Parameters:
tags - the tags to be assigned to this story instance


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.