public class SDBContainerPref extends SDBComponentPref
DBObject.DenormalizeAction| Modifier and Type | Field and Description |
|---|---|
static GlobalId |
DBCLASS_GID
A Container for sub component preferences.
|
static java.lang.String |
DBCLASS_NAME
A Container for sub component preferences.
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS| Constructor and Description |
|---|
SDBContainerPref(DBClass def,
DataSource dataSource)
Std.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
copyIncludeField(DBObject orig,
DBField field)
Indicates if a field should be included in an object copy
|
protected void |
eventFieldUpdated(DBField field,
java.lang.Object previous,
GlobalKey previousKey,
FldParams params)
update dependent fields.
|
protected void |
extAutoEnterCreate()
Additional functionality when an object is created.
|
protected void |
extCopy(DBObject target)
Also copies the column preferences that link to this container preference
|
protected void |
extDelete()
Additional functionality when an object is marked for deletion by calling delete().
|
protected void |
extFixUp()
fixes the following problem
1) user been removed
|
protected GlobalKey |
extGetDerivedGlobalKey(DBField field,
FldParams params)
Gets the global key for a linked derived field.
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
Calculate the derived value for this field.
|
protected void |
extPreSaveRecord()
Additional functionality WHILE saving this record to the database.
|
protected void |
extPreValidate()
OVERRIDE To add functionality to before validation is called.
|
protected void |
extSetValue(DBField field,
java.lang.Object currentValue,
FldParams params)
Don't allow the key field to be set by the user ( or from the screen)
|
protected ValidationError |
extValidateField(DBField field,
ValidationList list)
Validates the fields of the restriction itself
|
protected void |
extValidateRecord(ValidationList list)
Perform validation on this record
|
SDBContainerPref |
findCopyFrom(java.lang.String... args)
copy the preferences from the linked container preference to this
container preference.
|
SDBContainerPref |
findMatchesSaveTo(java.lang.String... args)
if there is a name in the saveTo field, this will find any
SDBContainerPref that already has that name.
|
DBTriStateOption |
findPrefProfileCurrent(java.lang.String... args)
Is this Profile the current active profile.
|
DBReportType |
findReportType(java.lang.String... args)
type of the report or portal(portal has not been implemented yet), it
could be classic report, pie chart or bar chart etc.
|
SDBContainerPref |
getCopyFrom(java.lang.String... args) |
java.lang.String |
getKey(java.lang.String... args) |
int |
getListLimit(java.lang.String... args) |
SDBContainerPref |
getMatchesSaveTo(java.lang.String... args) |
DBTriStateOption |
getPrefProfileCurrent(java.lang.String... args) |
java.lang.String |
getPrefProfileName(java.lang.String... args) |
DBReportType |
getReportType(java.lang.String... args) |
java.lang.String |
getSaveTo(java.lang.String... args) |
java.lang.String |
getSummary(java.lang.String... args) |
void |
makeCurrent()
Makes this container preference the current preference
|
SDBContainerPref |
setCopyFrom(com.aspc.dal.pref.screen.SDBContainerPref value,
java.lang.String... args) |
SDBContainerPref |
setKey(java.lang.String value,
java.lang.String... args) |
SDBContainerPref |
setListLimit(int value,
java.lang.String... args) |
SDBContainerPref |
setPrefProfileCurrent(com.aspc.dal.dbobj.misc.DBTriStateOption value,
java.lang.String... args) |
SDBContainerPref |
setPrefProfileName(java.lang.String value,
java.lang.String... args) |
SDBContainerPref |
setReportType(com.aspc.dal.pref.DBReportType value,
java.lang.String... args) |
SDBContainerPref |
setSaveTo(java.lang.String value,
java.lang.String... args) |
fetchPrefGroup, findComponent, findVisibility, getComponent, getDerivedComponentCol, getDerivedComponentFieldPathDesc, getSudoComponent, getVisibility, getWidth, isDerivedComponentHidden, isHidden, setComponent, setHidden, setVisibility, setWidthcreate, findKey, findPrefGroup, getID, getPrefGroup, isActive, makeQuery, setID, setPrefGroupaddReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extDeleteRecord, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, 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, toString, touch, undelete, validateField, validateRecord, validateSubTypepublic static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public SDBContainerPref(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 SDBContainerPref getCopyFrom(java.lang.String... args)
@CheckReturnValue @Nonnull public final SDBContainerPref findCopyFrom(java.lang.String... args) throws NotFoundException
SDBContainerPref
(Integer, Searchable)args - the optional argumentsNotFoundException - SDBContainerPref was not found@Nonnull public SDBContainerPref setCopyFrom(com.aspc.dal.pref.screen.SDBContainerPref value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getKey(java.lang.String... args)
@Nonnull public SDBContainerPref setKey(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public int getListLimit(java.lang.String... args)
@Nonnull public SDBContainerPref setListLimit(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public SDBContainerPref getMatchesSaveTo(java.lang.String... args)
@CheckReturnValue @Nonnull public final SDBContainerPref findMatchesSaveTo(java.lang.String... args) throws NotFoundException
SDBContainerPref
(Integer, Derived, Searchable)args - the optional argumentsNotFoundException - SDBContainerPref was not found@CheckReturnValue @Nullable public DBTriStateOption getPrefProfileCurrent(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBTriStateOption findPrefProfileCurrent(java.lang.String... args) throws NotFoundException
DBTriStateOption
(String, Searchable)args - the optional argumentsNotFoundException - DBTriStateOption was not found@Nonnull public SDBContainerPref setPrefProfileCurrent(com.aspc.dal.dbobj.misc.DBTriStateOption value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getPrefProfileName(java.lang.String... args)
@Nonnull public SDBContainerPref setPrefProfileName(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public DBReportType getReportType(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBReportType findReportType(java.lang.String... args) throws NotFoundException
DBReportType (String,
Searchable)args - the optional argumentsNotFoundException - DBReportType was not found@Nonnull public SDBContainerPref setReportType(com.aspc.dal.pref.DBReportType value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getSaveTo(java.lang.String... args)
@Nonnull public SDBContainerPref setSaveTo(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getSummary(java.lang.String... args)
@OverridingMethodsMustInvokeSuper
protected void extAutoEnterCreate()
throws java.lang.Exception
extAutoEnterCreate in class DBObjectjava.lang.Exception - A serious problemcom.aspc.DBObj.DBObject#autoEnterCreate()@OverridingMethodsMustInvokeSuper
protected void extValidateRecord(@Nonnull
ValidationList list)
throws java.lang.Exception
extValidateRecord in class DBObjectlist - the validation listjava.lang.Exception - validation error@CheckReturnValue
protected java.lang.Object extGetDerivedValue(@Nonnull
DBField field,
@Nullable
FldParams params)
throws java.lang.Exception
extGetDerivedValue in class SDBComponentPreffield - The field to getparams - The parameters for this field eg. language= or default=java.lang.Exception - A serious problem@CheckReturnValue @Nullable protected GlobalKey extGetDerivedGlobalKey(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedGlobalKey in class DBObjectfield - the derived fieldparams - the field parametersjava.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extPreValidate()
throws java.lang.Exception
extPreValidate in class DBObjectjava.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extCopy(@Nonnull
DBObject target)
throws java.lang.Exception
@OverridingMethodsMustInvokeSuper
protected void extDelete()
throws java.lang.Exception
@CheckReturnValue
public boolean copyIncludeField(@Nonnull
DBObject orig,
DBField field)
throws java.lang.Exception
copyIncludeField in class DBObjectorig - the original objectfield - the field to copyjava.lang.Exception - a serious problempublic void makeCurrent()
throws java.lang.Exception
java.lang.Exception - a serious problem@CheckReturnValue @OverridingMethodsMustInvokeSuper @Nullable protected ValidationError extValidateField(@Nonnull DBField field, @Nonnull ValidationList list) throws java.lang.Exception
extValidateField in class SDBComponentPreflist - The validation listfield - The field to validatedjava.lang.Exception - A serious problem@OverridingMethodsMustInvokeSuper
protected void eventFieldUpdated(@Nonnull
DBField field,
@Nullable
java.lang.Object previous,
@Nullable
GlobalKey previousKey,
@Nullable
FldParams params)
throws java.lang.Exception
eventFieldUpdated in class DBObjectfield - The field updated.previous - The previous value for this field.previousKey - The previous keyparams - The parameters usedjava.lang.Exception - a serious problemprotected void extSetValue(@Nonnull
DBField field,
@Nullable
java.lang.Object currentValue,
@Nullable
FldParams params)
throws java.lang.Exception
extSetValue in class DBObjectfield - The field that is being changedcurrentValue - The new valueparams - The extra parametersjava.lang.Exception - A serious problem@OverridingMethodsMustInvokeSuper
protected void extFixUp()
throws java.lang.Exception
SDBComponentPrefextFixUp in class SDBComponentPrefjava.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extPreSaveRecord()
throws java.lang.Exception
extPreSaveRecord in class DBObjectjava.lang.Exception - A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.