|
DODS 7.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CachedDBTransaction
Method Summary | |
---|---|
void |
addDeletedDO(CoreDO DO)
|
java.util.List |
checkChanged(java.lang.String tableName,
QueryCacheItem queryItem,
Transaction[] array)
|
void |
dontAggregateDOModifications()
|
boolean |
getAutoWrite()
Method returns value of a data member. |
java.util.Vector |
getDeletedDOs()
|
CoreDO[] |
getDOs()
Gets an array of DOs. |
DOCache |
getTransactionCache()
Method return transaction Cache |
boolean |
isFirstWrite()
|
boolean |
isHolding()
|
boolean |
isReleased()
Method to ensure this object is still valid. |
boolean |
isTableModified(java.lang.String tableName)
Returns indicator whether the table defined with tableName parameter was changed in the transaction (if there were any inserts and/or deletes and/or updates). |
void |
resetDeletedDOs()
|
void |
saveDirtyDOs()
|
void |
setFirstWrite(boolean newfw)
|
boolean |
wasReadOnly()
Although it's internally used to skip uneccessary commits against the database, this information is made publicly accessible through this method. |
Methods inherited from interface com.lutris.appserver.server.sql.DBTransaction |
---|
commit, createQuery, delete, getDatabaseName, getDO, getDO, handleException, insert, lockDO, preventCacheQueries, release, rollback, setDatabaseName, update, write |
Method Detail |
---|
boolean isReleased()
CoreDO[] getDOs()
void saveDirtyDOs()
DOCache getTransactionCache()
java.util.Vector getDeletedDOs()
void addDeletedDO(CoreDO DO)
void resetDeletedDOs()
void dontAggregateDOModifications()
boolean getAutoWrite()
boolean isFirstWrite()
void setFirstWrite(boolean newfw)
boolean wasReadOnly()
boolean isHolding()
java.util.List checkChanged(java.lang.String tableName, QueryCacheItem queryItem, Transaction[] array)
boolean isTableModified(java.lang.String tableName)
|
DODS 7.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |