org.openpermis.editor.policy.presenter
Class ProblemListPresenter

java.lang.Object
  extended by org.openpermis.editor.policy.presenter.Presenter<M>
      extended by org.openpermis.editor.policy.presenter.PartPresenter<org.openpermis.policy.bean.PolicyBean>
          extended by org.openpermis.editor.policy.presenter.ProblemListPresenter

public class ProblemListPresenter
extends PartPresenter<org.openpermis.policy.bean.PolicyBean>

Presenter for the problem list tool.

Since:
0.3.0

Constructor Summary
ProblemListPresenter(org.openpermis.policy.bean.PolicyBean model, PolicyContext context)
          Creates a problem list presenter.
 
Method Summary
 org.jdesktop.observablecollections.ObservableList<Problem> getProblemList()
          Returns an observable list of problems.
protected  void mergeProblemList(List<Problem> problems)
          Merges the specified problems with the internal problem list.
 void policyChanged()
          Handles changes in the underlying policy.
 
Methods inherited from class org.openpermis.editor.policy.presenter.PartPresenter
change, change, containsSerial, createChangeCommand, createCollectionAtPresenter, dispose, execute, getActionPool, getAuthorityPool, getContext, getModelSerialNumber, getObligationPool, getPartBeanFactory, getResourceDomainPool, getRolePool, getSubjectDomainPool, getTargetPool, indexOfBySerial, sameSerial, updateCollectionAtPresenter
 
Methods inherited from class org.openpermis.editor.policy.presenter.Presenter
addPropertyChangeListener, firePropertyChange, getModel, getTitleParameters, removePropertyChangeListener, setTitleParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProblemListPresenter

public ProblemListPresenter(org.openpermis.policy.bean.PolicyBean model,
                            PolicyContext context)
Creates a problem list presenter.

Parameters:
model - the policy for which to provide the problem list.
Since:
0.3.0
Method Detail

getProblemList

public org.jdesktop.observablecollections.ObservableList<Problem> getProblemList()
Returns an observable list of problems.

Returns:
an observable list of problems.
Since:
0.3.0

mergeProblemList

protected void mergeProblemList(List<Problem> problems)
Merges the specified problems with the internal problem list.

Parameters:
problems - the problems to merge into the internal problem list, the list of problems passed in is destroyed in the process.
Since:
0.3.0

policyChanged

public void policyChanged()
Handles changes in the underlying policy.

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