|
![]() |
||||||||
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.DecisionPresenter
public class DecisionPresenter
Presentation model for the decision test view.
Constructor Summary | |
---|---|
DecisionPresenter(org.openpermis.policy.bean.PolicyBean policy,
PolicyContext context)
Creates a new presenter. |
Method Summary | |
---|---|
org.openpermis.policy.bean.ActionBean |
getAction()
Gets the currently selected action. |
org.openpermis.policy.Authority |
getAuthority()
Gets the currently selected authority. |
Color |
getDecisionColor()
Gets the current decision as a colour value. |
String |
getDecisionText()
Gets the current decision in text form. |
org.openpermis.policy.TimeStamp |
getEvaluationTimeStamp()
Gets the current evaluation time for the decision tester. |
org.openpermis.editor.policy.presenter.DecisionPresenter.ParameterTableModel |
getParameterTableModel()
|
org.openpermis.policy.bean.DomainBean |
getResourceDomain()
Gets the currently selected resource domain. |
org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.Role> |
getSelectedRoles()
Gets the list where selected roles get stored. |
void |
policyChanged()
|
void |
setAction(org.openpermis.policy.bean.ActionBean action)
Selects an action. |
void |
setAuthority(org.openpermis.policy.Authority authority)
Sets the selected authority. |
void |
setEvaluationTimeStamp(org.openpermis.policy.TimeStamp timeStamp)
Selects an evaluation time for the decision tester. |
void |
setResourceDomain(org.openpermis.policy.bean.DomainBean domain)
Selects a resource domain. |
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 DecisionPresenter(org.openpermis.policy.bean.PolicyBean policy, PolicyContext context)
policy
- the policy whose access rules will be available for testing.context
- editor meta data for the policy.Method Detail |
---|
public org.openpermis.policy.Authority getAuthority()
public void setAuthority(org.openpermis.policy.Authority authority)
authority
- the selected authority.public org.openpermis.policy.bean.DomainBean getResourceDomain()
public void setResourceDomain(org.openpermis.policy.bean.DomainBean domain)
domain
- the selected resource domain.public org.openpermis.policy.bean.ActionBean getAction()
public void setAction(org.openpermis.policy.bean.ActionBean action)
action
- the selected action.public org.jdesktop.observablecollections.ObservableList<org.openpermis.policy.Role> getSelectedRoles()
public org.openpermis.policy.TimeStamp getEvaluationTimeStamp()
public void setEvaluationTimeStamp(org.openpermis.policy.TimeStamp timeStamp)
timeStamp
- an evaluation time.public String getDecisionText()
public Color getDecisionColor()
public org.openpermis.editor.policy.presenter.DecisionPresenter.ParameterTableModel getParameterTableModel()
public void policyChanged()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG