org.openpermis.editor.policy.presenter
Class ObligationPresenter

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

public class ObligationPresenter
extends PartPresenter<org.openpermis.policy.bean.ObligationBean>

Presenter for a single ObligationBean.

Since:
0.3.0

Constructor Summary
ObligationPresenter(org.openpermis.policy.bean.ObligationBean model, PolicyContext context)
          Creates a new ObligationPresenter.
 
Method Summary
 String getText()
          Gets the text.
 void setText(String text)
          Sets the text of the model.
 void updateText()
          Handles property changes of text.
 
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

ObligationPresenter

public ObligationPresenter(org.openpermis.policy.bean.ObligationBean model,
                           PolicyContext context)
Creates a new ObligationPresenter.

Parameters:
model - the obligation to work on.
context - policy context that provides additional information.
Since:
0.3.0
Method Detail

getText

public String getText()
Gets the text.

Returns:
the text.
Since:
0.3.0

setText

public void setText(String text)
Sets the text of the model.

Parameters:
text - the new text to set.
Since:
0.3.0

updateText

public void updateText()
Handles property changes of text.

Since:
0.3.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:33
Copyright (c) 2002-2007 Ergon Informatik AG