|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabaseProcedure
This interface represents a database procedure that is executed on the server side. It is used to perform database specific functions that can only be performed on the server.
A procedure must manage its own table locking.
Method Summary | |
---|---|
Table |
execute(User user,
java.lang.Object[] args)
Executes the procudure and returns the resultant table. |
int |
getLockingMode()
Returns the locking mode in which the database operates. |
DataTable[] |
getReadTables(DatabaseConnection db)
This returns a DataTable[] array that lists the DataTables that are read during this procedure. |
DataTable[] |
getWriteTables(DatabaseConnection db)
Returns a DataTable[] array that lists the DataTables that are written to during this procedure. |
void |
setLockHandle(LockHandle lock_handle)
Sets the LockHandle object for this procedure. |
Method Detail |
---|
Table execute(User user, java.lang.Object[] args) throws DatabaseException
DatabaseException
DataTable[] getReadTables(DatabaseConnection db) throws DatabaseException
DatabaseException
DataTable[] getWriteTables(DatabaseConnection db) throws DatabaseException
DatabaseException
int getLockingMode()
void setLockHandle(LockHandle lock_handle)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |