Package org.apache.jackrabbit.rmi.server
Class ServerEventCollection.ServerEvent
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jackrabbit.rmi.server.ServerObject
-
- org.apache.jackrabbit.rmi.server.ServerEventCollection.ServerEvent
-
- All Implemented Interfaces:
Serializable,Remote,RemoteEventCollection.RemoteEvent
- Enclosing class:
- ServerEventCollection
public static class ServerEventCollection.ServerEvent extends ServerObject implements RemoteEventCollection.RemoteEvent
Server side implementation of theRemoteEventCollection.RemoteEventinterface.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Method Detail
-
getPath
public String getPath() throws RepositoryException
Remote version of theEvent.getPath()method.- Specified by:
getPathin interfaceRemoteEventCollection.RemoteEvent- Returns:
- the absolute path associated with this event or
null. - Throws:
RepositoryException- on repository errors
-
getType
public int getType()
Remote version of theEvent.getType()method.- Specified by:
getTypein interfaceRemoteEventCollection.RemoteEvent- Returns:
- the type of this event.
-
getUserID
public String getUserID()
Remote version of theEvent.getUserID()method.- Specified by:
getUserIDin interfaceRemoteEventCollection.RemoteEvent- Returns:
- the user ID.
-
getIdentifier
public String getIdentifier() throws RepositoryException, RemoteException
Remote version of theEvent.getIdentifier()method.- Specified by:
getIdentifierin interfaceRemoteEventCollection.RemoteEvent- Returns:
- the identifier associated with this event or
null. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getInfo
public Map getInfo() throws RepositoryException, RemoteException
Remote version of theEvent.getInfo()method.- Specified by:
getInfoin interfaceRemoteEventCollection.RemoteEvent- Returns:
- A
Mapcontaining parameter information for instances of aNODE_MOVEDevent. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getUserData
public String getUserData() throws RepositoryException, RemoteException
Remote version of theEvent.getUserData()method.- Specified by:
getUserDatain interfaceRemoteEventCollection.RemoteEvent- Returns:
- The user data string.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getDate
public long getDate() throws RepositoryException, RemoteExceptionRemote version of theEvent.getDate()method.- Specified by:
getDatein interfaceRemoteEventCollection.RemoteEvent- Returns:
- the date when the change was persisted that caused this event.
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
-