com.starteam
Class ChangePackageCollection

java.lang.Object
  extended by com.starteam.StarTeamCollection
      extended by com.starteam.ViewMemberCollection
          extended by com.starteam.ChangePackageCollection
All Implemented Interfaces:
Lockable, java.lang.Iterable, java.util.Collection

public class ChangePackageCollection
extends ViewMemberCollection

A Collection of Change Packages within a specified view


Nested Class Summary
 
Nested classes/interfaces inherited from class com.starteam.ViewMemberCollection
ViewMemberCollection.BehaviorContainer, ViewMemberCollection.HistoryContainer, ViewMemberCollection.WebCacheViewMemberCollection
 
Constructor Summary
ChangePackageCollection()
          Construct an empty ChangePackage collection
ChangePackageCollection(ChangePackage changePackage)
          Construct an ChangePackage collection containing only the given change package.
ChangePackageCollection(ChangePackage[] changePackages)
          Constructs a collection containing all the change packages of the given array
ChangePackageCollection(ChangePackageCollection changePackages)
          Constructs a collection containing all the change packages of the given collection
 
Method Summary
 ChangePackageCollection getActive()
          Gets the subset of ChangePackages in this collection that are active (that is, not yet committed).
 CacheService getCache()
          Gets a cache service that can be used to populate, refresh or discard all of the view members in this collection, in bulk.
 CacheService getChangeCache()
          Gets a CacheService that can be used to manipulate change objects for multiple change packages in bulk.
 ChangePackageCollection getCommitted()
          Gets the subset of ChangePackages in this collection that have already been committed.
 ChangePackageCollection getMyResponsibility()
          Gets the subset of ChangePackages in this collection for which the logged-in user is responsible.
 
Methods inherited from class com.starteam.ViewMemberCollection
clear, contains, find, find, find, getAt, getFromHistory, getFromHistory, getFromHistory, getHistory, getViewMember, getViewMember, getViewMemberBehavior, lockExclusive, lockExclusive, lockNonExclusive, modifyBookmark, modifyReadStatus, reverse, setViewMemberBehavior, sort, sort, sort, unlock
 
Methods inherited from class com.starteam.StarTeamCollection
add, addAll, addAll, addTo, attach, containsAll, detach, get, getSyncRoot, indexOf, insert, isEmpty, isFixedSize, isModified, isReadOnly, isSynchronized, iterator, positionOf, remove, removeAll, removeAt, resetCapacity, retainAll, set, size, toArray, toArray
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

ChangePackageCollection

public ChangePackageCollection()
Construct an empty ChangePackage collection


ChangePackageCollection

public ChangePackageCollection(ChangePackage changePackage)
Construct an ChangePackage collection containing only the given change package.

Parameters:
changePackage - the change package to add to the collection

ChangePackageCollection

public ChangePackageCollection(ChangePackageCollection changePackages)
Constructs a collection containing all the change packages of the given collection

Parameters:
changePackages - the change packages to add to this collection

ChangePackageCollection

public ChangePackageCollection(ChangePackage[] changePackages)
Constructs a collection containing all the change packages of the given array

Parameters:
changePackages - the change packages to add to this collection
Method Detail

getActive

public ChangePackageCollection getActive()
Gets the subset of ChangePackages in this collection that are active (that is, not yet committed).

Returns:
ChangePackageCollection

getCommitted

public ChangePackageCollection getCommitted()
Gets the subset of ChangePackages in this collection that have already been committed.

Returns:
ChangePackageCollection

getMyResponsibility

public ChangePackageCollection getMyResponsibility()
Gets the subset of ChangePackages in this collection for which the logged-in user is responsible.

Returns:
ChangePackageCollection

getChangeCache

public CacheService getChangeCache()
Gets a CacheService that can be used to manipulate change objects for multiple change packages in bulk.

Returns:
CacheService

getCache

public CacheService getCache()
Gets a cache service that can be used to populate, refresh or discard all of the view members in this collection, in bulk.

Overrides:
getCache in class ViewMemberCollection
Returns:
CacheService a cache service that can be used to populate, refresh or discard members


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