com.bristle.javalib.security
Class SecurableObjectMapBean
java.lang.Object
com.bristle.javalib.bean.MapBean
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 classes/interfaces inherited from interface java.util.Map |
Map.Entry |
| 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 |
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.