public final class OperationDefinitionsImpl extends DefObject implements OperationDefinitions, ExprDef
findOperationDefinitions(ComponentObject)PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | RESERVED_DISPLAYNAMEFor internal framework use only. | 
| static java.lang.String | RESERVED_FLATNAMEFor internal framework use only. | 
| static java.lang.String | RESERVED_OFFSETSFor internal framework use only. | 
mEditedProperties, mEditedPropertyExprsDEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAPmFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIXXML_STATEMENT| Constructor and Description | 
|---|
| OperationDefinitionsImpl(java.lang.String operType)For internal framework use only. | 
| OperationDefinitionsImpl(java.lang.String operType,
                        java.lang.String fullName)For internal framework use only. | 
| Modifier and Type | Method and Description | 
|---|---|
| OperationDefinitionImpl | addGroovyOperation(java.lang.String id,
                  java.lang.String name,
                  java.lang.String returnType,
                  java.util.LinkedHashMap<java.lang.String,java.lang.String> params,
                  java.lang.String body)For internal framework use only. | 
| OperationDefinitionImpl | addOperation(OperationDefinitionImpl opDef)For internal framework use only. | 
| void | addOperations(OperationDefinitionsImpl newOpDefs)For internal framework use only. | 
| void | applyDiffChildren(DifferDetails dif,
                 DiffResolver resolver) | 
| OperationDefinitionsImpl | clone()For internal framework use only. | 
| DifferDetails | diffChildren(DiffMergeable docDef,
            DiffMergeable orgDef,
            DifferDetails difDetails) | 
| static OperationDefinitions | findOperationDefinitions(ComponentObject componentObject)For internal framework use only. | 
| static OperationDefinitions | findOperationDefinitions(Row componentObject)For internal framework use only. | 
| java.lang.String[] | findParameterNames(java.lang.reflect.Method method)For internal framework use only. | 
| java.lang.String[] | findParameterNames(java.lang.String signature)For internal framework use only. | 
| java.lang.String | getCacheKey(java.lang.String exprStr)The key to be used for caching compiled expression instances. | 
| int | getDefTypeId() | 
| java.lang.String | getDefXMLElementTag()For internal framework use only. | 
| java.lang.String | getDefXMLNameSpace()For internal framework use only. | 
| java.lang.String | getExpressionSource()The source string of the expression. | 
| java.lang.String | getExprIdentifier()A unique identfier for the expression. | 
| ExprEval | getGroovyExpr()For internal framework use only. | 
| groovy.lang.Script | getGroovyScript()For internal framework use only. | 
| java.lang.Class | getMessageBundleClass() | 
| java.util.HashMap<java.lang.String,OperationDefinitionImpl> | getOperations()For internal framework use only. | 
| OperationDefinitions | getOperDefValues() | 
| java.lang.String | getOwnerName()For internal framework use only. | 
| OwnerType | getOwnerType()Returns the type of object that owners the expression class. | 
| ResourceBundleDef | getResourceBundleDef() | 
| java.lang.String | getScriptClassName(java.lang.String exprStr)Returns the name used for the expression class. | 
| static java.lang.String | getSignature(java.lang.reflect.Method method) | 
| java.util.List<OperationDefinitionImpl> | getSortedOperations() | 
| ExprEval.TrustMode | getTrustMode()The trust mode for the expression. | 
| ExprEval.TypeCheckedMode | getTypeCheckedMode()Returns whether the expresion should be type checked when type checking
 is enabled for the groovy compiler. | 
| java.lang.String | getUniqueID(java.lang.String prefix)For internal framework use only. | 
| java.lang.String | getXMLElementTag()For internal framework use only. | 
| protected boolean | hasGroovy()For internal framework use only. | 
| boolean | hasReturn()If the expression has a return value. | 
| boolean | isGlobal()For internal framework use only. | 
| boolean | isOperationsExpression()If the expression defines operations. | 
| static OperationDefinitions | loadOperationDefinitions(DefElement xmlElement,
                        java.lang.String name)For internal framework use only. | 
| void | loadXMLContents(DefElement xmlElement,
               java.lang.String fullNameFromParent)For internal framework use only. | 
| OperationDefinitionImpl | removeOperation(java.lang.String id)For internal framework use only. | 
| protected void | setDefForComponent(ComponentObjectImpl comp)For internal framework use only. | 
| void | setFullName(java.lang.String fullName)For internal framework use only. | 
| protected void | unsetDefForComponent(ComponentObjectImpl comp)For internal framework use only. | 
| void | writeChildren(DefWriter jos)For internal framework use only. | 
| void | writeObject(DefWriter jos)For internal framework use only. | 
ensureVariableManager, finishedLoading, getAllProperties, getBaseDefObject, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, isFromCustomization, loadProperties, loadVariables, resolvePropertyRaw, resolveReferences, setBaseDefObject, setBaseDefObject, setName, setParentaddDefImport, addExtendedDefObject, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, applyDiffContents, checkEditable, checkStructWithOld, close, createFromXML, deregisterSessionObject, diffContents, diffObjects, ensureDifferDetails, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getEditVersionsAsString, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getMajorVersion, getMinorVersion, getOrigObject, getPropertyMap, getSubstitutedNames, getSyncLock, guaranteePath, hasExtendedDefObjects, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerDefObject, registerSessionDefObject, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setEditableFlag, setEditableObject, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setupDefWriterFromMO, staticUpdateChildrenList, updateChildrenList, verifyVersion, verifyVersionNullCheck, writeContents, writeVersion, writeXMLContentsaddPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, getRootBaseDefObject, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, staticLoadCustomProperties, staticLoadSchemaProperties, suppressUpdateCheckgetFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setPropertiesMap, setPropertiesMap2, setPropertyequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamegetFullNamegetFullName, getNamepublic static final java.lang.String RESERVED_OFFSETS
public static final java.lang.String RESERVED_FLATNAME
public static final java.lang.String RESERVED_DISPLAYNAME
public OperationDefinitionsImpl(java.lang.String operType)
public OperationDefinitionsImpl(java.lang.String operType,
                        java.lang.String fullName)
public static java.lang.String getSignature(java.lang.reflect.Method method)
public static OperationDefinitions findOperationDefinitions(ComponentObject componentObject)
public static OperationDefinitions findOperationDefinitions(Row componentObject)
public static OperationDefinitions loadOperationDefinitions(DefElement xmlElement, java.lang.String name)
public java.lang.String getExpressionSource()
ExprDefgetExpressionSource in interface ExprDefpublic ExprEval.TrustMode getTrustMode()
ExprDefgetTrustMode in interface ExprDefpublic boolean hasReturn()
ExprDefpublic java.lang.String getExprIdentifier()
ExprDefgetExprIdentifier in interface ExprDefpublic java.lang.String getCacheKey(java.lang.String exprStr)
ExprDefgetCacheKey in interface ExprDefpublic java.lang.String getScriptClassName(java.lang.String exprStr)
ExprDefgetScriptClassName in interface ExprDefpublic ExprEval.TypeCheckedMode getTypeCheckedMode()
ExprDefgetTypeCheckedMode in interface ExprDefpublic boolean isOperationsExpression()
ExprDefisOperationsExpression in interface ExprDefpublic java.lang.String[] findParameterNames(java.lang.reflect.Method method)
findParameterNames in interface OperationDefinitionspublic java.lang.String[] findParameterNames(java.lang.String signature)
public OperationDefinitions getOperDefValues()
public java.util.HashMap<java.lang.String,OperationDefinitionImpl> getOperations()
public java.util.List<OperationDefinitionImpl> getSortedOperations()
protected boolean hasGroovy()
public ExprEval getGroovyExpr()
public groovy.lang.Script getGroovyScript()
public OperationDefinitionsImpl clone()
clone in class java.lang.Objectpublic void addOperations(OperationDefinitionsImpl newOpDefs)
public OperationDefinitionImpl addOperation(OperationDefinitionImpl opDef)
public OperationDefinitionImpl addGroovyOperation(java.lang.String id, java.lang.String name, java.lang.String returnType, java.util.LinkedHashMap<java.lang.String,java.lang.String> params, java.lang.String body)
public OperationDefinitionImpl removeOperation(java.lang.String id)
public java.lang.String getDefXMLElementTag()
getDefXMLElementTag in interface PersistentDefinitiongetDefXMLElementTag in class PersistableDefObjectpublic java.lang.String getXMLElementTag()
getXMLElementTag in interface PersistentDefinitiongetXMLElementTag in class PersistableDefObjectpublic java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace in interface PersistentDefinitiongetDefXMLNameSpace in class DefObjectpublic void setFullName(java.lang.String fullName)
setFullName in class PersistableDefObjectfullName - this object's fully-qualified name;
 the package name concatenated with the class name.public java.lang.String getOwnerName()
public boolean isGlobal()
public void writeObject(DefWriter jos)
writeObject in interface PersistentDefinitionwriteObject in class PersistableDefObjectjos - the Output storage for persistencepublic int getDefTypeId()
getDefTypeId in class DefObjectprotected void setDefForComponent(ComponentObjectImpl comp)
setDefForComponent in class DefObjectprotected void unsetDefForComponent(ComponentObjectImpl comp)
unsetDefForComponent in class DefObjectpublic ResourceBundleDef getResourceBundleDef()
getResourceBundleDef in interface VariableManagerOwnerBasepublic java.lang.Class getMessageBundleClass()
getMessageBundleClass in interface VariableManagerOwnerBasepublic void writeChildren(DefWriter jos)
writeChildren in interface PersistentDefinitionwriteChildren in class DefObjectjos - the Output storage for persistencepublic void loadXMLContents(DefElement xmlElement, java.lang.String fullNameFromParent)
loadXMLContents in class PersistableDefObjectpublic java.lang.String getUniqueID(java.lang.String prefix)
public DifferDetails diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffChildren in interface DiffMergeablediffChildren in class DefObjectpublic void applyDiffChildren(DifferDetails dif, DiffResolver resolver)
applyDiffChildren in interface DiffMergeableapplyDiffChildren in class DefObjectpublic OwnerType getOwnerType()
ExprDefgetOwnerType in interface ExprDef