com.starteam
Class Sprint.WebCacheSprint

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.Sprint.WebCacheSprint
All Implemented Interfaces:
ArtifactCacheManager.Securable
Enclosing class:
Sprint

public static class Sprint.WebCacheSprint
extends Item.WebCacheItem

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


Method Summary
static Sprint.WebCacheSprint create(ArtifactCacheManager.Context cntxt, Folder.WebCacheFolder parent)
          Creates a Sprint on the server.
 java.lang.String getDescription()
          Returns the description of this sprint.
 Date getEndDate()
          Returns the End Date of this sprint.
 java.lang.String getName()
          Returns the name of this sprint.
 User.WebCacheUser getOwner()
          Returns the User object who owns this sprint.
 Date getStartDate()
          Returns the Start Date of this sprint.
 Story.WebCacheStory[] getStories()
          Gets the stories which are linked to this sprint.
 void setDescription(java.lang.String description)
          set the description of the sprint
 void setEndDate(Date dt)
          Set the End Date for this sprint.
 void setName(java.lang.String name)
          set the name of the sprint
 void setOwner(User.WebCacheUser user)
          Sets the User who owns this sprint.
 void setStartDate(Date dt)
          Set the Start Date for this sprint.
 
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, getHistory, getLocker, getRights, getShareTree, getTraces, getView, isDeleted, isFloating, isPinned, isUnread, lock, lock, modifyReadStatus, pinTo, setAttachments, setRights, unlock, unpin, updateRevisionComent
 
Methods inherited from class com.starteam.VersionedObject.WebCacheVersionedObject
getDotNotation, getRevisionNumber, getRootObjectID, getViewVersion, isFromHistory
 
Methods inherited from class com.starteam.TrackedObject.WebCacheTrackedObject
getModifiedBy, getModifiedTime
 
Methods inherited from class com.starteam.LiveObject.WebCacheLiveObject
equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, getObjectID, getServer, getType, getValue, getValue, hashCode, isDirty, isNew, refresh, remove, setValue, setValue, toStarTeamURL, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Sprint.WebCacheSprint create(ArtifactCacheManager.Context cntxt,
                                           Folder.WebCacheFolder parent)
Creates a Sprint on the server. This sprint may be saved by assigning the various properties and then calling update() on the WebCacheSprint 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 Sprint.WebCacheSprint, wrapping a new Sprint

getName

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

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

setName

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

Parameters:
name - set the name of the sprint

getDescription

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

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

setDescription

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

Parameters:
description - set the description of the sprint

getStories

public Story.WebCacheStory[] getStories()
Gets the stories which are linked to this sprint.

Returns:
A possibly empty array of WebCacheStory

getOwner

public User.WebCacheUser getOwner()
Returns the User object who owns this sprint.

Returns:
the User object who owns this sprint.
See Also:
Sprint.Type.OwnerProperty.NAME

getStartDate

public Date getStartDate()
Returns the Start Date of this sprint.

Returns:
the Start Date of this sprint.

setStartDate

public void setStartDate(Date dt)
Set the Start Date for this sprint.

Parameters:
dt - The start date of the sprint

getEndDate

public Date getEndDate()
Returns the End Date of this sprint.

Returns:
the End Date of this sprint.

setEndDate

public void setEndDate(Date dt)
Set the End Date for this sprint.

Parameters:
dt - The end date of the sprint

setOwner

public void setOwner(User.WebCacheUser user)
Sets the User who owns this sprint.

Parameters:
user - the User who owns this sprint.


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