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
TheRemoteEvent
class 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 long
getDate()
Remote version of theEvent.getDate()
method.String
getIdentifier()
Remote version of theEvent.getIdentifier()
method.Map
getInfo()
Remote version of theEvent.getInfo()
method.String
getPath()
Remote version of theEvent.getPath()
method.int
getType()
Remote version of theEvent.getType()
method.String
getUserData()
Remote version of theEvent.getUserData()
method.String
getUserID()
Remote version of theEvent.getUserID()
method.
-
-
-
Method Detail
-
getType
int getType() throws RemoteException
Remote 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
Map
containing parameter information for instances of aNODE_MOVED
event. - 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, RemoteException
Remote 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
-
-