org.openpermis.editor.policy.presenter
Class PolicyRoleRefPool

java.lang.Object
  extended by org.openpermis.editor.policy.presenter.PolicyRoleRefPool

public class PolicyRoleRefPool
extends Object

Pool-Collections for a Policy.

Since:
0.3.0

Constructor Summary
PolicyRoleRefPool(org.openpermis.policy.bean.PolicyBean policy)
          Creates a new pool.
 
Method Summary
 org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.Role> getPoolList()
           
 void mergePool(List<org.openpermis.policy.Role> 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

PolicyRoleRefPool

public PolicyRoleRefPool(org.openpermis.policy.bean.PolicyBean policy)
Creates a new pool.

Since:
0.3.0
Method Detail

mergePool

public void mergePool(org.openpermis.policy.bean.PolicyBean policy,
                      boolean expunge)
Merges the specified list of parts with the rules supplied.

Parameters:
policy - the policy.
expunge - indicates if unused parts are removed from the list.
Since:
0.3.0

mergePool

public void mergePool(List<org.openpermis.policy.Role> addList,
                      boolean expunge)
Merges the specified list of parts with the rules supplied.

Parameters:
addList - elements to add/update in the pool.
expunge - indicates if unused parts are removed from the list.
Since:
0.3.0

getPoolList

public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.Role> getPoolList()
Since:
0.3.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:11
Copyright (c) 2002-2007 Ergon Informatik AG