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

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
 

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.4.0 (Build 15)
2009/05/20 08:15:11
Copyright (c) 2002-2007 Ergon Informatik AG