com.antelmann.timeregister
Class RemotePunchDBImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.antelmann.timeregister.RemotePunchDBImpl
- All Implemented Interfaces:
- RemotePunchDB, Serializable, Remote
public class RemotePunchDBImpl
- extends UnicastRemoteObject
- implements RemotePunchDB
implements the server for a remote PunchDB
- Author:
- Holger Antelmann
- See Also:
- Serialized Form
RemotePunchDBImpl
public RemotePunchDBImpl(PunchDB db)
throws RemoteException
- Throws:
RemoteException
remotePunch
public void remotePunch(PunchData entry)
throws RemoteException,
DatabaseException,
FormatException
- Specified by:
remotePunch in interface RemotePunchDB
- Throws:
RemoteException
DatabaseException
FormatException
remoteRetrievePunchData
public PunchDataAnalyzer remoteRetrievePunchData(User user,
Date from,
Date until,
String location,
String activity)
throws RemoteException,
DatabaseException
- Specified by:
remoteRetrievePunchData in interface RemotePunchDB
- Throws:
RemoteException
DatabaseException
remoteGetLastPunch
public PunchData remoteGetLastPunch(User user)
throws RemoteException,
DatabaseException
- Specified by:
remoteGetLastPunch in interface RemotePunchDB
- Throws:
RemoteException
DatabaseException
remoteGetFirstPunch
public PunchData remoteGetFirstPunch(User user)
throws RemoteException,
DatabaseException
- Specified by:
remoteGetFirstPunch in interface RemotePunchDB
- Throws:
RemoteException
DatabaseException
remoteGetUsers
public Map remoteGetUsers()
throws RemoteException,
DatabaseException
- Specified by:
remoteGetUsers in interface RemotePunchDB
- Throws:
RemoteException
DatabaseException
remoteUpdatePassword
public void remoteUpdatePassword(User user)
throws RemoteException,
DatabaseException,
IllegalArgumentException
- Specified by:
remoteUpdatePassword in interface RemotePunchDB
- Throws:
RemoteException
DatabaseException
IllegalArgumentException
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads