|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.common.NamedObjectImpl
oracle.jbo.mom.DefinitionObject
oracle.jbo.mom.PersistableDefObject
oracle.jbo.server.DefObject
oracle.jbo.server.OperationDefinitionsImpl
public final class OperationDefinitionsImpl
This class represents the metadata for a collection of operation definitions. If a component object has operations, and its definition object has metadata for those operations, then it can be accessed using the method findOperationDefinitions(ComponentObject)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject |
---|
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationType |
Field Summary | |
---|---|
static java.lang.String |
RESERVED_DISPLAYNAME For internal framework use only. |
static java.lang.String |
RESERVED_FLATNAME For internal framework use only. |
static java.lang.String |
RESERVED_OFFSETS For internal framework use only. |
Fields inherited from class oracle.jbo.mom.PersistableDefObject |
---|
mEditedProperties, mEditedPropertyExprs |
Fields inherited from class oracle.jbo.mom.DefinitionObject |
---|
DEF_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_EXPRMAP |
Fields inherited from class oracle.jbo.common.NamedObjectImpl |
---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
XML_STATEMENT |
Constructor Summary | |
---|---|
OperationDefinitionsImpl(java.lang.String operType) For internal framework use only. |
|
OperationDefinitionsImpl(java.lang.String operType, java.lang.String fullName) For internal framework use only. |
Method Summary | |
---|---|
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() For internal framework use only. |
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. |
Methods inherited from class oracle.jbo.server.DefObject |
---|
ensureVariableManager, finishedLoading, getAdfmConfigStartupProperty, getAllProperties, getBaseDefObject, getBooleanAdfmConfigProperty, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, loadProperties, loadVariables, resolvePropertyRaw, resolveReferences, setBaseDefObject, setBaseDefObject, setName, setParent |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
---|
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.VariableManagerOwner |
---|
getName |
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
getFullName |
Methods inherited from interface oracle.jbo.mom.DiffMergeable |
---|
getFullName, getName |
Field Detail |
---|
public static final java.lang.String RESERVED_OFFSETS
public static final java.lang.String RESERVED_FLATNAME
public static final java.lang.String RESERVED_DISPLAYNAME
Constructor Detail |
---|
public OperationDefinitionsImpl(java.lang.String operType)
public OperationDefinitionsImpl(java.lang.String operType, java.lang.String fullName)
Method Detail |
---|
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()
ExprDef
getExpressionSource
in interface ExprDef
public ExprEval.TrustMode getTrustMode()
ExprDef
getTrustMode
in interface ExprDef
public boolean hasReturn()
ExprDef
hasReturn
in interface ExprDef
public java.lang.String getExprIdentifier()
ExprDef
getExprIdentifier
in interface ExprDef
public java.lang.String getCacheKey(java.lang.String exprStr)
ExprDef
getCacheKey
in interface ExprDef
public java.lang.String getScriptClassName(java.lang.String exprStr)
ExprDef
getScriptClassName
in interface ExprDef
public ExprEval.TypeCheckedMode getTypeCheckedMode()
ExprDef
getTypeCheckedMode
in interface ExprDef
public boolean isOperationsExpression()
ExprDef
isOperationsExpression
in interface ExprDef
public java.lang.String[] findParameterNames(java.lang.reflect.Method method)
findParameterNames
in interface OperationDefinitions
public 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.Object
public 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 PersistentDefinition
getDefXMLElementTag
in class PersistableDefObject
public java.lang.String getXMLElementTag()
getXMLElementTag
in interface PersistentDefinition
getXMLElementTag
in class PersistableDefObject
public java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace
in interface PersistentDefinition
getDefXMLNameSpace
in class DefObject
public void setFullName(java.lang.String fullName)
setFullName
in class PersistableDefObject
fullName
- 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 PersistentDefinition
writeObject
in class PersistableDefObject
jos
- the Output storage for persistencepublic int getDefTypeId()
getDefTypeId
in class DefObject
protected void setDefForComponent(ComponentObjectImpl comp)
setDefForComponent
in class DefObject
protected void unsetDefForComponent(ComponentObjectImpl comp)
unsetDefForComponent
in class DefObject
public ResourceBundleDef getResourceBundleDef()
getResourceBundleDef
in interface VariableManagerOwnerBase
public java.lang.Class getMessageBundleClass()
getMessageBundleClass
in interface VariableManagerOwnerBase
public void writeChildren(DefWriter jos)
writeChildren
in interface PersistentDefinition
writeChildren
in class DefObject
jos
- the Output storage for persistencepublic void loadXMLContents(DefElement xmlElement, java.lang.String fullNameFromParent)
loadXMLContents
in class PersistableDefObject
public java.lang.String getUniqueID(java.lang.String prefix)
public DifferDetails diffChildren(DiffMergeable docDef, DiffMergeable orgDef, DifferDetails difDetails)
diffChildren
in interface DiffMergeable
diffChildren
in class DefObject
public void applyDiffChildren(DifferDetails dif, DiffResolver resolver)
applyDiffChildren
in interface DiffMergeable
applyDiffChildren
in class DefObject
public OwnerType getOwnerType()
ExprDef
getOwnerType
in interface ExprDef
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |