|
![]() |
||||||||
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.TargetAccessRuleBean>
org.openpermis.editor.policy.presenter.TargetAccessRulePresenter
public class TargetAccessRulePresenter
Presenter for a single TargetAccessRuleBean
.
Constructor Summary | |
---|---|
TargetAccessRulePresenter(org.openpermis.policy.bean.TargetAccessRuleBean model,
PolicyContext context)
Creates a new target access rule presenter. |
Method Summary | |
---|---|
void |
addObligation(EditPartCommand<org.openpermis.policy.bean.ObligationBean> editPartCommand)
|
void |
addTarget(EditPartCommand<org.openpermis.policy.bean.TargetBean> editPartCommand)
|
org.openpermis.policy.Predicate |
getCondition()
Returns the condition. |
org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.ObligationBean> |
getObligations()
The list of obligations of this targetaccessrule. |
org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.Role> |
getRoles()
The list of roles of this targetaccessrule. |
org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.TargetBean> |
getTargets()
The list of targets of this targetaccessrule. |
void |
removeActiveObligation(org.openpermis.policy.bean.ObligationBean activeObligation)
Removes the active obligation in the whole policy. |
void |
removeActiveTarget(org.openpermis.policy.bean.TargetBean activeTarget)
Removes the active target in the whole policy. |
void |
updateCondition()
Handler for changes in the condition of a targetaccessrule bean. |
void |
updateConditionAtModel(org.openpermis.policy.Predicate predicate)
Writes the condition in the presenter to the model. |
void |
updateObligations()
Handler for changes in the obligations of a targetaccessrule bean. |
void |
updateRoles()
Handler for changes in the roles of a targetaccessrule bean. |
void |
updateTargets()
Handler for changes in the targets of a targetaccessrule bean. |
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 TargetAccessRulePresenter(org.openpermis.policy.bean.TargetAccessRuleBean model, PolicyContext context)
model
- the target access rule to work on, must not be null
.context
- policy context that provides additional information. *Method Detail |
---|
public org.openpermis.policy.Predicate getCondition()
public void updateConditionAtModel(org.openpermis.policy.Predicate predicate)
public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.Role> getRoles()
public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.TargetBean> getTargets()
public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.ObligationBean> getObligations()
public void removeActiveTarget(org.openpermis.policy.bean.TargetBean activeTarget)
public void removeActiveObligation(org.openpermis.policy.bean.ObligationBean activeObligation)
public void addTarget(EditPartCommand<org.openpermis.policy.bean.TargetBean> editPartCommand)
public void addObligation(EditPartCommand<org.openpermis.policy.bean.ObligationBean> editPartCommand)
public void updateTargets()
public void updateObligations()
public void updateRoles()
public void updateCondition()
|
![]() |
||||||||
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