Module org.tentackle.database
Package org.tentackle.dbms.rmi
Interface ModificationLogRemoteDelegate
- All Superinterfaces:
AbstractDbObjectRemoteDelegate<ModificationLog>
,Remote
,RemoteDelegate
- All Known Implementing Classes:
ModificationLogRemoteDelegateImpl
public interface ModificationLogRemoteDelegate
extends AbstractDbObjectRemoteDelegate<ModificationLog>
Remote delegate interface for
ModificationLog
.- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescriptionint
deleteByObjectTypeSerial
(int objectClassId, long objectId, ModificationType modType, long serial) int
deleteByTxId
(long txId) int
deleteProcessed
(Timestamp processed) boolean
isReferencingObject
(int objectClassId, long objectId) boolean
isReferencingUser
(long userId) selectByObject
(int objectClassId, long objectId) List
<? extends ModificationLog> selectByTxId
(long txId) selectByUserAndType
(long userId, ModificationType modType) selectFirstUnprocessedGreater
(long id) selectGreaterId
(long id) selectTxIds
(long fromId, long upToId) selectUpTo
(Timestamp processed) int
updateByObjectTypeSerial
(Timestamp processed, int objectClassId, long objectId, ModificationType modType, long serial) void
updateDiagnostics
(Timestamp processed, String comment, ModificationLog obj) void
updateProcessed
(Timestamp processed, ModificationLog obj) int
updateUnprocessedByTxId
(Timestamp processed, long txId) Methods inherited from interface org.tentackle.dbms.rmi.AbstractDbObjectRemoteDelegate
countModification, deleteObject, deletePlain, dummyUpdate, getExpirationBacklog, getExpiredTableSerials, insertObject, insertPlain, isReferenced, obtainReservedId, persistObject, saveObject, selectAllIdSerial, selectAllObjects, selectExpiredTableSerials, selectExpiredTableSerials, selectMaxId, selectMaxTableSerial, selectObject, selectObjectForUpdate, selectObjectsWithExpiredTableSerials, selectSerial, updateAndSetSerial, updateObject, updatePlain, updateSerial, updateSerialAndTableSerial
-
Method Details
-
updateProcessed
- Throws:
RemoteException
-
updateDiagnostics
void updateDiagnostics(Timestamp processed, String comment, ModificationLog obj) throws RemoteException - Throws:
RemoteException
-
selectFirstUnprocessed
- Throws:
RemoteException
-
selectFirstUnprocessedGreater
- Throws:
RemoteException
-
selectGreaterId
- Throws:
RemoteException
-
selectLastProcessed
- Throws:
RemoteException
-
selectByObject
- Throws:
RemoteException
-
selectByUserAndType
List<ModificationLog> selectByUserAndType(long userId, ModificationType modType) throws RemoteException - Throws:
RemoteException
-
isReferencingUser
- Throws:
RemoteException
-
isReferencingObject
- Throws:
RemoteException
-
updateByObjectTypeSerial
int updateByObjectTypeSerial(Timestamp processed, int objectClassId, long objectId, ModificationType modType, long serial) throws RemoteException - Throws:
RemoteException
-
deleteByObjectTypeSerial
int deleteByObjectTypeSerial(int objectClassId, long objectId, ModificationType modType, long serial) throws RemoteException - Throws:
RemoteException
-
selectByTxId
- Throws:
RemoteException
-
updateUnprocessedByTxId
- Throws:
RemoteException
-
deleteByTxId
- Throws:
RemoteException
-
deleteProcessed
- Throws:
RemoteException
-
selectUpTo
- Throws:
RemoteException
-
selectTxIds
- Throws:
RemoteException
-