Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.jbo.server
Class OperationDefinitionsImpl

java.lang.Object
  extended by oracle.jbo.server.OperationDefinitionsImpl
All Implemented Interfaces:
java.io.Serializable, DefPersistable, PersistentDefinition, OperationDefinitions

public final class OperationDefinitionsImpl
extends java.lang.Object
implements OperationDefinitions, DefPersistable

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)

Since:
release specific (what release of product did this appear in)
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT
 
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)
          Deprecated.  
 void addOperations(OperationDefinitionsImpl newOpDefs)
          Deprecated.  
 OperationDefinitionsImpl clone()
           
static OperationDefinitions findOperationDefinitions(ComponentObject componentObject)
           
static OperationDefinitions findOperationDefinitions(Row componentObject)
           
 java.lang.String[] findParameterNames(java.lang.reflect.Method method)
          If the object implements the given method, and has metadata about the parameter names, then the parameter names are returned.
 java.lang.String[] findParameterNames(java.lang.String signature)
           
 java.lang.String getDefXMLElementTag()
          Deprecated.  
 java.lang.String getDefXMLNameSpace()
          Deprecated.  
 java.lang.String getFullName()
          Deprecated.  
 ExprEval getGroovyExpr()
          Deprecated.  
 groovy.lang.Script getGroovyScript()
          Deprecated.  
 java.util.HashMap<java.lang.String,OperationDefinitionImpl> getOperations()
          Deprecated.  
 DefPersistable getOrigObject()
          Deprecated.  
static java.lang.String getSignature(java.lang.reflect.Method method)
           
 java.lang.String getUniqueID(java.lang.String prefix)
          Deprecated.  
 java.lang.String getXMLElementTag()
          Deprecated.  
protected  boolean hasGroovy()
          Deprecated.  
 boolean isDirty()
          Deprecated.  
 boolean isNew()
          Deprecated.  
static OperationDefinitions loadOperationDefinitions(DefElement xmlElement)
          Deprecated.  
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
          Deprecated.  
 void setDirty(boolean isDirty)
          Deprecated.  
 void setNew(boolean b)
          Deprecated.  
 void setOrigObject(DefPersistable oldObj)
          Deprecated.  
 void writeChildren(DefWriter jos)
          Deprecated.  
 void writeContents(DefWriter jos)
          Deprecated.  
 void writeObject(DefWriter jos)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSignature

public static java.lang.String getSignature(java.lang.reflect.Method method)

findOperationDefinitions

public static OperationDefinitions findOperationDefinitions(ComponentObject componentObject)

findOperationDefinitions

public static OperationDefinitions findOperationDefinitions(Row componentObject)

loadOperationDefinitions

public static OperationDefinitions loadOperationDefinitions(DefElement xmlElement)
Deprecated. 

For internal framework use only.


findParameterNames

public java.lang.String[] findParameterNames(java.lang.reflect.Method method)
Description copied from interface: OperationDefinitions
If the object implements the given method, and has metadata about the parameter names, then the parameter names are returned.

Specified by:
findParameterNames in interface OperationDefinitions
Returns:
null if the method is not implemented, or if no metadata is available

findParameterNames

public java.lang.String[] findParameterNames(java.lang.String signature)

getOperations

public java.util.HashMap<java.lang.String,OperationDefinitionImpl> getOperations()
Deprecated. 

For internal framework use only.


hasGroovy

protected boolean hasGroovy()
Deprecated. 

For internal framework use only.


getGroovyExpr

public ExprEval getGroovyExpr()
Deprecated. 

For internal framework use only.


getGroovyScript

public groovy.lang.Script getGroovyScript()
Deprecated. 

For internal framework use only.


clone

public OperationDefinitionsImpl clone()
Overrides:
clone in class java.lang.Object

addOperations

public void addOperations(OperationDefinitionsImpl newOpDefs)
Deprecated. 

For internal framework use only.


addGroovyOperation

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)
Deprecated. 

For internal framework use only.


getDefXMLElementTag

public java.lang.String getDefXMLElementTag()
Deprecated. 

For internal framework use only.

Specified by:
getDefXMLElementTag in interface PersistentDefinition

getXMLElementTag

public java.lang.String getXMLElementTag()
Deprecated. 

For internal framework use only.

Specified by:
getXMLElementTag in interface PersistentDefinition
Returns:
returns the Statement required to store in Persitent Storage. Incase of XML, it just returns the String. In the case of SQL a JDBC PreparedStatement is returned.

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Deprecated. 

For internal framework use only.

Specified by:
getDefXMLNameSpace in interface PersistentDefinition

isDirty

public boolean isDirty()
Deprecated. 

For internal framework use only.

Specified by:
isDirty in interface DefPersistable
Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

public void setDirty(boolean isDirty)
Deprecated. 

For internal framework use only.

Specified by:
setDirty in interface DefPersistable
Parameters:
isDirty - If true the Object is marked Dirty.

isNew

public boolean isNew()
Deprecated. 

For internal framework use only.

Specified by:
isNew in interface DefPersistable
Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

public void setNew(boolean b)
Deprecated. 

For internal framework use only.

Specified by:
setNew in interface DefPersistable
Parameters:
b - If true the Object is marked as new object.

getFullName

public java.lang.String getFullName()
Deprecated. 

For internal framework use only.

Specified by:
getFullName in interface DefPersistable
Returns:
the Persistence Reference of the object

getOrigObject

public DefPersistable getOrigObject()
Deprecated. 

For internal framework use only.

Specified by:
getOrigObject in interface DefPersistable

setOrigObject

public void setOrigObject(DefPersistable oldObj)
Deprecated. 

For internal framework use only.

Specified by:
setOrigObject in interface DefPersistable

writeObject

public void writeObject(DefWriter jos)
Deprecated. 

For internal framework use only.

Specified by:
writeObject in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

writeContents

public void writeContents(DefWriter jos)
Deprecated. 

For internal framework use only.

Specified by:
writeContents in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

writeChildren

public void writeChildren(DefWriter jos)
Deprecated. 

For internal framework use only.

Specified by:
writeChildren in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

loadXMLContents

public void loadXMLContents(DefElement xmlElement,
                            java.lang.String fullName)
Deprecated. 

For internal framework use only.


getUniqueID

public java.lang.String getUniqueID(java.lang.String prefix)
Deprecated. 

For internal framework use only.


Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

Copyright © 1997, 2011, Oracle. All rights reserved.