org.openpermis.editor.policy.presenter
Class DomainPresenter

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

public class DomainPresenter
extends PartPresenter<org.openpermis.policy.bean.DomainBean>

Presenter for a single resource DomainBean.

Since:
0.1.0

Field Summary
private  URI identity
          The identity of the resource domain.
private static org.slf4j.Logger LOGGER
          The logger object of this class.
 
Constructor Summary
DomainPresenter(org.openpermis.policy.bean.DomainBean model, PolicyContext context)
          Creates a new resource domain presenter.
 
Method Summary
 URI getIdentity()
          Returns the identity of the model resource domain.
 void setIdentity(URI identity)
          Sets the identity of the model resource domain.
 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
The logger object of this class.

Since:
0.1.0

identity

private URI identity
The identity of the resource domain.

Since:
0.1.0
Constructor Detail

DomainPresenter

public DomainPresenter(org.openpermis.policy.bean.DomainBean model,
                       PolicyContext context)
Creates a new resource domain presenter.

Parameters:
model - the resource domain rule to work on, must not be null.
context - policy context that provides additional information.
Since:
0.1.0
Method Detail

getIdentity

public URI getIdentity()
Returns the identity of the model resource domain.

Returns:
the identity of the model resource domain.
Since:
0.1.0

setIdentity

public void setIdentity(URI identity)
Sets the identity of the model resource domain.

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

updateIdentity

public void updateIdentity()
Handles property changes of identity.

Since:
0.1.0


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