|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.presenter.Presenter<M>
org.openpermis.editor.policy.presenter.PartPresenter<org.openpermis.policy.bean.ActionBean>
org.openpermis.editor.policy.presenter.ActionPresenter
public class ActionPresenter
Presenter for a single ActionBean
.
Field Summary | |
---|---|
private static org.slf4j.Logger |
LOGGER
The logger object of this class. |
private String |
name
|
private org.jdesktop.observablecollections.ObservableListListener |
parametersModelUpdater
Updater that keeps the model in sync with the observable parameters list. |
private org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.ParameterList.Parameter> |
presenterParameters
|
Constructor Summary | |
---|---|
ActionPresenter(org.openpermis.policy.bean.ActionBean model,
PolicyContext context)
Creates a new ActionPresenter . |
Method Summary | |
---|---|
private org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.ParameterList.Parameter> |
createParameterList()
Creates a new parameter list that contains all paramters bound at the model. |
String |
getName()
Gets the name. |
org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.ParameterList.Parameter> |
getPresenterParameters()
Gets the ParameterList.Parameter s 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. |
private void |
updateParametersAtModel()
Writes the parameters in the model according to the presenter. |
private void |
updateParametersAtPresenter()
Writes the parameters in the presenter according to the model. |
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 |
Field Detail |
---|
private static final org.slf4j.Logger LOGGER
private String name
private final org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.ParameterList.Parameter> presenterParameters
private final org.jdesktop.observablecollections.ObservableListListener parametersModelUpdater
Constructor Detail |
---|
public ActionPresenter(org.openpermis.policy.bean.ActionBean model, PolicyContext context)
ActionPresenter
.
model
- the action to work on.context
- policy context that provides additional information.Method Detail |
---|
private org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.ParameterList.Parameter> createParameterList()
null
.public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.ParameterList.Parameter> getPresenterParameters()
ParameterList.Parameter
s ObservableList
.
ParameterList.Parameter
s ObservableList
.public String getName()
public void setName(String name)
name
- the new name to set.private void updateParametersAtModel()
private void updateParametersAtPresenter()
public void updateName()
public void updateParameters()
|
![]() |
||||||||
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:22
Copyright (c) 2002-2007 Ergon Informatik AG