public class ExpressionBuilder extends NonPersistentMbo implements ExpressionBuilderRemote, HierarchicalMboRemote
MULTILANGCOPY, phantomList, phantomQueue
_AND_, _APPNAME_, _AVG_, _BETWEEN_, _CLOSEPAREN_, _DATE_, _DATETIME_, _DIVIDE_, _EQUALTO_, _EXPONENT_, _GREATER_, _GREATERQUAL_, _HOSTNAME_, _IN_, _ISNOTNULL_, _ISNULL_, _LESSER_, _LESSEREQUAL_, _LIKE_, _MAX_, _MBONAME_, _MIN_, _MINUS_, _MULTIPLY_, _NO_, _NOT_, _NOTEQUALTO_, _OPENPAREN_, _OR_, _OWNER_, _OWNERNAME_, _PERIOD_, _PERSON_, _PLUS_, _SEQUENCE_, _SQRT_, _STDDEV_, _UNIQUEID_, _USER_, _YES_
ALLROWS, 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 |
---|
ExpressionBuilder(MboSet ms) |
Modifier and Type | Method and Description |
---|---|
boolean |
getColonize()
Return colonize
|
MboRemote |
getOwnerMbo() |
java.util.HashMap |
getRelationshipTree() |
java.lang.String |
getTreeObjectName() |
boolean |
hasChildren()
Indicates that this Mbo has Mbos underneth it in the hierarchy
|
boolean |
hasParents()
Indicates that this Mbo is owned by another Mbo in the hierarchy.
|
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
boolean |
isTop()
This method indicates if the Mbo is at the top level of a hierarchy.
|
boolean |
isWorkFlowParserOn()
Returns true if Work Flow Parser is turned on
|
void |
loadRelationshipTree()
Deprecated.
|
void |
setClassification() |
void |
setColonize(boolean flag)
Sets if the node attribute is prefixed with a colon
|
void |
setNodeValue(long uniqueId)
Deprecated.
|
void |
setNodeValue(long uniqueId,
java.lang.String dotnotation) |
void |
setPopUpDate(java.util.Date selectedDate) |
void |
setSubSelectNodeValue(java.lang.String attr) |
void |
setValueAND()
Sets the AND operator
|
void |
setValueAPPNAME() |
void |
setValueAVG() |
void |
setValueBETWEEN()
Sets BETWEEN
|
void |
setValueCLOSEPAREN()
Sets ')' - Close Parenthesis
|
void |
setValueDATE() |
void |
setValueDATETIME() |
void |
setValueDIVIDE() |
void |
setValueEQUALTO()
Sets '=' Equal to
|
void |
setValueEXPONENT() |
void |
setValueGREATEREQUAL() |
void |
setValueGREATERTHAN() |
void |
setValueHOSTNAME() |
void |
setValueIN()
Sets IN
|
void |
setValueLESSEREQUAL() |
void |
setValueLESSERTHAN() |
void |
setValueLIKE()
Sets LIKE
|
void |
setValueMAX() |
void |
setValueMBONAME() |
void |
setValueMIN() |
void |
setValueMINUS() |
void |
setValueMULTIPLY() |
void |
setValueNO() |
void |
setValueNOT()
Sets NOT
|
void |
setValueNOTEQUALTO()
Sets '<>' Not Equal to
|
void |
setValueNOTNULL()
Sets NOT NULL
|
void |
setValueNULL()
Sets NULL
|
void |
setValueOPENPAREN()
Sets '( ' - Open Parenthesis
|
void |
setValueOR()
Sets the OR operator
|
void |
setValueOWNER() |
void |
setValueOWNERNAME() |
void |
setValuePERIOD() |
void |
setValuePERSON() |
void |
setValuePLUS() |
void |
setValueSEQUENCE() |
void |
setValueSQRT() |
void |
setValueSTDDEV() |
void |
setValueUNIQUEID() |
void |
setValueUSER() |
void |
setValueYES() |
void |
setWorkFlowParser(boolean flag)
Determines which parser to use during validation
TRUE - Workflow Parser
FALSE - Expression builder Formatter
Default = FALSE
|
void |
validateCustomClass(java.lang.String customClass) |
void |
validateExpression() |
void |
validateWithExpBldFormatter() |
void |
validateWithWFParser() |
add, addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, determineRequiredFieldsFromERM, duplicate, 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, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, 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, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, delete, duplicate, 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, getMboValueDataForDownload, 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, validateAttributes
public ExpressionBuilder(MboSet ms) throws MXException, java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public void setWorkFlowParser(boolean flag) throws MXException, java.rmi.RemoteException
setWorkFlowParser
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public boolean isWorkFlowParserOn() throws MXException, java.rmi.RemoteException
isWorkFlowParserOn
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setColonize(boolean flag) throws MXException, java.rmi.RemoteException
setColonize
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public boolean getColonize() throws MXException, java.rmi.RemoteException
getColonize
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueAND() throws MXException, java.rmi.RemoteException
setValueAND
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueOR() throws MXException, java.rmi.RemoteException
setValueOR
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueNOT() throws MXException, java.rmi.RemoteException
setValueNOT
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueLIKE() throws MXException, java.rmi.RemoteException
setValueLIKE
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueIN() throws MXException, java.rmi.RemoteException
setValueIN
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueOPENPAREN() throws MXException, java.rmi.RemoteException
setValueOPENPAREN
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueCLOSEPAREN() throws MXException, java.rmi.RemoteException
setValueCLOSEPAREN
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueNULL() throws MXException, java.rmi.RemoteException
setValueNULL
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueNOTNULL() throws MXException, java.rmi.RemoteException
setValueNOTNULL
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueBETWEEN() throws MXException, java.rmi.RemoteException
setValueBETWEEN
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueEQUALTO() throws MXException, java.rmi.RemoteException
setValueEQUALTO
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueNOTEQUALTO() throws MXException, java.rmi.RemoteException
setValueNOTEQUALTO
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueLESSERTHAN() throws MXException, java.rmi.RemoteException
setValueLESSERTHAN
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueGREATERTHAN() throws MXException, java.rmi.RemoteException
setValueGREATERTHAN
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueLESSEREQUAL() throws MXException, java.rmi.RemoteException
setValueLESSEREQUAL
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueGREATEREQUAL() throws MXException, java.rmi.RemoteException
setValueGREATEREQUAL
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueMIN() throws MXException, java.rmi.RemoteException
setValueMIN
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueMAX() throws MXException, java.rmi.RemoteException
setValueMAX
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueAVG() throws MXException, java.rmi.RemoteException
setValueAVG
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValuePERIOD() throws MXException, java.rmi.RemoteException
setValuePERIOD
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValuePLUS() throws MXException, java.rmi.RemoteException
setValuePLUS
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueMINUS() throws MXException, java.rmi.RemoteException
setValueMINUS
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueDIVIDE() throws MXException, java.rmi.RemoteException
setValueDIVIDE
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueMULTIPLY() throws MXException, java.rmi.RemoteException
setValueMULTIPLY
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueSQRT() throws MXException, java.rmi.RemoteException
setValueSQRT
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueEXPONENT() throws MXException, java.rmi.RemoteException
setValueEXPONENT
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueSTDDEV() throws MXException, java.rmi.RemoteException
setValueSTDDEV
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueDATE() throws MXException, java.rmi.RemoteException
setValueDATE
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueDATETIME() throws MXException, java.rmi.RemoteException
setValueDATETIME
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setPopUpDate(java.util.Date selectedDate) throws MXException, java.rmi.RemoteException
setPopUpDate
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueYES() throws MXException, java.rmi.RemoteException
setValueYES
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueNO() throws MXException, java.rmi.RemoteException
setValueNO
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueUSER() throws MXException, java.rmi.RemoteException
setValueUSER
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValuePERSON() throws MXException, java.rmi.RemoteException
setValuePERSON
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void setValueOWNER() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValueOWNERNAME() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValueAPPNAME() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValueHOSTNAME() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValueSEQUENCE() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValueUNIQUEID() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setValueMBONAME() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setClassification() throws MXException, java.rmi.RemoteException
setClassification
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void validateWithWFParser() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void validateExpression() throws java.rmi.RemoteException, MXException, java.sql.SQLException
validateExpression
in interface ExpressionBuilderRemote
java.rmi.RemoteException
MXException
java.sql.SQLException
public void validateWithExpBldFormatter() throws java.rmi.RemoteException, MXException, java.sql.SQLException
java.rmi.RemoteException
MXException
java.sql.SQLException
public void validateCustomClass(java.lang.String customClass) throws MXSystemException, java.rmi.RemoteException
validateCustomClass
in interface ExpressionBuilderRemote
MXSystemException
java.rmi.RemoteException
public MboRemote getOwnerMbo() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void init() throws MXException
Mbo
init
in class Mbo
MXException
public java.lang.String getTreeObjectName() throws MXException, java.rmi.RemoteException
getTreeObjectName
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public void loadRelationshipTree() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void setSubSelectNodeValue(java.lang.String attr) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void setNodeValue(long uniqueId, java.lang.String dotnotation) throws java.rmi.RemoteException, MXException
setNodeValue
in interface ExpressionBuilderRemote
java.rmi.RemoteException
MXException
public void setNodeValue(long uniqueId) throws java.rmi.RemoteException, MXException
uniqueId
- java.rmi.RemoteException
MXException
public java.util.HashMap getRelationshipTree() throws MXException, java.rmi.RemoteException
getRelationshipTree
in interface ExpressionBuilderRemote
MXException
java.rmi.RemoteException
public boolean isTop() throws MXException, java.rmi.RemoteException
HierarchicalMboRemote
isTop
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException
public boolean hasChildren() throws MXException, java.rmi.RemoteException
HierarchicalMboRemote
hasChildren
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException
public boolean hasParents() throws MXException, java.rmi.RemoteException
HierarchicalMboRemote
hasParents
in interface HierarchicalMboRemote
MXException
java.rmi.RemoteException