|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
com.webmethods.caf.faces.data.dir.PrincipalModelList
public class PrincipalModelList
A list wrapper class of principal models.
Field Summary | |
---|---|
protected List |
membersList
|
protected Map |
wrappedObjCache
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
PrincipalModelList(List membersList)
Constructor to provide the list object for this class. |
Method Summary | |
---|---|
void |
add(int index,
Object element)
Add a member to the members list. |
void |
clear()
Clear the members list. |
Object |
get(int index)
Get a member from the members list. |
protected IDirSystemBizPolicy |
getDirSystemBizPolicy()
Get the biz policy for directory systems. |
protected IContext |
getPortalContext()
Acquire a portal context and cache it. |
Object |
remove(int index)
Remove a member from the members list. |
int |
size()
Size of the members list. |
protected PrincipalModel |
wrapObject(Object obj)
Create a principal model from the provided object. |
Methods inherited from class java.util.AbstractList |
---|
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Field Detail |
---|
protected List membersList
protected Map wrappedObjCache
Constructor Detail |
---|
public PrincipalModelList(List membersList)
membersList
- The list object for this class.Method Detail |
---|
public void add(int index, Object element)
add
in interface List
add
in class AbstractList
index
- The position in the list.element
- The member to add.public Object remove(int index)
remove
in interface List
remove
in class AbstractList
index
- The position in the list.
public void clear()
clear
in interface Collection
clear
in interface List
clear
in class AbstractList
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public Object get(int index)
get
in interface List
get
in class AbstractList
index
- The position in the list.
protected IContext getPortalContext()
protected IDirSystemBizPolicy getDirSystemBizPolicy() throws BizException
BizException
protected PrincipalModel wrapObject(Object obj)
obj
- The object used to create a principal model.
PortalException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |