public class Answers extends Answers
DBObject.DenormalizeActionDBCLASS_GID, DBCLASS_NAMEATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS| Constructor and Description |
|---|
Answers(DBClass def,
DataSource dataSource)
Std.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
eventFieldUpdated(DBField field,
java.lang.Object previous,
GlobalKey previousKey,
FldParams params)
update dependent fields.
|
protected boolean |
extIsMandatory(DBField field)
Conditional mandatory field.
|
protected void |
extPreSaveRecord()
OVERRIDE this method to add functionality to stSoftware BEFORE saving the record to the database.
|
Campaign |
findCampaign(java.lang.String... args)
Campaign.
|
CampaignContact |
findCampaignContact(java.lang.String... args)
Campaign Contact.
|
TaskResult |
findTaskResult(java.lang.String... args)
Task Result.
|
Campaign |
getCampaign(java.lang.String... args) |
CampaignContact |
getCampaignContact(java.lang.String... args) |
java.lang.String |
getTaskNum(java.lang.String... args) |
TaskResult |
getTaskResult(java.lang.String... args) |
Answers |
setCampaign(com.aspc.dal.layers.aspc_app.campaign.Campaign value,
java.lang.String... args) |
Answers |
setCampaignContact(com.aspc.dal.layers.aspc_app.campaign.CampaignContact value,
java.lang.String... args) |
Answers |
setTaskNum(java.lang.String value,
java.lang.String... args) |
Answers |
setTaskResult(com.aspc.dal.layers.aspc_app.misc.TaskResult value,
java.lang.String... args) |
correctStatus, create, disableStatusCorrection, enableStatusCorrection, extFixUp, extGetDerivedGlobalKey, extGetDerivedValue, findCallAttempt, findKey, findNextQuestion, findQuestionnaire, findRecordAgainst, findSpokeTo, findStatus, getAbortReason, getAnsweredByEmail, getAnsweredByName, getAnsweredByPostCode, getCallAttempt, getID, getNextQuestion, getNumCompletedQuestions, getQuestionnaire, getRawStartedTime, getRawUpdatedTime, getRecordAgainst, getRegisterEmail, getRegisterFirstName, getRegisterIP, getRegisterLastName, getRegisterPostCode, getRescheduleFor, getResult, getScore, getScore2, getSpokeTo, getStartedTime, getStatus, getToken, getUniqueCheck, getUpdatedTime, isApplicable, isDoPreferredOnly, isOnlyPreferredAnswered, isRegisterConfirmed, makeQuery, setAbortReason, setAnsweredByPostCode, setCallAttempt, setDoPreferredOnly, setID, setQuestionnaire, setRawStartedTime, setRawUpdatedTime, setRecordAgainst, setRegisterConfirmed, setRegisterEmail, setRegisterFirstName, setRegisterIP, setRegisterLastName, setRegisterPostCode, setRescheduleFor, setSpokeTo, setStatus, setToken, setUniqueCheckaddReloadEventListener, 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, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extGetValue, 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, validateSubTypepublic Answers(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 Campaign getCampaign(java.lang.String... args)
@CheckReturnValue @Nonnull public final Campaign findCampaign(java.lang.String... args) throws NotFoundException
Campaign
(Integer, Searchable)args - the optional argumentsNotFoundException - Campaign was not found@Nonnull public Answers setCampaign(com.aspc.dal.layers.aspc_app.campaign.Campaign value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public CampaignContact getCampaignContact(java.lang.String... args)
@CheckReturnValue @Nonnull public final CampaignContact findCampaignContact(java.lang.String... args) throws NotFoundException
CampaignContact (Integer, Searchable)args - the optional argumentsNotFoundException - CampaignContact was not found@Nonnull public Answers setCampaignContact(com.aspc.dal.layers.aspc_app.campaign.CampaignContact value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getTaskNum(java.lang.String... args)
@Nonnull public Answers setTaskNum(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public TaskResult getTaskResult(java.lang.String... args)
@CheckReturnValue @Nonnull public final TaskResult findTaskResult(java.lang.String... args) throws NotFoundException
TaskResult
(String, Searchable)args - the optional argumentsNotFoundException - TaskResult was not found@Nonnull public Answers setTaskResult(com.aspc.dal.layers.aspc_app.misc.TaskResult value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue
protected boolean extIsMandatory(@Nonnull
DBField field)
extIsMandatory in class DBObjectfield - The field to getDBObject.extIsMandatory( DBField)@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 Answersfield - The field updated.previous - The previous value for this field.previousKey - The previous keyparams - The parameters usedjava.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extPreSaveRecord()
throws java.lang.Exception
DBObjectextPreSaveRecord in class DBObjectjava.lang.Exception - A Serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.