public class MfMailCfg extends Mbo implements MfMailCfgRemote
MULTILANGCOPY, phantomList, phantomQueueACTIVE, ALL_ATTRS, BASE_NAME, DESCRIPTION, LANGCODE, LONGDESCRIPTION, MBONAME, MFMAILCFGNUM, REL_WFPROCESS, WFNAMEALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER| Constructor and Description |
|---|
MfMailCfg(MboSet ms)
Instantiates a new MfMailCfg object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate the configuration.
|
void |
add()
This is called when a new Mbo is added to the Mboset collection.
|
void |
canActivate()
Check to be able to activate this configuration before activating it.
|
void |
canDeactivate()
Checl to be able to deactivate this configuration before activating it.
|
void |
canDelete()
Can the object be deleted ?
This is object specific and should be overridden.
|
void |
deactivate()
Deactivate the configuration.
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
void |
doPostActivateProcessing()
Do post activate.
|
MboRemote |
duplicate()
Duplicate method only throws exception now
|
MboRemote |
getZombieFromMboName()
Gets the zombie from mbo name field.
|
boolean |
hasConfigChildren() |
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
void |
initFieldFlagsOnMbo(java.lang.String attrName)
The logic of setting the readonly and required field flags to the mbo.
|
boolean |
isActivated()
Checks if is activated.
|
boolean |
isStatusChangeSupported()
Checks if is status change supported.
|
boolean |
isWorkflowSupported()
Checks if is workflow supported.
|
void |
setFieldFlags(java.lang.String type)
Method to set readonly flags for fields based on the type of action.
|
void |
validateCfg(boolean isDuringActivation)
Validate the whole configuration.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic MfMailCfg(MboSet ms) throws java.rmi.RemoteException
ms - MboSetjava.rmi.RemoteException - RemoteExceptionpublic void activate()
throws MXException,
java.rmi.RemoteException
MfMailCfgRemoteactivate in interface MfMailCfgRemoteMXException - MXExceptionjava.rmi.RemoteException - RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
MbocanDelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic void deactivate()
throws MXException,
java.rmi.RemoteException
MfMailCfgRemotedeactivate in interface MfMailCfgRemoteMXException - MXExceptionjava.rmi.RemoteException - RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
Mbodelete in interface MboRemotedelete in class MboaccessModifier - The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public MboRemote duplicate() throws MXException, java.rmi.RemoteException
Mboduplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean hasConfigChildren()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboRemote getZombieFromMboName() throws MXException, java.rmi.RemoteException
MfMailCfgRemotegetZombieFromMboName in interface MfMailCfgRemoteMXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
Mboinit in class MboMXExceptionpublic void add()
throws java.rmi.RemoteException,
MXException
Mboadd in interface MboRemoteadd in class Mbojava.rmi.RemoteExceptionMXExceptionpublic boolean isActivated()
throws MXException,
java.rmi.RemoteException
MfMailCfgRemoteisActivated in interface MfMailCfgRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isStatusChangeSupported()
throws MXException,
java.rmi.RemoteException
MfMailCfgRemoteisStatusChangeSupported in interface MfMailCfgRemoteMXException - MXExceptionjava.rmi.RemoteException - RemoteExceptionpublic boolean isWorkflowSupported()
throws MXException,
java.rmi.RemoteException
MfMailCfgRemoteisWorkflowSupported in interface MfMailCfgRemoteMXException - MXExceptionjava.rmi.RemoteException - RemoteExceptionpublic void validateCfg(boolean isDuringActivation)
throws MXException,
java.rmi.RemoteException
MfMailCfgRemotevalidateCfg in interface MfMailCfgRemoteisDuringActivation - the is during activationMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic void initFieldFlagsOnMbo(java.lang.String attrName)
throws MXException
MboinitFieldFlagsOnMbo in class MboMXExceptionpublic void canActivate()
throws MXException,
java.rmi.RemoteException
MfMailCfgRemotecanActivate in interface MfMailCfgRemoteMXExceptionjava.rmi.RemoteExceptionpublic void canDeactivate()
throws MXException,
java.rmi.RemoteException
MfMailCfgRemotecanDeactivate in interface MfMailCfgRemoteMXExceptionjava.rmi.RemoteExceptionpublic void doPostActivateProcessing()
throws MXException,
java.rmi.RemoteException
MfMailCfgRemotedoPostActivateProcessing in interface MfMailCfgRemoteMXException - the mX exceptionjava.rmi.RemoteException - the remote exceptionpublic void setFieldFlags(java.lang.String type)
throws MXException,
java.rmi.RemoteException
type - Type of the action.MXExceptionjava.rmi.RemoteException