public class CampaignContact extends ContactMap
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
Maps a contact to be a part of a Campaign
|
static java.lang.String |
DBCLASS_NAME
Maps a contact to be a part of a Campaign
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
CampaignContact(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 void |
extFixUp()
The extended fix up routine for known problems.
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
Calculate the derived value for this field.
|
protected boolean |
extIsOnChange(DBField field)
OVERRIDE This method to specify that when a field is updated it will affect other fields.
|
protected void |
extValidateRecord(ValidationList list)
Performs additional validations on this record.
|
Person |
findAssignedTo(java.lang.String... args)
Assigned To.
|
Campaign |
findCampaign(java.lang.String... args)
Campaign.
|
CampaignResource |
findCampaignResource(java.lang.String... args)
Campaign Resource.
|
Person |
findContacted(java.lang.String... args)
Contacted.
|
TaskResult |
findResult(java.lang.String... args)
Result.
|
CampaignStatus |
findStatus(java.lang.String... args)
Status.
|
Person |
getAssignedTo(java.lang.String... args) |
Campaign |
getCampaign(java.lang.String... args) |
CampaignResource |
getCampaignResource(java.lang.String... args) |
Person |
getContacted(java.lang.String... args) |
java.util.Date |
getLastActioned(java.lang.String... args) |
java.util.Date |
getNextActionDate(java.lang.String... args) |
int |
getNumCalls(java.lang.String... args) |
TaskResult |
getResult(java.lang.String... args) |
CampaignStatus |
getStatus(java.lang.String... args) |
boolean |
isCallBackDue(java.lang.String... args) |
CampaignContact |
setAssignedTo(com.aspc.dal.layers.aspc_app.contact.Person value,
java.lang.String... args) |
CampaignContact |
setCampaign(com.aspc.dal.layers.aspc_app.campaign.Campaign value,
java.lang.String... args) |
CampaignContact |
setCampaignResource(com.aspc.dal.layers.aspc_app.campaign.CampaignResource value,
java.lang.String... args) |
CampaignContact |
setContacted(com.aspc.dal.layers.aspc_app.contact.Person value,
java.lang.String... args) |
CampaignContact |
setLastActioned(java.util.Date value,
java.lang.String... args) |
CampaignContact |
setNextActionDate(java.util.Date value,
java.lang.String... args) |
CampaignContact |
setNumCalls(int value,
java.lang.String... args) |
CampaignContact |
setResult(com.aspc.dal.layers.aspc_app.misc.TaskResult value,
java.lang.String... args) |
CampaignContact |
setStatus(com.aspc.dal.layers.aspc_app.campaign.CampaignStatus value,
java.lang.String... args) |
void |
updateStatus() |
findContact, findEnteredBy, findKey, getContact, getEnteredBy, getEnterTime, getID, getLastModifiedTime, makeQuery, setContact, setEnteredBy, setEnterTime, setID, setLastModifiedTime
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, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extGetDerivedGlobalKey, extGetValue, extIsMandatory, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidate, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, extValidateField, 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 CampaignContact(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 Person getAssignedTo(java.lang.String... args)
@CheckReturnValue @Nonnull public final Person findAssignedTo(java.lang.String... args) throws NotFoundException
Person
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Person was not found@Nonnull public CampaignContact setAssignedTo(com.aspc.dal.layers.aspc_app.contact.Person value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public boolean isCallBackDue(java.lang.String... args)
@CheckReturnValue @Nullable public Campaign getCampaign(java.lang.String... args)
@CheckReturnValue @Nonnull public final Campaign findCampaign(java.lang.String... args) throws NotFoundException
Campaign
(Integer, Mandatory, Searchable)args
- the optional argumentsNotFoundException
- Campaign was not found@Nonnull public CampaignContact setCampaign(com.aspc.dal.layers.aspc_app.campaign.Campaign value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public CampaignResource getCampaignResource(java.lang.String... args)
@CheckReturnValue @Nonnull public final CampaignResource findCampaignResource(java.lang.String... args) throws NotFoundException
CampaignResource
(Integer, Searchable)args
- the optional argumentsNotFoundException
- CampaignResource was not found@Nonnull public CampaignContact setCampaignResource(com.aspc.dal.layers.aspc_app.campaign.CampaignResource value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public Person getContacted(java.lang.String... args)
@CheckReturnValue @Nonnull public final Person findContacted(java.lang.String... args) throws NotFoundException
Person
(Integer, Searchable)args
- the optional argumentsNotFoundException
- Person was not found@Nonnull public CampaignContact setContacted(com.aspc.dal.layers.aspc_app.contact.Person value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getLastActioned(java.lang.String... args)
@Nonnull public CampaignContact setLastActioned(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public java.util.Date getNextActionDate(java.lang.String... args)
@Nonnull public CampaignContact setNextActionDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue public int getNumCalls(java.lang.String... args)
@Nonnull public CampaignContact setNumCalls(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public TaskResult getResult(java.lang.String... args)
@CheckReturnValue @Nonnull public final TaskResult findResult(java.lang.String... args) throws NotFoundException
TaskResult
(String, Searchable)args
- the optional argumentsNotFoundException
- TaskResult was not found@Nonnull public CampaignContact setResult(com.aspc.dal.layers.aspc_app.misc.TaskResult value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public CampaignStatus getStatus(java.lang.String... args)
@CheckReturnValue @Nonnull public final CampaignStatus findStatus(java.lang.String... args) throws NotFoundException
CampaignStatus
(String, Mandatory, Searchable)args
- the optional argumentsNotFoundException
- CampaignStatus was not found@Nonnull public CampaignContact setStatus(com.aspc.dal.layers.aspc_app.campaign.CampaignStatus value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
public void updateStatus() throws java.lang.Exception
java.lang.Exception
- a serious problem@CheckReturnValue protected boolean extIsOnChange(@Nonnull DBField field)
DBObject
extIsOnChange
in class DBObject
field
- The field@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 DBObject
field
- 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 extValidateRecord(@Nonnull ValidationList list) throws java.lang.Exception
extValidateRecord
in class DBObject
list
- The validation list.java.lang.Exception
- A serious problem@OverridingMethodsMustInvokeSuper protected void extFixUp() throws java.lang.Exception
extFixUp
in class ContactMap
java.lang.Exception
- A serious problem@CheckReturnValue protected java.lang.Object extGetDerivedValue(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedValue
in class DBObject
field
- The field to getparams
- The parameters for this field eg. language= or default=java.lang.Exception
- A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.