|
![]() |
||||||||
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.PolicyBean>
org.openpermis.editor.policy.presenter.RoleAssignmentRuleListPresenter
public class RoleAssignmentRuleListPresenter
Presenter for a list of RoleAssignmentRuleBean
s found in a PolicyBean
.
Field Summary | |
---|---|
private org.openpermis.policy.bean.RoleAssignmentRuleBean |
active
The currently active role assignment rule. |
private static org.slf4j.Logger |
LOGGER
The logger object of this class. |
private org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.RoleAssignmentRuleBean> |
roleAssignmentRules
An observable list of all role assignment rules in the policy. |
Constructor Summary | |
---|---|
RoleAssignmentRuleListPresenter(org.openpermis.policy.bean.PolicyBean model,
PolicyContext context)
Creates a new role assignment rule list presenter. |
Method Summary | |
---|---|
void |
addRoleAssignmentRule()
|
org.openpermis.policy.bean.RoleAssignmentRuleBean |
getActive()
Returns the currently active role assignment rule. |
org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.RoleAssignmentRuleBean> |
getRoleAssignmentRules()
Returns an observable list of role assignment rules. |
void |
removeRoleAssignmentRule(org.openpermis.policy.bean.RoleAssignmentRuleBean rule)
|
void |
roleAssignmentRulesChanged()
Handles property changes of roleAssignmentRules. |
void |
setActive(org.openpermis.policy.bean.RoleAssignmentRuleBean active)
Sets the currently active role assignment rule. |
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 final org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.RoleAssignmentRuleBean> roleAssignmentRules
private org.openpermis.policy.bean.RoleAssignmentRuleBean active
Constructor Detail |
---|
public RoleAssignmentRuleListPresenter(org.openpermis.policy.bean.PolicyBean model, PolicyContext context)
model
- the policy for which to provide the role assignment rules.Method Detail |
---|
public void addRoleAssignmentRule()
public void removeRoleAssignmentRule(org.openpermis.policy.bean.RoleAssignmentRuleBean rule)
public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.bean.RoleAssignmentRuleBean> getRoleAssignmentRules()
public org.openpermis.policy.bean.RoleAssignmentRuleBean getActive()
null
.public void setActive(org.openpermis.policy.bean.RoleAssignmentRuleBean active)
active
- the role assignment rule to set active.setActive(RoleAssignmentRuleBean)
public void roleAssignmentRulesChanged()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG