Package org.apache.jackrabbit.rmi.remote
Interface RemoteEventCollection.RemoteEvent
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerEventCollection.ServerEvent
- Enclosing interface:
- RemoteEventCollection
public static interface RemoteEventCollection.RemoteEvent extends Remote
TheRemoteEventclass provides an encapsulation of single events in an event list sent to a registered listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetDate()Remote version of theEvent.getDate()method.StringgetIdentifier()Remote version of theEvent.getIdentifier()method.MapgetInfo()Remote version of theEvent.getInfo()method.StringgetPath()Remote version of theEvent.getPath()method.intgetType()Remote version of theEvent.getType()method.StringgetUserData()Remote version of theEvent.getUserData()method.StringgetUserID()Remote version of theEvent.getUserID()method.
-
-
-
Method Detail
-
getType
int getType() throws RemoteExceptionRemote version of theEvent.getType()method.- Returns:
- the type of this event.
- Throws:
RemoteException- on RMI errors
-
getPath
String getPath() throws RepositoryException, RemoteException
Remote version of theEvent.getPath()method.- Returns:
- the absolute path associated with this event or
null. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getUserID
String getUserID() throws RemoteException
Remote version of theEvent.getUserID()method.- Returns:
- the user ID.
- Throws:
RemoteException- on RMI errors
-
getIdentifier
String getIdentifier() throws RepositoryException, RemoteException
Remote version of theEvent.getIdentifier()method.- Returns:
- the identifier associated with this event or
null. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getInfo
Map getInfo() throws RepositoryException, RemoteException
Remote version of theEvent.getInfo()method.- Returns:
- A
Mapcontaining parameter information for instances of aNODE_MOVEDevent. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getUserData
String getUserData() throws RepositoryException, RemoteException
Remote version of theEvent.getUserData()method.- Returns:
- The user data string.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getDate
long getDate() throws RepositoryException, RemoteExceptionRemote version of theEvent.getDate()method.- Returns:
- the date when the change was persisted that caused this event.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
-