public class SDBLogControl extends DBObject
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ABS_MIDDLE_ALIGN
middle alignment.
|
static GlobalId |
DBCLASS_GID
Class for log filtering and messages
|
static java.lang.String |
DBCLASS_NAME
Class for log filtering and messages
|
static java.lang.String |
SIZE_FULL
100 percent width.
|
static java.lang.String |
VA_TOP
Top alignment.
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
SDBLogControl(DBClass def,
DataSource dataSource)
Creates new DBObject.
|
Modifier and Type | Method and Description |
---|---|
static SDBLogControl |
create(MutableDataSource mds)
Make a new instance of this class.
|
DBClass |
findBaseClass(java.lang.String... args)
The class that this filter applies to.
|
SDBLogFilterType |
findFilterType(java.lang.String... args)
The filter type : none, include or exclude.
|
static SDBLogControl |
findKey(DataSource ds,
int key)
Find the target for this class by the primary key
|
DBMessage |
findMessage(java.lang.String... args)
The message to appear in view if the filter is not set.
|
DBClass |
getBaseClass(java.lang.String... args) |
java.lang.String |
getCondition(java.lang.String... args) |
DBObject[] |
getFieldChangeList()
Returns a list of fields associated to this condition
|
SDBLogFilterType |
getFilterType(java.lang.String... args) |
int |
getID(java.lang.String... args) |
static java.util.List |
getLogControls(java.util.Map classesMap,
DataSource ds)
get immutable list of log controls
|
DBMessage |
getMessage(java.lang.String... args) |
boolean |
isActionCreate(java.lang.String... args) |
boolean |
isActionDelete(java.lang.String... args) |
boolean |
isActionModify(java.lang.String... args) |
static DBQuery<SDBLogControl> |
makeQuery(DataSource ds)
Make a new QUERY for this class.
|
boolean |
matchesBaseClass(DBObject base)
Checks the base class requirement.
|
boolean |
matchesBaseClass(TransRecord record)
Checks the base class requirement.
|
boolean |
matchesBasicCondition(DBObject base)
Checks basic requirements.
|
boolean |
matchesBasicCondition(TransRecord record)
Checks basic requirements.
|
boolean |
matchesConditionClause(DBObject currObj)
Checks condition.
|
boolean |
matchesFieldCondition(DBObject base)
Checks field requirements.
|
boolean |
matchesFieldCondition(TransRecord record)
Checks field requirements.
|
SDBLogControl |
setActionCreate(boolean value,
java.lang.String... args) |
SDBLogControl |
setActionDelete(boolean value,
java.lang.String... args) |
SDBLogControl |
setActionModify(boolean value,
java.lang.String... args) |
SDBLogControl |
setBaseClass(com.aspc.dal.dbobj.DBClass value,
java.lang.String... args) |
SDBLogControl |
setCondition(java.lang.String value,
java.lang.String... args) |
SDBLogControl |
setFilterType(com.aspc.dal.dbobj.archive.screen.SDBLogFilterType value,
java.lang.String... args) |
SDBLogControl |
setID(int value,
java.lang.String... args) |
SDBLogControl |
setMessage(com.aspc.dal.message.DBMessage value,
java.lang.String... args) |
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, 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 VA_TOP
public static final java.lang.String SIZE_FULL
public static final java.lang.String ABS_MIDDLE_ALIGN
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public SDBLogControl(DBClass def, DataSource dataSource) throws java.lang.Exception
def
- The classdataSource
- Your current data sourcejava.lang.Exception
- Failed to initiate the database object.@CheckReturnValue public int getID(java.lang.String... args)
@Nonnull public SDBLogControl setID(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isActionCreate(java.lang.String... args)
@Nonnull public SDBLogControl setActionCreate(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isActionDelete(java.lang.String... args)
@Nonnull public SDBLogControl setActionDelete(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isActionModify(java.lang.String... args)
@Nonnull public SDBLogControl setActionModify(boolean 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 SDBLogControl setBaseClass(com.aspc.dal.dbobj.DBClass value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getCondition(java.lang.String... args)
@Nonnull public SDBLogControl setCondition(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public SDBLogFilterType getFilterType(java.lang.String... args)
@CheckReturnValue @Nonnull public final SDBLogFilterType findFilterType(java.lang.String... args) throws NotFoundException
SDBLogFilterType
(String, Mandatory, Searchable)args
- the optional argumentsNotFoundException
- SDBLogFilterType was not found@Nonnull public SDBLogControl setFilterType(com.aspc.dal.dbobj.archive.screen.SDBLogFilterType value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBMessage getMessage(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBMessage findMessage(java.lang.String... args) throws NotFoundException
DBMessage
(String,
Searchable)args
- the optional argumentsNotFoundException
- DBMessage was not found@Nonnull public SDBLogControl setMessage(com.aspc.dal.message.DBMessage value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@Nonnull @CheckReturnValue public static SDBLogControl create(@Nonnull MutableDataSource mds) throws java.lang.Exception
mds
- the datasourcejava.lang.Exception
- an object of this class could not be created@Nonnull @CheckReturnValue public static DBQuery<SDBLogControl> makeQuery(@Nonnull DataSource ds) throws NotFoundException
ds
- the datasourceNotFoundException
- if class could not be found@Nonnull @CheckReturnValue public static SDBLogControl findKey(@Nonnull DataSource ds, int key) throws NotFoundException, java.lang.Exception
ds
- the datasourcekey
- the valueNotFoundException
- if target could not be foundjava.lang.Exception
- a serious problempublic static java.util.List getLogControls(java.util.Map classesMap, DataSource ds) throws java.lang.Exception
ds
- The DataSourceclassesMap
- The class mapjava.lang.Exception
- A serious problem occurspublic boolean matchesBaseClass(TransRecord record)
record
- The transaction recordpublic boolean matchesBaseClass(DBObject base)
base
- objectpublic boolean matchesFieldCondition(TransRecord record)
record
- The transaction recordpublic boolean matchesFieldCondition(DBObject base)
base
- objectpublic boolean matchesBasicCondition(TransRecord record)
record
- The transaction recordpublic boolean matchesBasicCondition(DBObject base)
base
- objectpublic boolean matchesConditionClause(DBObject currObj) throws java.lang.Exception
currObj
- The current db objectjava.lang.Exception
- If something went wrongpublic DBObject[] getFieldChangeList() throws java.lang.Exception
java.lang.Exception
- a serious errorstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.