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.
Author:
harald
  • Method Details

    • obtainReservedId

      long obtainReservedId()
    • selectObject

      P selectObject(long id)
    • selectObjectForUpdate

      P selectObjectForUpdate(long id)
    • selectAllObjects

      List<P> selectAllObjects()
    • selectAllIdSerial

      List<IdSerialTuple> selectAllIdSerial()
    • selectSerial

      long selectSerial(long id)
    • selectMaxId

      long selectMaxId()
    • selectMaxTableSerial

      long selectMaxTableSerial()
    • deletePlain

      void deletePlain(long id, long serial)
    • insertPlain

      void insertPlain(P obj)
    • updatePlain

      void updatePlain(P obj)
    • dummyUpdate

      void dummyUpdate(P obj)
    • updateSerial

      void updateSerial(long id, long serial)
    • updateAndSetSerial

      void updateAndSetSerial(long id, long serial)
    • updateSerialAndTableSerial

      void updateSerialAndTableSerial(long id, long serial, long tableSerial)
    • selectExpiredTableSerials

      List<IdSerialTuple> selectExpiredTableSerials(long oldSerial)
    • selectExpiredTableSerials

      List<IdSerialTuple> selectExpiredTableSerials(long oldSerial, long maxSerial)
    • getExpiredTableSerials

      Collection<IdSerialTuple> getExpiredTableSerials(long oldSerial, long maxSerial)
    • selectObjectsWithExpiredTableSerials

      List<P> selectObjectsWithExpiredTableSerials(long oldSerial)
    • insertObject

      DbObjectResult insertObject(P obj)
    • updateObject

      DbObjectResult updateObject(P obj)
    • saveObject

      DbObjectResult saveObject(P obj)
    • persistObject

      P persistObject(P obj)
    • deleteObject

      DbObjectResult deleteObject(P obj)
    • countModification

      long countModification()
    • isReferenced

      boolean isReferenced(long id)