org.tentackle.appworx.rmi
Interface AppDbObjectRemoteDelegate

All Superinterfaces:
DbObjectRemoteDelegate, Remote, RemoteDelegate
All Known Subinterfaces:
HistoryRemoteDelegate, SecurityRemoteDelegate
All Known Implementing Classes:
AppDbObjectRemoteDelegateImpl, HistoryRemoteDelegateImpl, SecurityRemoteDelegateImpl

public interface AppDbObjectRemoteDelegate
extends DbObjectRemoteDelegate

Remote delegate for AppDbObject.

Author:
harald

Nested Class Summary
static class AppDbObjectRemoteDelegate.BeingEditedToken
          Holds the "edited-by"-token and a success-code.
Return value for updateEditedBy() and transferEditedBy().
 
Method Summary
 List<Object> getTreeChildObjects(AppDbObject obj)
           
 List<Object> getTreeChildObjects(AppDbObject obj, Object parentObject)
           
 List<Object> getTreeParentObjects(AppDbObject obj)
           
 List<Object> getTreeParentObjects(AppDbObject obj, Object parentObject)
           
 boolean isReferenced(ContextDb cb, long id)
           
 QbfCursorResult searchQbfCursor(QbfParameter par)
           
 AppDbObject select(ContextDb cb, long id, boolean withLinkedObjects)
           
 List<? extends AppDbObject> selectAll(boolean withLinkedObjects)
           
 List<? extends AppDbObject> selectAllInContext(ContextDb cb)
           
 RemoteDbCursor selectAllInContextCursor(ContextDb cb)
           
 List<? extends AppDbObject> selectAllInContextFromServerCache(ContextDb cb)
           
 List<? extends AppDbObject> selectByNormText(ContextDb cb, String normText)
           
 RemoteDbCursor selectByNormTextCursor(ContextDb cb, String normText)
           
 AppDbObject selectLocked(ContextDb cb, long id, boolean withLinkedObjects)
           
 AppDbObjectRemoteDelegate.BeingEditedToken transferEditedBy(long id)
           
 AppDbObjectRemoteDelegate.BeingEditedToken updateEditedBy(long id, Timestamp tokenExpiry, long userId, Timestamp curTime)
           
 boolean updateEditedByOnly(long id, long editedBy, Timestamp editedSince, Timestamp editedExpiry)
           
 
Methods inherited from interface org.tentackle.db.rmi.DbObjectRemoteDelegate
deleteObject, deletePlain, dummyUpdate, getExpirationBacklog, getExpiredTableSerials, insertObject, insertPlain, isReferenced, save, select, selectAllCursor, selectExpiredTableSerials, selectExpiredTableSerials, selectInValidContext, selectLocked, selectModification, selectSerial, updateObject, updatePlain, updateSerial, updateSerialAndTableSerial, updateTableSerial
 

Method Detail

select

AppDbObject select(ContextDb cb,
                   long id,
                   boolean withLinkedObjects)
                   throws RemoteException
Throws:
RemoteException

selectLocked

AppDbObject selectLocked(ContextDb cb,
                         long id,
                         boolean withLinkedObjects)
                         throws RemoteException
Throws:
RemoteException

selectAll

List<? extends AppDbObject> selectAll(boolean withLinkedObjects)
                                      throws RemoteException
Specified by:
selectAll in interface DbObjectRemoteDelegate
Throws:
RemoteException

selectByNormText

List<? extends AppDbObject> selectByNormText(ContextDb cb,
                                             String normText)
                                             throws RemoteException
Throws:
RemoteException

selectByNormTextCursor

RemoteDbCursor selectByNormTextCursor(ContextDb cb,
                                      String normText)
                                      throws RemoteException
Throws:
RemoteException

selectAllInContext

List<? extends AppDbObject> selectAllInContext(ContextDb cb)
                                               throws RemoteException
Throws:
RemoteException

selectAllInContextFromServerCache

List<? extends AppDbObject> selectAllInContextFromServerCache(ContextDb cb)
                                                              throws RemoteException
Throws:
RemoteException

selectAllInContextCursor

RemoteDbCursor selectAllInContextCursor(ContextDb cb)
                                        throws RemoteException
Throws:
RemoteException

searchQbfCursor

QbfCursorResult searchQbfCursor(QbfParameter par)
                                throws RemoteException
Throws:
RemoteException

getTreeParentObjects

List<Object> getTreeParentObjects(AppDbObject obj)
                                  throws RemoteException
Throws:
RemoteException

getTreeParentObjects

List<Object> getTreeParentObjects(AppDbObject obj,
                                  Object parentObject)
                                  throws RemoteException
Throws:
RemoteException

getTreeChildObjects

List<Object> getTreeChildObjects(AppDbObject obj)
                                 throws RemoteException
Throws:
RemoteException

getTreeChildObjects

List<Object> getTreeChildObjects(AppDbObject obj,
                                 Object parentObject)
                                 throws RemoteException
Throws:
RemoteException

isReferenced

boolean isReferenced(ContextDb cb,
                     long id)
                     throws RemoteException
Throws:
RemoteException

updateEditedBy

AppDbObjectRemoteDelegate.BeingEditedToken updateEditedBy(long id,
                                                          Timestamp tokenExpiry,
                                                          long userId,
                                                          Timestamp curTime)
                                                          throws RemoteException
Throws:
RemoteException

transferEditedBy

AppDbObjectRemoteDelegate.BeingEditedToken transferEditedBy(long id)
                                                            throws RemoteException
Throws:
RemoteException

updateEditedByOnly

boolean updateEditedByOnly(long id,
                           long editedBy,
                           Timestamp editedSince,
                           Timestamp editedExpiry)
                           throws RemoteException
Throws:
RemoteException


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