com.bristle.javalib.security
Class SecurableObjectMapBean

java.lang.Object
  extended by com.bristle.javalib.bean.MapBean
      extended by com.bristle.javalib.security.SecurableObjectMapBean
All Implemented Interfaces:
Map

public class SecurableObjectMapBean
extends MapBean

This bean class carries a MapBean which is a map of Securable ids to Securable objects.

Usage:

   - The typical scenarios for using this class are:
     - To initialize it from a List of Securables:
           MapBean mapBean;
           mapBean = new SecurableObjectMapBean(securableListBean)
     - To access it, see scenarios in MapBean.

Assumptions:
Effects:
       - None.
Anticipated Changes:
Notes:
Implementation Notes:
Portability Issues:
Revision History:
   $Log$


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry
 
Constructor Summary
SecurableObjectMapBean(List list)
          Constructor.
 
Method Summary
 
Methods inherited from class com.bristle.javalib.bean.MapBean
add, addAll, clear, contains, containsAll, containsKey, containsValue, entrySet, equals, get, getContainsKey, getContainsValue, getEntrySet, getHashCode, getIterator, getKeySet, getMap, getSize, getToArray, getToString, getValues, hashCode, isEmpty, iterator, keySet, put, putAll, remove, removeAll, retainAll, setMap, size, toArray, toArray, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurableObjectMapBean

public SecurableObjectMapBean(List list)
Constructor.

Parameters:
list - The List to copy from. Does a shallow copy, so the items that are in the List when this constructor is called are shared between the List and the SecurableObjectMapBean. Future changes to any of those items will be reflected in both. However, adding or deleting items from one will not affect the other.