com.starteam
Class PermissionCollection

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

public final class PermissionCollection
extends StarTeamCollection

A Collection that manages Permissions


Constructor Summary
PermissionCollection()
          Construct a new Permission Collection
PermissionCollection(Permission permission)
          Construct a Permission Collection with a specific permission
PermissionCollection(Permission[] permissions)
          Construct a Permission Collection from an array of permissions
PermissionCollection(PermissionCollection source)
          Construct a new Permission Collection from another
 
Method Summary
 boolean contains(java.lang.Object o)
          Returns true if the specified Permission is contained in this collection
 
Methods inherited from class com.starteam.StarTeamCollection
add, addAll, addAll, addTo, attach, clear, 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

PermissionCollection

public PermissionCollection()
Construct a new Permission Collection


PermissionCollection

public PermissionCollection(PermissionCollection source)
Construct a new Permission Collection from another

Parameters:
source - the collection to copy

PermissionCollection

public PermissionCollection(Permission permission)
Construct a Permission Collection with a specific permission

Parameters:
permission - a single permission to add to the collection

PermissionCollection

public PermissionCollection(Permission[] permissions)
Construct a Permission Collection from an array of permissions

Parameters:
permissions - an array of permissions to add to the collection
Method Detail

contains

public boolean contains(java.lang.Object o)
Returns true if the specified Permission is contained in this collection

Specified by:
contains in interface java.util.Collection
Overrides:
contains in class StarTeamCollection
Parameters:
o - the permission to test for
Returns:
true if the specified Permission is contained in this collection


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