public class ClientObservationManager extends ClientObject
ClientObservationManager class
This class uses an instance of the
ClientEventPoll class for the
actual registration and event dispatching.
This class does not require the
LocalAdapterFactory and consequently
calls the base class constructor with a null factory.
See the observation
package comment for a description on how event listener registration and
notification is implemented.
ClientEventPoll| Constructor and Description |
|---|
ClientObservationManager(Workspace workspace,
RemoteObservationManager remote)
Creates an instance of this class talking to the given remote observation
manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEventListener(EventListener listener,
int eventTypes,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.String[] nodeTypeName,
boolean noLocal) |
EventJournal |
getEventJournal() |
EventJournal |
getEventJournal(int eventTypes,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.String[] nodeTypeName) |
EventListenerIterator |
getRegisteredEventListeners() |
void |
removeEventListener(EventListener listener) |
void |
setUserData(java.lang.String userData) |
public ClientObservationManager(Workspace workspace,
RemoteObservationManager remote)
remote - The RemoteObservationManager backing this
client-side observation manager.workspace - The Workspace instance to which this
observation manager belongs.public void addEventListener(EventListener listener,
int eventTypes,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.String[] nodeTypeName,
boolean noLocal)
throws RepositoryException
RepositoryExceptionpublic void removeEventListener(EventListener listener)
throws RepositoryException
RepositoryExceptionpublic EventListenerIterator getRegisteredEventListeners()
public EventJournal getEventJournal()
throws RepositoryException
RepositoryExceptionpublic EventJournal getEventJournal(int eventTypes,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.String[] nodeTypeName)
throws RepositoryException
RepositoryExceptionpublic void setUserData(java.lang.String userData)
throws RepositoryException
RepositoryException"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"