org.tentackle.db.rmi
Class ModificationLogRemoteDelegateImpl<T extends ModificationLog>

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.tentackle.db.rmi.RemoteDelegateImpl<T>
                  extended by org.tentackle.db.rmi.DbObjectRemoteDelegateImpl<T>
                      extended by org.tentackle.db.rmi.ModificationLogRemoteDelegateImpl<T>
Type Parameters:
T - the modification log class
All Implemented Interfaces:
Serializable, Remote, DbObjectRemoteDelegate, ModificationLogRemoteDelegate, RemoteDelegate

public class ModificationLogRemoteDelegateImpl<T extends ModificationLog>
extends DbObjectRemoteDelegateImpl<T>
implements ModificationLogRemoteDelegate

Remote delegate implementation for ModificationLog.

Author:
harald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tentackle.db.rmi.DbObjectRemoteDelegateImpl
dbObject
 
Fields inherited from class org.tentackle.db.rmi.RemoteDelegateImpl
clazz, csf, db, port, session, ssf
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ModificationLogRemoteDelegateImpl(RemoteDbSessionImpl session, Class<T> clazz)
           
 
Method Summary
 boolean isReferencingObject(String objectClass, long objectId)
           
 boolean isReferencingUser(String user)
           
 List<ModificationLog> selectByObject(String objectClass, long objectId)
           
 ModificationLog selectFirst()
           
 
Methods inherited from class org.tentackle.db.rmi.DbObjectRemoteDelegateImpl
deleteObject, deletePlain, dummyUpdate, getExpirationBacklog, getExpiredTableSerials, insertObject, insertPlain, isReferenced, newObject, save, select, selectAll, selectAllCursor, selectExpiredTableSerials, selectExpiredTableSerials, selectInValidContext, selectLocked, selectModification, selectSerial, updateObject, updatePlain, updateSerial, updateSerialAndTableSerial, updateTableSerial
 
Methods inherited from class org.tentackle.db.rmi.RemoteDelegateImpl
getClientSocketFactory, getPort, getServerSocketFactory, getSession
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.tentackle.db.rmi.DbObjectRemoteDelegate
deleteObject, deletePlain, dummyUpdate, getExpirationBacklog, getExpiredTableSerials, insertObject, insertPlain, isReferenced, save, select, selectAll, selectAllCursor, selectExpiredTableSerials, selectExpiredTableSerials, selectInValidContext, selectLocked, selectModification, selectSerial, updateObject, updatePlain, updateSerial, updateSerialAndTableSerial, updateTableSerial
 

Constructor Detail

ModificationLogRemoteDelegateImpl

public ModificationLogRemoteDelegateImpl(RemoteDbSessionImpl session,
                                         Class<T> clazz)
                                  throws RemoteException
Throws:
RemoteException
Method Detail

selectFirst

public ModificationLog selectFirst()
                            throws RemoteException
Specified by:
selectFirst in interface ModificationLogRemoteDelegate
Throws:
RemoteException

selectByObject

public List<ModificationLog> selectByObject(String objectClass,
                                            long objectId)
                                     throws RemoteException
Specified by:
selectByObject in interface ModificationLogRemoteDelegate
Throws:
RemoteException

isReferencingUser

public boolean isReferencingUser(String user)
                          throws RemoteException
Specified by:
isReferencingUser in interface ModificationLogRemoteDelegate
Throws:
RemoteException

isReferencingObject

public boolean isReferencingObject(String objectClass,
                                   long objectId)
                            throws RemoteException
Specified by:
isReferencingObject in interface ModificationLogRemoteDelegate
Throws:
RemoteException


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de