public class EmailDistributionMethod extends DistributionMethod
DBObject.DenormalizeAction| Modifier and Type | Field and Description | 
|---|---|
| static GlobalId | DBCLASS_GIDEmail distribution method. | 
| static java.lang.String | DBCLASS_NAMEEmail distribution method. | 
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS| Constructor and Description | 
|---|
| EmailDistributionMethod(DBClass def,
                       DataSource dataSource)Std. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addRecipients(DBEmailSend es,
             MutableDataSource mds)add | 
| void | doDistribution(MutableDataSource mds) | 
| protected void | eventFieldUpdated(DBField field,
                 java.lang.Object previous,
                 GlobalKey previousKey,
                 FldParams params)update dependent fields. | 
| protected void | extAutoEnterCreate()Extend this method to add functionality when a new DBObject is created. You may need to create a FldParams, and setIsAutoEntered(true)so that system does not misunderstand that this object is changed by user. | 
| protected void | extCopy(DBObject target)Additional functionality when an object is copied. | 
| protected java.lang.Object | extGetDerivedValue(DBField field,
                  FldParams params)Calculate the derived value for this field. | 
| protected void | extPreValidate()OVERRIDE To add functionality to before validation is called. | 
| DBEmailAccount | findAccount(java.lang.String... args)Email account. | 
| DBEmailSend | findEmailSend(java.lang.String... args)Email Send object created to distribute files. | 
| DBEmailTemplate | findEmailTemplate(java.lang.String... args)Email template. | 
| DBEmailAccount | getAccount(java.lang.String... args) | 
| java.util.Date | getArticlePublishedDate(java.lang.String... args) | 
| DBEmailSend | getEmailSend(java.lang.String... args) | 
| DBEmailTemplate | getEmailTemplate(java.lang.String... args) | 
| EmailDistributionRecipient[] | getRecipients()get the recipients | 
| java.lang.String | getSubject(java.lang.String... args) | 
| EmailDistributionMethod | setAccount(com.aspc.dal.dbobj.email.DBEmailAccount value,
          java.lang.String... args) | 
| EmailDistributionMethod | setArticlePublishedDate(java.util.Date value,
                       java.lang.String... args) | 
| EmailDistributionMethod | setEmailSend(com.aspc.dal.dbobj.email.internal.DBEmailSend value,
            java.lang.String... args) | 
| EmailDistributionMethod | setEmailTemplate(com.aspc.dal.dbobj.email.DBEmailTemplate value,
                java.lang.String... args) | 
| EmailDistributionMethod | setSubject(java.lang.String value,
          java.lang.String... args) | 
distribute, findContact, findKey, findStatus, findType, getContact, getDisplaySummary, getDistributedTS, getEdition, getErrorMsg, getID, getStatus, getType, makeQuery, setContact, setDistributedTS, setEdition, setErrorMsg, setID, setStatus, setTypeaddReloadEventListener, 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, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extDelete, extDeleteRecord, extFixUp, extGetDerivedGlobalKey, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, 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 static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public EmailDistributionMethod(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 DBEmailAccount getAccount(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBEmailAccount findAccount(java.lang.String... args) throws NotFoundException
DBEmailAccount
  (Integer, Mandatory, Searchable)args - the optional argumentsNotFoundException - DBEmailAccount was not found@Nonnull public EmailDistributionMethod setAccount(com.aspc.dal.dbobj.email.DBEmailAccount value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public java.util.Date getArticlePublishedDate(java.lang.String... args)
@Nonnull public EmailDistributionMethod setArticlePublishedDate(java.util.Date value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public DBEmailSend getEmailSend(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBEmailSend findEmailSend(java.lang.String... args) throws NotFoundException
DBEmailSend
  (Integer, Searchable)args - the optional argumentsNotFoundException - DBEmailSend was not found@Nonnull public EmailDistributionMethod setEmailSend(com.aspc.dal.dbobj.email.internal.DBEmailSend value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nullable public DBEmailTemplate getEmailTemplate(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBEmailTemplate findEmailTemplate(java.lang.String... args) throws NotFoundException
DBEmailTemplate
  (Integer, Mandatory, Searchable)args - the optional argumentsNotFoundException - DBEmailTemplate was not found@Nonnull public EmailDistributionMethod setEmailTemplate(com.aspc.dal.dbobj.email.DBEmailTemplate value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue @Nonnull public java.lang.String getSubject(java.lang.String... args)
@Nonnull public EmailDistributionMethod setSubject(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exceptionpublic void doDistribution(MutableDataSource mds) throws java.lang.Exception
doDistribution in class DistributionMethodmds - the data sourcejava.lang.Exception - a serious problemprotected void addRecipients(DBEmailSend es, MutableDataSource mds) throws java.lang.Exception
es - emailmds - the data sourcejava.lang.Exception - a serious problempublic EmailDistributionRecipient[] getRecipients()
@OverridingMethodsMustInvokeSuper
protected void extAutoEnterCreate()
                                                             throws java.lang.Exception
setIsAutoEntered(true)
 so that system does not misunderstand that this object is changed by user.extAutoEnterCreate in class DBObjectjava.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extPreValidate()
                                                         throws java.lang.Exception
DBObjectextPreValidate in class DBObjectjava.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 DistributionMethodfield - 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 extCopy(@Nonnull
                                                         DBObject target)
                                                  throws java.lang.Exception
@CheckReturnValue
protected java.lang.Object extGetDerivedValue(@Nonnull
                                                                DBField field,
                                                                @Nullable
                                                                FldParams params)
                                                         throws java.lang.Exception
extGetDerivedValue in class DBObjectfield - 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.