|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.presenter.PolicyPartPool<P>
P
- type of PartBeanpublic class PolicyPartPool<P extends org.openpermis.policy.bean.PartBean>
Pool-Collections for a Policy.
Nested Class Summary | |
---|---|
static interface |
PolicyPartPool.PartFinder<P>
A part finder finds parts. |
Constructor Summary | |
---|---|
PolicyPartPool(org.openpermis.policy.bean.PolicyBean policy,
Class<P> type)
Creates a new pool. |
|
PolicyPartPool(org.openpermis.policy.bean.PolicyBean policy,
PolicyPartPool.PartFinder<P> partFinder)
Creates a new pool. |
Method Summary | |
---|---|
protected int |
getIndexBySerialNumber(List<? extends org.openpermis.policy.bean.PartBean> list,
org.openpermis.policy.bean.SerialNumber serial)
Finds a part by its serial number in a list. |
org.jdesktop.observablecollections.ObservableList<P> |
getPoolList()
|
void |
mergePool(List<P> addList,
boolean expunge)
Merges the specified list of parts with the rules supplied. |
void |
mergePool(org.openpermis.policy.bean.PolicyBean policy,
boolean expunge)
Merges the specified list of parts with the rules supplied. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolicyPartPool(org.openpermis.policy.bean.PolicyBean policy, Class<P> type)
public PolicyPartPool(org.openpermis.policy.bean.PolicyBean policy, PolicyPartPool.PartFinder<P> partFinder)
Method Detail |
---|
protected int getIndexBySerialNumber(List<? extends org.openpermis.policy.bean.PartBean> list, org.openpermis.policy.bean.SerialNumber serial)
list
- the list to search.serial
- the serial to search for.
-1
if it is not contained.public void mergePool(org.openpermis.policy.bean.PolicyBean policy, boolean expunge)
policy
- the policy.expunge
- indicates if unused parts are removed from the list.public void mergePool(List<P> addList, boolean expunge)
addList
- elements to add/update in the pool.expunge
- indicates if unused parts are removed from the list.public org.jdesktop.observablecollections.ObservableList<P> getPoolList()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:11
Copyright (c) 2002-2007 Ergon Informatik AG