public class SanityCheckDataSource extends MutableDataSource
MemoryHandler.Cost
ATTRIBUTE_MODE, ENV_DEFAULT_VALIDATE_PARALLEL, ENV_VALIDATE_PARALLEL_SIZE, MODE_BULK_LOAD, NEXT_NUMBER_ROWID, NEXT_NUMBER_TRANSACTION, sudoLogin
Constructor and Description |
---|
SanityCheckDataSource(Login login,
SudoDataSource baseDS) |
Modifier and Type | Method and Description |
---|---|
DBObject |
findRow(long rowId,
DBClassConcrete def,
Hint hint)
Finds a DBObject by it's rowId
THREAD SAFE: Multi-Threaded access allowed.
|
DBQueryHandler |
getQueryHandler(DBClass searchClass)
Makes a Query handler for simple virtual db.
|
boolean |
hasChanged()
Have any objects in the universe been changed.
|
ValidationList |
validateUniverse()
Validate all DBObjects that have been created/modified/deleted
|
abort, addJournalHint, changeThreadMode, clearSavePoint, create, create, create, create, disableParallelValidation, dispose, duplicate, excludeFromGroup, excludeFromGroup, findDBClass, findDBClass, findDBClassAbstract, findDBClassAbstract, findKey, findKey, findKey, findKey, forceToDB, freeMemory, getAttribute, getCacheObject, getCost, getCurrentDataSource, getDataBase, getDataBaseReadOnly, getEstimatedSize, getGlobalObject, getInwardLinkage, getJournalHint, getLastAccessed, getLogin, getRawReadDB, getRawWriteDB, getRealLogin, getSession, getTimeZone, getUser, hasChangedByUser, hasChild, hasExcludedGroups, hasSavePoint, iAddToUniverse, iGetUniverseRowMap, isChangable, isChangedByUserDisabled, isDisposed, isExcludeFromGroup, isInEventAction, isInValidateUniverse, isOnChangeEventDisabled, isParallelValidationAllowed, isSaveDisabled, isSaving, isSimulatingJMS, iUpdateCacheKey, listUniverse, makeQuery, markSavePoint, nextNumber, nextNumber, panicFreeMemory, queuedFreeMemory, raise, recycleObject, reindex, resetReadChecks, rollbackTo, save, setAttribute, setCacheObject, setDisableChangedByUser, setDisableOnChangeEvent, setNoSave, setTimeZone, setTransGroup, simulateJMS, simulateLockedFieldCache, tidyUp, toString, touch
public SanityCheckDataSource(Login login, SudoDataSource baseDS)
public boolean hasChanged()
MutableDataSource
hasChanged
in class MutableDataSource
public ValidationList validateUniverse() throws java.lang.Exception
MutableDataSource
validateUniverse
in class MutableDataSource
java.lang.Exception
- A serious problempublic DBObject findRow(long rowId, DBClassConcrete def, Hint hint) throws NotFoundException
MutableDataSource
findRow
in interface DataSource
findRow
in class MutableDataSource
rowId
- The row iddef
- The DBClasshint
- The hint of other rows to be fetchedNotFoundException
- The row wasn't foundpublic DBQueryHandler getQueryHandler(DBClass searchClass)
MutableDataSource
getQueryHandler
in interface DataSource
getQueryHandler
in class MutableDataSource
searchClass
- the class that is being searched.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.