|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RightsNetworkObserver
This interface is responsible to follow the property change events from all the BaseObjects associated to a view, to inform the view GraphicViewBaselistenerImpl that the rights may have changed. It is independant of the graphic view, which may be deleted and created several times by GraphicViewBaselistenerImpl. The BaseListener which manages the view instance must register itself as a PropertyChangeListener of this RightsNetworkObserver instance.
RightsMediatorImpl
Field Summary | |
---|---|
static int |
INITIAL_CAPACITY
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener _listener)
Register a listener for the PropertyChange event The class will fire a PropertyChange value whenever the value is updated. |
void |
finalizeForProcess()
Finalize the instance; the call is reserved to ViewTreeBaseListenerImpl. |
BaseObject |
getSource()
|
void |
propertyChange(java.beans.PropertyChangeEvent _evt)
Manage the events fired by the base objects of the rights network. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener _listener)
Remove a listener for the PropertyChange event |
void |
setRightsNetwork(java.util.Set _l_baseObjects)
For a new view or when the view nodes have changed, this method registers this instance as a listener of the bound property changes in the network of ACSObjects and properties which are implied in the view. |
java.lang.String |
toString()
Get the values of the view |
Field Detail |
---|
static final int INITIAL_CAPACITY
Method Detail |
---|
BaseObject getSource()
void addPropertyChangeListener(java.beans.PropertyChangeListener _listener)
_listener
- An object to be invoked when a PropertyChange
event is fired.void removePropertyChangeListener(java.beans.PropertyChangeListener _listener)
_listener
- to be removed.void propertyChange(java.beans.PropertyChangeEvent _evt)
propertyChange
in interface java.beans.PropertyChangeListener
_evt
- to processvoid setRightsNetwork(java.util.Set _l_baseObjects)
This includes the listening of the intermediate nodes for each access path, and also for the non-intermediates which should become intermediates when a property change. This includes the AclEntries and the PrivilegeForLinks, respectively for their rights and their sources/targets. This includes the listening of the specific events from any AcsAddon ACS or any of its objects, for which BaseUtilityImpl.add/removeAddonInner/ParentPropertyChangeListener() are called.
_l_baseObjects
- the BaseObjects which are intermediate nodes in
the detected access paths of the view, or an intermediate-node AclEntryjava.lang.String toString()
toString
in class java.lang.Object
void finalizeForProcess()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |