|
![]() |
||||||||
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.TargetBean>
org.openpermis.editor.policy.presenter.TargetPresenter
public class TargetPresenter
Presenter for a single TargetBean
.
Constructor Summary | |
---|---|
TargetPresenter(org.openpermis.policy.bean.TargetBean model,
CommandDispatcher dispatcher,
PolicyContext context)
Creates a new target presenter. |
Method Summary | |
---|---|
void |
addAction(EditPartCommand<org.openpermis.policy.bean.ActionBean> editPartCommand)
|
void |
addResourceDomain(EditPartCommand<org.openpermis.policy.bean.DomainBean> editPartCommand)
|
org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.ActionBean> |
getActions()
The list of actions of this target. |
org.openpermis.policy.bean.DomainBean |
getActiveResourceDomain()
Returns the active resource domain of this model. |
void |
removeActiveAction(org.openpermis.policy.bean.ActionBean activeAction)
Removes the active target in the whole policy. |
void |
removeActiveResourceDomain(org.openpermis.policy.bean.DomainBean resourceDomain)
Removes the active resource domain in the whole policy. |
void |
setActiveResourceDomain(org.openpermis.policy.bean.DomainBean activeResourceDomainBean)
Sets the active resource domain of the target of this model. |
void |
updateActions()
Handler for changes in the actions of a target. |
void |
updateResourceDomain()
Handler for resource domain changes in a target. |
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 |
---|
public TargetPresenter(org.openpermis.policy.bean.TargetBean model, CommandDispatcher dispatcher, PolicyContext context)
model
- the target to work on, must not be null
.context
- policy context that provides additional information.dispatcher
- the dispatcher for commands that change the policy.Method Detail |
---|
public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.ActionBean> getActions()
public org.openpermis.policy.bean.DomainBean getActiveResourceDomain()
public void setActiveResourceDomain(org.openpermis.policy.bean.DomainBean activeResourceDomainBean)
activeResourceDomainBean
- the new resource domain.public void removeActiveResourceDomain(org.openpermis.policy.bean.DomainBean resourceDomain)
public void removeActiveAction(org.openpermis.policy.bean.ActionBean activeAction)
public void addResourceDomain(EditPartCommand<org.openpermis.policy.bean.DomainBean> editPartCommand)
public void addAction(EditPartCommand<org.openpermis.policy.bean.ActionBean> editPartCommand)
public void updateResourceDomain()
public void updateActions()
|
![]() |
||||||||
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:11
Copyright (c) 2002-2007 Ergon Informatik AG