public abstract class DBStoredResult extends DBObject
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
Stored results to de-normalize a class.
|
static java.lang.String |
DBCLASS_NAME
Stored results to de-normalize a class.
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
DBStoredResult(DBClass def,
DataSource dataSource)
Std.
|
Modifier and Type | Method and Description |
---|---|
protected void |
extPreSaveRecord()
OVERRIDE this method to add functionality to stSoftware BEFORE saving the record to the database.
|
DBClass |
findBaseClass(java.lang.String... args)
The base class for the result set.
|
static DBStoredResult |
findKey(DataSource ds,
java.lang.String key)
Find the target for this class by the primary key
|
DBStoredResultMode |
findMode(java.lang.String... args)
The mode of this DBStoredResult.
|
DBStoredResultPersistentMode |
findPersistentMode(java.lang.String... args)
The persistent mode.
|
java.lang.String |
getAdditionalCriteria(java.lang.String... args) |
DBClass |
getBaseClass(java.lang.String... args) |
java.lang.String |
getChecksum(java.lang.String... args) |
java.lang.String |
getCode(java.lang.String... args) |
java.lang.String |
getDescription(java.lang.String... args) |
DBStoredResultMode |
getMode(java.lang.String... args) |
DBStoredResultPersistentMode |
getPersistentMode(java.lang.String... args) |
int |
getVersion(java.lang.String... args) |
protected java.util.Map<java.lang.String,java.lang.Boolean> |
interestingFields()
return the fields need to checksum, the key of the map is the field name, value is a Boolean which means if case sensitive.
|
java.lang.String |
makeKey() |
static DBQuery<DBStoredResult> |
makeQuery(DataSource ds)
Make a new QUERY for this class.
|
DBStoredResult |
setAdditionalCriteria(java.lang.String value,
java.lang.String... args) |
DBStoredResult |
setBaseClass(com.aspc.dal.dbobj.DBClass value,
java.lang.String... args) |
DBStoredResult |
setChecksum(java.lang.String value,
java.lang.String... args) |
DBStoredResult |
setCode(java.lang.String value,
java.lang.String... args) |
DBStoredResult |
setDescription(java.lang.String value,
java.lang.String... args) |
DBStoredResult |
setMode(com.aspc.dal.dbobj.internal.DBStoredResultMode value,
java.lang.String... args) |
DBStoredResult |
setPersistentMode(com.aspc.dal.dbobj.internal.DBStoredResultPersistentMode value,
java.lang.String... args) |
DBStoredResult |
setVersion(int value,
java.lang.String... args) |
protected java.lang.String |
uniqueString()
get the unique string for this DBStoredResult settings
|
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, eventFieldUpdated, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extFixUp, extGetDerivedGlobalKey, extGetDerivedValue, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreValidate, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, extValidateField, extValidateRecord, fetchLinkHolder, findGlobalKey, findGlobalKey, findGlobalKey, findGlobalKey, findLinkedObject, findLinkedObject, findLinkedObject, findRawData, fireEventDataLoaded, fixUp, forceLockedTransaction, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getChangedFieldInfo, getChangedFields, getDate, getDate, getDate, getDate, getDate, getDefaultValue, getDisableOnChangeEvent, getDouble, getDouble, getDouble, getDouble, getDouble, getFieldDouble, getFieldInt, getFieldLong, getFieldString, getFormattedString, getFormattedString, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getInt, getInt, getInt, getInt, getInt, getInt, getInwardLinkage, getKeyString, getKeyValue, getLinkedObject, getLinkedObject, getLinkedObject, getLinkedObjectByKey, getLinkedRowId, getLinkedRowId, getLinkedRowIdByData, getLinkHolder, getLockedTransaction, getLong, getLong, getLong, getLong, getLong, getLong, getMutableArrayValue, getMutableArrayValue, getOriginalKey, getOriginalValue, getOriginalValue, getProcessedValue, getPureValue, getRawData, getRawValue, getRawValue, getRowId, getRowKey, getSecondaryCacheGroupKey, getSrcLayerID, getString, getString, getString, getString, getString, getString, getValue, getValue, getValue, getValue, hasAutoChanged, hasAutoChanged, hasChanged, hasChangedByUser, hasChangedByUserField, hasChangedByUserField, hasFieldChanged, hasFieldChanged, hashCode, hasStoredResult, iCheckDeleteAccess, iCheckModifyAccess, iCheckReadAccess, iGetDenormalizedMap, iGetRawValue, iPlaceDenormalizedResult, iPostSaveOrDeleteRecord, iPreSaveOrDeleteRecord, iPreValidate, iRaiseEvents, iSaveOrDeleteRecord, isBrokenLink, isBrokenLink, isChanged, isDataCacheKnownToBeDirty, isDeleted, isEmpty, iSetValue, isForceReindex, isKeyWordField, isMandatory, isNew, isNull, isNull, isOnChange, isReindex, iValidateRecord, lastTouched, makeArchiveDataLoader, makeClone, makeDataLoader, makeDenormalizedDoc, makeLinkedArray, makeModifyAccessException, makeSearchPlan, makeWriteProvider, manualDenormalizeOnSave, markSavePoint, optLockedTransaction, registerWatchedObject, reindex, releaseDenormalized, removeReloadEventListener, restoreByJournal, rollbackTo, setBoolean, setBoolean, setBoolean, setBoolean, setDisableOnChangeEvent, setDouble, setDouble, setInt, setInt, setLong, setLong, setRawData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, touch, undelete, validateField, validateRecord, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public DBStoredResult(DBClass def, DataSource dataSource) throws java.lang.Exception
def
- The class of this objectdataSource
- The datasource for this objectjava.lang.Exception
- A serious problem occurred@CheckReturnValue @Nonnull public java.lang.String getCode(java.lang.String... args)
@Nonnull public DBStoredResult setCode(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getAdditionalCriteria(java.lang.String... args)
@Nonnull public DBStoredResult setAdditionalCriteria(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBClass getBaseClass(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBClass findBaseClass(java.lang.String... args) throws NotFoundException
DBClass
(Integer, Searchable)args
- the optional argumentsNotFoundException
- DBClass was not found@Nonnull public DBStoredResult setBaseClass(com.aspc.dal.dbobj.DBClass value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getChecksum(java.lang.String... args)
@Nonnull public DBStoredResult setChecksum(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getDescription(java.lang.String... args)
@Nonnull public DBStoredResult setDescription(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBStoredResultMode getMode(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBStoredResultMode findMode(java.lang.String... args) throws NotFoundException
DBStoredResultMode
(String, Searchable)args
- the optional argumentsNotFoundException
- DBStoredResultMode was not found@Nonnull public DBStoredResult setMode(com.aspc.dal.dbobj.internal.DBStoredResultMode value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBStoredResultPersistentMode getPersistentMode(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBStoredResultPersistentMode findPersistentMode(java.lang.String... args) throws NotFoundException
DBStoredResultPersistentMode
(String, Searchable)args
- the optional argumentsNotFoundException
- DBStoredResultPersistentMode was not found@Nonnull public DBStoredResult setPersistentMode(com.aspc.dal.dbobj.internal.DBStoredResultPersistentMode value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getVersion(java.lang.String... args)
@Nonnull public DBStoredResult setVersion(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@Nonnull @CheckReturnValue public static DBQuery<DBStoredResult> makeQuery(@Nonnull DataSource ds) throws NotFoundException
ds
- the datasourceNotFoundException
- if class could not be found@Nonnull @CheckReturnValue public static DBStoredResult findKey(@Nonnull DataSource ds, @Nonnull java.lang.String key) throws NotFoundException, java.lang.Exception
ds
- the datasourcekey
- the valueNotFoundException
- if target could not be foundjava.lang.Exception
- a serious problempublic java.lang.String makeKey()
@OverridingMethodsMustInvokeSuper protected void extPreSaveRecord() throws java.lang.Exception
DBObject
extPreSaveRecord
in class DBObject
java.lang.Exception
- A Serious problemprotected java.util.Map<java.lang.String,java.lang.Boolean> interestingFields()
protected java.lang.String uniqueString()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.