public class DBFileStoreLog extends DBLog
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
logs an error message against a file location
|
static java.lang.String |
DBCLASS_NAME
logs an error message against a file location
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
DBFileStoreLog(DBClass def,
DataSource dataSource)
Std.
|
Modifier and Type | Method and Description |
---|---|
protected GlobalKey |
extGetDerivedGlobalKey(DBField field,
FldParams params)
Gets the global key for the given derived field
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
Gets the value for a derived field
|
DBFile |
findFile(java.lang.String... args)
The file id that the error occurred on, if there is one.
|
DBFileStore |
findFileStore(java.lang.String... args)
the code of the filestore the error occured against.
|
DBFile |
getFile(java.lang.String... args) |
java.lang.String |
getFileKey(java.lang.String... args) |
java.lang.String |
getFileName(java.lang.String... args) |
DBFileStore |
getFileStore(java.lang.String... args) |
java.lang.String |
getFileStoreKey(java.lang.String... args) |
java.lang.String |
getFileStoreName(java.lang.String... args) |
java.lang.String |
getSource(java.lang.String... args) |
static void |
logError(java.lang.String msg,
java.lang.String store,
java.lang.String source,
java.lang.String file,
DataSource ds)
Logs an error against a file store, with DBFIELD_LEVEL set to ERROR
|
protected HTMLPanel |
makeSummary() |
DBFileStoreLog |
setFileKey(java.lang.String value,
java.lang.String... args) |
DBFileStoreLog |
setFileStoreKey(java.lang.String value,
java.lang.String... args) |
DBFileStoreLog |
setSource(java.lang.String value,
java.lang.String... args) |
create, findKey, findLevel, findPerson, getID, getLevel, getMessage, getPerson, getPersonKey, getPersonName, getSessionId, getSummaryHTML, getTime, logError, makeHeadLine, makeQuery, setID, setLevel, setMessage, setPersonKey, setSessionId, setTime
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, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, 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 DBFileStoreLog(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 @Nullable public DBFile getFile(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBFile findFile(java.lang.String... args) throws NotFoundException
DBFile
(Integer, Derived,
Searchable)args
- the optional argumentsNotFoundException
- DBFile was not found@CheckReturnValue @Nonnull public java.lang.String getFileKey(java.lang.String... args)
@Nonnull public DBFileStoreLog setFileKey(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getFileName(java.lang.String... args)
@CheckReturnValue @Nullable public DBFileStore getFileStore(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBFileStore findFileStore(java.lang.String... args) throws NotFoundException
DBFileStore
(String, Derived,
Searchable)args
- the optional argumentsNotFoundException
- DBFileStore was not found@CheckReturnValue @Nonnull public java.lang.String getFileStoreKey(java.lang.String... args)
@Nonnull public DBFileStoreLog setFileStoreKey(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getFileStoreName(java.lang.String... args)
@CheckReturnValue @Nonnull public java.lang.String getSource(java.lang.String... args)
@Nonnull public DBFileStoreLog setSource(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
public static void logError(java.lang.String msg, java.lang.String store, java.lang.String source, java.lang.String file, DataSource ds)
ds
- the datasourcemsg
- the error messagestore
- the file store codesource
- the source of the error, can be nullfile
- the file id, if there is one, can be null@CheckReturnValue @Nullable protected GlobalKey extGetDerivedGlobalKey(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedGlobalKey
in class DBLog
field
- the fieldparams
- the paramters for the fieldjava.lang.Exception
- a serious problem@OverridingMethodsMustInvokeSuper @Nonnull @CheckReturnValue protected HTMLPanel makeSummary()
makeSummary
in class DBLog
@CheckReturnValue protected java.lang.Object extGetDerivedValue(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedValue
in class DBLog
field
- the fieldparams
- the field parametersjava.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.