org.openpermis.editor.policy.presenter
Class AuthorityPresenter

java.lang.Object
  extended by org.openpermis.editor.policy.presenter.Presenter<M>
      extended by org.openpermis.editor.policy.presenter.PartPresenter<org.openpermis.policy.bean.AuthorityBean>
          extended by org.openpermis.editor.policy.presenter.AuthorityPresenter

public class AuthorityPresenter
extends PartPresenter<org.openpermis.policy.bean.AuthorityBean>

Presenter for a single resource AuthorityBean.

Since:
0.3.0

Field Summary
private  URI identity
           
private static org.slf4j.Logger LOGGER
           
 
Constructor Summary
AuthorityPresenter(org.openpermis.policy.bean.AuthorityBean model, PolicyContext context)
          Creates a new AuthorityPresenter.
 
Method Summary
 URI getIdentity()
          Returns the identity of the authority.
 void setIdentity(URI identity)
          Sets the identity of the authority.
 void updateIdentity()
          Handles property changes of identity.
 
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

LOGGER

private static final org.slf4j.Logger LOGGER
Since:
0.3.0

identity

private URI identity
Since:
0.3.0
Constructor Detail

AuthorityPresenter

public AuthorityPresenter(org.openpermis.policy.bean.AuthorityBean model,
                          PolicyContext context)
Creates a new AuthorityPresenter.

Parameters:
model - the AuthorityBean.
context - policy context that provides additional information.
Since:
0.3.0
Method Detail

getIdentity

public URI getIdentity()
Returns the identity of the authority.

Returns:
the identity of the authority.
Since:
0.3.0

setIdentity

public void setIdentity(URI identity)
Sets the identity of the authority.

Parameters:
identity - the new identity to set.
Since:
0.3.0

updateIdentity

public void updateIdentity()
Handles property changes of identity.

Since:
0.3.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG