public abstract class DBClassConcrete extends DBClassAbstract
DBObject.DenormalizeAction| Modifier and Type | Field and Description |
|---|---|
protected long |
cacheRowId
cache of the row id for performance reasons.
|
static GlobalId |
DBCLASS_GID
DBClassConcrete
|
static java.lang.String |
DBCLASS_NAME
DBClassConcrete
|
holderClassList, holderFieldList, holderFieldListSorted, holderFieldMap, holderJavaClassATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
DBClassConcrete(DataSource dataSource)
INTERNAL ONLY Exposed for DBRawClass
|
|
DBClassConcrete(DBClass dbClass,
DataSource dataSource)
A DBClass is just a DBObject of type DBClass
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkDependances(java.lang.Object o)
Checks that the DBObject is of the correct java class
for this DBClass and inherited DBClasses.
|
void |
clearCache(GlobalKey key)
clear the cache.
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
Returns the derived value of this field.
|
protected ValidationError |
extValidateField(DBField field,
ValidationList list)
Validates each field in this record.
|
DBField |
findEmbeddedLinkage(java.lang.String... args)
A special field that will embedded this class within another.
|
DBClassAbstract |
findParentGid(java.lang.String... args)
Parent gid.
|
DBClassAbstract |
findRootClass(java.lang.String... args)
The root class for this class.
|
AccessControl[] |
getACLList(AccessGroup group)
Only take notice of ACLs that have been saved.
|
DBEvent[] |
getDBEventListAll()
The list of fields in this class
|
DBField |
getDBField(GlobalKey gKey)
returns the DBField for this global key
|
DBField |
getDBField(java.lang.String name)
Get the DBField
|
DBField[] |
getDBFieldList()
The list of fields in class
|
DBField[] |
getDBFieldListAll()
The list of fields in this class
|
DBField[] |
getDBFieldListAllSorted()
A sorted list of fields in this class.
|
DBModule[] |
getDBModuleList()
Get list of modules
|
DBModule[] |
getDBModuleListAll()
Get list of modules including parent modules
|
java.lang.String |
getDefaultRestFields(java.lang.String... args) |
DBField |
getEmbeddedLinkage(java.lang.String... args) |
DBEvent[] |
getEventList()
get the event list
|
int[] |
getExcludedLayersList()
return a list of layers ids that have been set as excluded for this class
|
int[] |
getExcludedLayersListAll()
The list of layers that this class is excluded from
|
DBField[] |
getInwardLinks()
The fields that point to this class
|
java.lang.Class |
getJavaClass()
Returns the java class within the available source based on the class name
|
java.lang.String |
getJavaClassName()
The java class name eg.
|
DBField |
getKeyField()
Return the key column
|
DBClassConcrete |
getParentDBClassConcrete()
A short hand method of getting the extended class
|
DBClassAbstract |
getParentGid(java.lang.String... args) |
GlobalKey |
getParentGlobalKey()
The global key of the parent class.
|
DBClassAbstract |
getRootClass(java.lang.String... args) |
DBClassConcrete |
getRootClassConcrete()
the root concrete class
|
java.lang.reflect.Method |
getSearchPlanMethod()
INTERNAL: The search plan method
|
boolean |
isAbstract()
Is this DBClass marked as abstract
|
boolean |
isBase()
is the base class.
|
boolean |
isInModule(java.lang.String inModule)
Is this class in the passed module.
|
boolean |
isInstanceOf(DBClassAbstract otherClassAbstract)
Is this class the same as or inherited from another DBClass.
|
boolean |
isInstanceOf(java.lang.String className)
Is this class the same as or inherited from another DBClass.
|
boolean |
isStaticList(java.lang.String... args) |
long |
makeRowId()
an internal method for making the cache row id
|
DBClassConcrete |
setDefaultRestFields(java.lang.String value,
java.lang.String... args) |
DBClassConcrete |
setEmbeddedLinkage(com.aspc.dal.dbobj.DBField value,
java.lang.String... args) |
DBClassConcrete |
setParentGid(com.aspc.dal.dbobj.DBClassAbstract value,
java.lang.String... args) |
DBClassConcrete |
setStaticList(boolean value,
java.lang.String... args) |
java.lang.String |
toString()
The full name of this DB class
|
eventDependantAdded, eventDependantRemoved, eventReload, extFixUp, extPreValidate, extValidateRecord, fetchInterfaceFields, fetchTemplateFields, findDBField, findKey, getClassId, getClassList, getDeprecatedTx, getDescription, getDisplayName, getFullName, getName, getNameForDisplay, getNotes, hasDBField, hasDBField, hasInterfaces, isDeprecated, isFinalFg, makeQuery, setClassId, setDeprecated, setDeprecatedTx, setDescription, setDisplayName, setFinalFg, setHasInterfaces, setJavaClassName, setName, setNotesaddReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, eventFieldUpdated, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extGetDerivedGlobalKey, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, 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, touch, undelete, validateField, validateRecord, validateSubTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitregisterWatchedObjectpublic static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
protected long cacheRowId
public DBClassConcrete(@Nonnull
DBClass dbClass,
@Nonnull
DataSource dataSource)
throws java.lang.Exception
dbClass - The raw classdataSource - The data source for this objectjava.lang.Exception - A serious problem occurredprotected DBClassConcrete(@Nonnull
DataSource dataSource)
throws java.lang.Exception
dataSource - The data source for this objectjava.lang.Exception - A serious problem@CheckReturnValue @Nonnull public java.lang.String getDefaultRestFields(java.lang.String... args)
@Nonnull public DBClassConcrete setDefaultRestFields(@MatchesPattern(value="([0-9a-z,\\*A-Z\\[\\]]+[:0-9a-z,_/\\*A-Z\\[\\]]*)*") java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public DBField getEmbeddedLinkage(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBField findEmbeddedLinkage(java.lang.String... args) throws NotFoundException
DBField (Integer, Searchable)args - the optional argumentsNotFoundException - DBField was not found@Nonnull public DBClassConcrete setEmbeddedLinkage(com.aspc.dal.dbobj.DBField value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean isStaticList(java.lang.String... args)
@Nonnull public DBClassConcrete setStaticList(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public DBClassAbstract getParentGid(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBClassAbstract findParentGid(java.lang.String... args) throws NotFoundException
DBClassAbstract
(Integer, Searchable)args - the optional argumentsNotFoundException - DBClassAbstract was not found@Nonnull public DBClassConcrete setParentGid(com.aspc.dal.dbobj.DBClassAbstract value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public DBClassAbstract getRootClass(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBClassAbstract findRootClass(java.lang.String... args) throws NotFoundException
DBClassAbstract
(Integer, Derived, Searchable)args - the optional argumentsNotFoundException - DBClassAbstract was not found@CheckReturnValue @Nonnull public final DBField[] getInwardLinks()
@CheckReturnValue
@Nonnull
public java.lang.reflect.Method getSearchPlanMethod()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException - A serious problem@CheckReturnValue @Nullable public final GlobalKey getParentGlobalKey()
@CheckReturnValue @Nonnull public DBClassConcrete getRootClassConcrete()
@CheckReturnValue public boolean isAbstract()
@CheckReturnValue @Nonnull public final AccessControl[] getACLList(@Nonnull AccessGroup group)
group - The access group@CheckReturnValue @Nonnull public final int[] getExcludedLayersListAll()
@CheckReturnValue @Nonnull public java.lang.String toString()
@CheckReturnValue @Nonnull public final int[] getExcludedLayersList()
@CheckReturnValue @OverridingMethodsMustInvokeSuper @Nullable protected ValidationError extValidateField(@Nonnull DBField field, @Nonnull ValidationList list) throws java.lang.Exception
DBClassAbstractextValidateField in class DBClassAbstractfield - The field to validatelist - The current validation listjava.lang.Exception - A serious problem@CheckReturnValue public final long makeRowId()
@CheckReturnValue
@Nonnull
public final java.lang.Class getJavaClass()
throws java.lang.Exception
getJavaClass in class DBClassAbstractjava.lang.Exception - A serious problem@CheckReturnValue @Nullable public final DBField getDBField(@Nonnull GlobalKey gKey)
getDBField in class DBClassAbstractgKey - The key to find.@CheckReturnValue @Nullable public final DBClassConcrete getParentDBClassConcrete()
@CheckReturnValue @Nonnull public DBField[] getDBFieldListAll()
getDBFieldListAll in class DBClassAbstract@CheckReturnValue @Nonnull public DBField[] getDBFieldListAllSorted()
@CheckReturnValue @Nonnull public java.lang.String getJavaClassName()
getJavaClassName in class DBClassAbstract@CheckReturnValue @Nullable public final DBField getDBField(@Nullable java.lang.String name)
getDBField in class DBClassAbstractname - The name of the field@CheckReturnValue @Nullable public final DBField getKeyField()
@CheckReturnValue public boolean isBase()
public void clearCache(@Nullable
GlobalKey key)
clearCache in class DBClassAbstractkey - The key@CheckReturnValue
protected java.lang.Object extGetDerivedValue(@Nonnull
DBField field,
@Nullable
FldParams params)
throws java.lang.Exception
extGetDerivedValue in class DBClassAbstractparams - The field arguments.field - The field to getjava.lang.Exception - A serious problem@CheckReturnValue
public final boolean isInstanceOf(@Nonnull
java.lang.String className)
className - The other class to test,@CheckReturnValue @Nonnull public DBModule[] getDBModuleListAll()
@CheckReturnValue @Nonnull public DBModule[] getDBModuleList()
@CheckReturnValue
public void checkDependances(java.lang.Object o)
throws java.lang.Exception
o - The object to checkjava.lang.Exception - Not of correct class.@CheckReturnValue @Nonnull public DBEvent[] getDBEventListAll()
@CheckReturnValue @Nonnull public final DBEvent[] getEventList()
@CheckReturnValue
public final boolean isInModule(@Nonnull
java.lang.String inModule)
inModule - The module.@CheckReturnValue
public final boolean isInstanceOf(@Nullable
DBClassAbstract otherClassAbstract)
otherClassAbstract - The other class to test,@CheckReturnValue @Nonnull public DBField[] getDBFieldList()
getDBFieldList in class DBClassAbstractstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.