Interface AbstractDbObjectRemoteDelegate<P extends AbstractDbObject<P>>
- Type Parameters:
P- the db object class
- All Superinterfaces:
Remote, RemoteDbDelegate
- All Known Subinterfaces:
AbstractPersistentObjectRemoteDelegate<T,P>, ModificationLogRemoteDelegate, NumberPoolRemoteDelegate, NumberRangeRemoteDelegate, SecurityRemoteDelegate, StoredBundleKeyRemoteDelegate, StoredBundleRemoteDelegate
- All Known Implementing Classes:
AbstractDbObjectRemoteDelegateImpl, AbstractPersistentObjectRemoteDelegateImpl, ModificationLogRemoteDelegateImpl, NumberPoolRemoteDelegateImpl, NumberRangeRemoteDelegateImpl, SecurityRemoteDelegateImpl, StoredBundleKeyRemoteDelegateImpl, StoredBundleRemoteDelegateImpl
public interface AbstractDbObjectRemoteDelegate<P extends AbstractDbObject<P>>
extends RemoteDbDelegate
Delegate for the AbstractDbObject class.
Notice: in this class we cut off generics! The reason is AbstractDbObject.getRemoteDelegate() which can't be made generic without making AbstractDbObject generic. This would end up with such silly things like "new Customer<Customer>()", because java provides no runtime type information of generic type parameters.
Notice: in this class we cut off generics! The reason is AbstractDbObject.getRemoteDelegate() which can't be made generic without making AbstractDbObject generic. This would end up with such silly things like "new Customer<Customer>()", because java provides no runtime type information of generic type parameters.
- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescriptionlongdeleteObject(P obj) voiddeletePlain(long id, long serial) voiddummyUpdate(P obj) getExpiredTableSerials(long oldSerial, long maxSerial) insertObject(P obj) voidinsertPlain(P obj) booleanisReferenced(long id) longpersistObject(P obj) saveObject(P obj) selectExpiredTableSerials(long oldSerial) selectExpiredTableSerials(long oldSerial, long maxSerial) longlongselectObject(long id) selectObjectForUpdate(long id) selectObjectsWithExpiredTableSerials(long oldSerial) longselectSerial(long id) voidupdateAndSetSerial(long id, long serial) updateObject(P obj) voidupdatePlain(P obj) voidupdateSerial(long id, long serial) voidupdateSerialAndTableSerial(long id, long serial, long tableSerial)
-
Method Details
-
obtainReservedId
long obtainReservedId() -
selectObject
-
selectObjectForUpdate
-
selectAllObjects
-
selectAllIdSerial
List<IdSerialTuple> selectAllIdSerial() -
selectSerial
long selectSerial(long id) -
selectMaxId
long selectMaxId() -
selectMaxTableSerial
long selectMaxTableSerial() -
deletePlain
void deletePlain(long id, long serial) -
insertPlain
-
updatePlain
-
dummyUpdate
-
updateSerial
void updateSerial(long id, long serial) -
updateAndSetSerial
void updateAndSetSerial(long id, long serial) -
updateSerialAndTableSerial
void updateSerialAndTableSerial(long id, long serial, long tableSerial) -
selectExpiredTableSerials
-
selectExpiredTableSerials
-
getExpiredTableSerials
-
selectObjectsWithExpiredTableSerials
-
insertObject
-
updateObject
-
saveObject
-
persistObject
-
deleteObject
-
countModification
long countModification() -
isReferenced
boolean isReferenced(long id)
-