java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
com.ibm.commerce.accesscontrol.AccessVector
AccessVector is the object returned by a getResources() method of a command for resource level access control.
Field Summary | |
static java.lang.String | COPYRIGHT |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
AccessVector() Construct an AccessVector with an initial capacity of 4. |
|
AccessVector(int initialCapacity) Construct an AccessVector with the specified initial capacity. |
|
AccessVector(java.lang.Object resource) Construct a AccessVector with just one resource. |
|
AccessVector(java.lang.Object resource, java.lang.String action) Construct a AccessVector with a resource and the action to be performed on the resource. |
|
AccessVector(java.util.Vector protectables) Construct a AccessVector with a vector of protectable resources. |
Method Summary | |
void | addElement(java.lang.Object resource) Add a resource to the access vector. |
void | addElement(java.lang.Object resource, java.lang.String action) Add a resource action pair to the access vector. |
void | addElement(java.util.Vector resources) Add a vector of protectable resources to the access vector. |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public AccessVector()
public AccessVector(int initialCapacity)
public AccessVector(java.lang.Object resource)
public AccessVector(java.lang.Object resource, java.lang.String action)
public AccessVector(java.util.Vector protectables)
Method Detail |
public void addElement(java.lang.Object resource)
public void addElement(java.lang.Object resource, java.lang.String action)
public void addElement(java.util.Vector resources)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.