org.openpermis.editor.policy.presenter
Class ActionPresenter

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

public class ActionPresenter
extends PartPresenter<org.openpermis.policy.bean.ActionBean>

Presenter for a single ActionBean.

Since:
0.1.0

Constructor Summary
ActionPresenter(org.openpermis.policy.bean.ActionBean model, PolicyContext context)
          Creates a new ActionPresenter.
 
Method Summary
 String getName()
          Gets the name.
 org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.ParameterList.Parameter> getPresenterParameters()
          Gets the ParameterList.Parameters ObservableList.
 void setName(String name)
          Sets the name of the model.
 void updateName()
          Handles property changes of name.
 void updateParameters()
          Handles property changes of parameters.
 
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

ActionPresenter

public ActionPresenter(org.openpermis.policy.bean.ActionBean model,
                       PolicyContext context)
Creates a new ActionPresenter.

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

getPresenterParameters

public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.ParameterList.Parameter> getPresenterParameters()
Gets the ParameterList.Parameters ObservableList.

Returns:
the ParameterList.Parameters ObservableList.
Since:
0.1.0

getName

public String getName()
Gets the name.

Returns:
the name.
Since:
0.1.0

setName

public void setName(String name)
Sets the name of the model.

Parameters:
name - the new name to set.
Since:
0.1.0

updateName

public void updateName()
Handles property changes of name.

Since:
0.1.0

updateParameters

public void updateParameters()
Handles property changes of parameters.

Since:
0.1.0


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