Skip navigation links

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

E10653-10


oracle.jbo.server
Class OperationDefinitionImpl

java.lang.Object
  extended by oracle.jbo.server.OperationDefinitionImpl

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, ExprDef, DefPersistable, PersistentDefinition, DebugExprDef

public class OperationDefinitionImpl
extends java.lang.Object
implements java.io.Serializable, DefPersistable, java.lang.Comparable, ExprDef, DebugExprDef
See Also:
Serialized Form

Field Summary

 

Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT

 

Constructor Summary
OperationDefinitionImpl()
          Deprecated.  
OperationDefinitionImpl(java.lang.String tag)
          Deprecated.  
OperationDefinitionImpl(java.lang.String uniqueid, java.lang.String name, java.lang.String returnType, java.util.LinkedHashMap<java.lang.String,java.lang.String> params, java.lang.String body)
          Deprecated.  

 

Method Summary
 void addParameter(OperationParamImpl param)
          Deprecated.  
 OperationDefinitionImpl clone()
          Deprecated.  
 int compareTo(java.lang.Object operationDef)
           
 boolean equals(OperationDefinitionImpl opDef)
           
 ExprEval.Privilege getAccess()
          Deprecated.  
 java.lang.String getAccessStr()
          Deprecated.  
 java.lang.String getCacheKey(java.lang.String exprStr)
          The key to be used for caching compiled expression instances.
 java.lang.String getCategory()
          Deprecated.  
 java.lang.String getDebugAttrName()
          Return the attribute name of the expression owner.
 java.lang.String getDebugComponentName()
          Return the component name of the expression owner.
 java.lang.String getDebugExpressionSource()
          Return the version of the source that should be displayed in the debugger.
 int getDebugOffset()
          Return the offset of the start of the debug source in the containing ExprDef::ExpressionSource.
 java.lang.String getDebugTriggerName()
          Return the name of the trigger or validation rule of the expression.
 java.lang.String getDefXMLElementTag()
          Deprecated.  
 java.lang.String getDefXMLNameSpace()
          Deprecated.  
 java.lang.String getExample()
          Deprecated.  
 java.lang.String getExpressionSource()
          The source string of the expression.
 java.lang.String getExprIdentifier()
          A unique identfier for the expression.
 java.lang.String getFullName()
          Deprecated.  
 java.lang.String getHelpText()
          Deprecated.  
 java.lang.String getId()
          Deprecated.  
 java.util.List<java.lang.String> getImplicitVariableNames()
          Return a list of implicit variable names.
 java.lang.String getInsertText()
          Deprecated.  
 java.lang.Class getJavaReturnType()
          Deprecated.  
 java.lang.String getMethodBody()
          Deprecated.  
 java.lang.String getMethodName()
          Deprecated.  
 java.lang.String getMethodText()
          Deprecated.  
protected  java.lang.String getMethodText(int offset, boolean global)
          Deprecated.  
 java.lang.String getMethodType()
          Deprecated.  
 DefPersistable getOrigObject()
          Deprecated.  
 ExpressionDef.OwnerType getOwnerType()
          Return the type of the expression owner.
 java.lang.String[] getParameterNames()
          Deprecated.  
 java.util.HashMap<java.lang.String,java.lang.String> getParameters()
          Deprecated.  
 java.lang.Class[] getParameterTypes()
          Deprecated.  
 java.lang.String getReturnType()
          Deprecated.  
 java.lang.String getScriptClassName(java.lang.String exprStr)
          Returns the name used for the expression class.
 java.lang.String getSignature()
          Deprecated.  
 ExprEval.TrustMode getTrustMode()
          Deprecated.  
 java.lang.String getTrustModeStr()
          Deprecated.  
 java.lang.String getXMLElementTag()
          Deprecated.  
 boolean hasReturn()
          If the expression has a return value.
 boolean isDirty()
          Deprecated.  
 boolean isGroovy()
          Deprecated.  
 boolean isNew()
          Deprecated.  
 boolean isOperationsExpression()
          If the expression defines operations.
 void loadXMLContents(DefElement xmlElement, java.lang.String fullName)
          Deprecated.  
 OperationParamImpl lookupParameter(java.lang.String name)
          Deprecated.  
static void popPriv(java.lang.Object context, ExprPrivCounter counter)
          Deprecated.  
static void pushPriv(java.lang.Object context, ExprPrivCounter counter)
          Deprecated.  
 void removeParameter(java.lang.String paramId)
          Deprecated.  
 void setAccess(ExprEval.Privilege priv)
          Deprecated.  
 void setAccess(java.lang.String priv)
          Deprecated.  
 void setCategory(java.lang.String category)
          Deprecated.  
 void setDirty(boolean dirty)
          Deprecated.  
 void setExample(java.lang.String example)
          Deprecated.  
 void setHelpText(java.lang.String helpText)
          Deprecated.  
 void setId(java.lang.String id)
          Deprecated.  
 void setInsertText(java.lang.String insertText)
          Deprecated.  
 void setMethodBody(java.lang.String methodBody)
          Deprecated.  
 void setMethodName(java.lang.String methodName)
          Deprecated.  
 void setMethodType(java.lang.String typ)
          Deprecated.  
 void setNew(boolean newness)
          Deprecated.  
 void setOrigObject(DefPersistable oldObj)
          Deprecated.  
 void setParameters(java.util.LinkedHashMap<java.lang.String,OperationParamImpl> parameters)
          Deprecated.  
 void setReturnType(java.lang.String typStr)
          Deprecated.  
 void setTrustMode(ExprEval.TrustMode trusted)
          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

 

Constructor Detail

OperationDefinitionImpl

public OperationDefinitionImpl()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

OperationDefinitionImpl

public OperationDefinitionImpl(java.lang.String tag)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

OperationDefinitionImpl

public OperationDefinitionImpl(java.lang.String uniqueid,
                               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.
For internal use only. Application developers should not use this

Method Detail

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.
For internal use only. Application developers should not use this

setDirty

public void setDirty(boolean dirty)
Deprecated. 
For internal framework use only.
Specified by:
setDirty in interface DefPersistable
Parameters:
dirty - If true the Object is marked Dirty.
For internal use only. Application developers should not use this

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.
For internal use only. Application developers should not use this

setNew

public void setNew(boolean newness)
Deprecated. 
For internal framework use only.
Specified by:
setNew in interface DefPersistable
Parameters:
newness - If true the Object is marked as new object.
For internal use only. Application developers should not use this

getDefXMLElementTag

public java.lang.String getDefXMLElementTag()
Deprecated. 
For internal framework use only.
Specified by:
getDefXMLElementTag in interface PersistentDefinition
For internal use only. Application developers should not use this

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.
For internal use only. Application developers should not use this

getOrigObject

public DefPersistable getOrigObject()
Deprecated. 
For internal framework use only.
Specified by:
getOrigObject in interface DefPersistable
For internal use only. Application developers should not use this

setOrigObject

public void setOrigObject(DefPersistable oldObj)
Deprecated. 
For internal framework use only.
Specified by:
setOrigObject in interface DefPersistable
For internal use only. Application developers should not use this

getId

public java.lang.String getId()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setId

public void setId(java.lang.String id)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

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
For internal use only. Application developers should not use this

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Deprecated. 
For internal framework use only.
Specified by:
getDefXMLNameSpace in interface PersistentDefinition
For internal use only. Application developers should not use this

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
For internal use only. Application developers should not use this

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
For internal use only. Application developers should not use this

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
For internal use only. Application developers should not use this

clone

public OperationDefinitionImpl clone()
Deprecated. 
For internal framework use only.
Overrides:
clone in class java.lang.Object
For internal use only. Application developers should not use this

loadXMLContents

public void loadXMLContents(DefElement xmlElement,
                            java.lang.String fullName)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getCategory

public java.lang.String getCategory()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setCategory

public void setCategory(java.lang.String category)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getMethodName

public java.lang.String getMethodName()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getSignature

public java.lang.String getSignature()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

isGroovy

public boolean isGroovy()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getReturnType

public java.lang.String getReturnType()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setReturnType

public void setReturnType(java.lang.String typStr)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getParameters

public java.util.HashMap<java.lang.String,java.lang.String> getParameters()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

lookupParameter

public OperationParamImpl lookupParameter(java.lang.String name)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setParameters

public void setParameters(java.util.LinkedHashMap<java.lang.String,OperationParamImpl> parameters)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

addParameter

public void addParameter(OperationParamImpl param)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

removeParameter

public void removeParameter(java.lang.String paramId)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getParameterNames

public java.lang.String[] getParameterNames()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getParameterTypes

public java.lang.Class[] getParameterTypes()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getJavaReturnType

public java.lang.Class getJavaReturnType()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getMethodBody

public java.lang.String getMethodBody()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getMethodText

public java.lang.String getMethodText()
Deprecated. 
For internal framework use only
For internal use only. Application developers should not use this

getMethodText

protected java.lang.String getMethodText(int offset,
                                         boolean global)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setInsertText

public void setInsertText(java.lang.String insertText)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getInsertText

public java.lang.String getInsertText()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setHelpText

public void setHelpText(java.lang.String helpText)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getHelpText

public java.lang.String getHelpText()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setExample

public void setExample(java.lang.String example)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getExample

public java.lang.String getExample()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setAccess

public void setAccess(ExprEval.Privilege priv)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setAccess

public void setAccess(java.lang.String priv)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getAccess

public ExprEval.Privilege getAccess()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getAccessStr

public java.lang.String getAccessStr()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getTrustModeStr

public java.lang.String getTrustModeStr()
Deprecated. 
For internal framework use only.

setTrustMode

public void setTrustMode(ExprEval.TrustMode trusted)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getTrustMode

public ExprEval.TrustMode getTrustMode()
Deprecated. 
For internal framework use only.
Specified by:
getTrustMode in interface ExprDef
For internal use only. Application developers should not use this

equals

public boolean equals(OperationDefinitionImpl opDef)

setMethodName

public void setMethodName(java.lang.String methodName)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

getMethodType

public java.lang.String getMethodType()
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setMethodType

public void setMethodType(java.lang.String typ)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

setMethodBody

public void setMethodBody(java.lang.String methodBody)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

pushPriv

public static void pushPriv(java.lang.Object context,
                            ExprPrivCounter counter)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

popPriv

public static void popPriv(java.lang.Object context,
                           ExprPrivCounter counter)
Deprecated. 
For internal framework use only.
For internal use only. Application developers should not use this

compareTo

public int compareTo(java.lang.Object operationDef)
Specified by:
compareTo in interface java.lang.Comparable

getExpressionSource

public java.lang.String getExpressionSource()
Description copied from interface: ExprDef
The source string of the expression.
Specified by:
getExpressionSource in interface ExprDef

hasReturn

public boolean hasReturn()
Description copied from interface: ExprDef
If the expression has a return value.
Specified by:
hasReturn in interface ExprDef

getExprIdentifier

public java.lang.String getExprIdentifier()
Description copied from interface: ExprDef
A unique identfier for the expression.
Specified by:
getExprIdentifier in interface ExprDef

getCacheKey

public java.lang.String getCacheKey(java.lang.String exprStr)
Description copied from interface: ExprDef
The key to be used for caching compiled expression instances.
Specified by:
getCacheKey in interface ExprDef

getScriptClassName

public java.lang.String getScriptClassName(java.lang.String exprStr)
Description copied from interface: ExprDef
Returns the name used for the expression class.
Specified by:
getScriptClassName in interface ExprDef

isOperationsExpression

public boolean isOperationsExpression()
Description copied from interface: ExprDef
If the expression defines operations.
Specified by:
isOperationsExpression in interface ExprDef

getImplicitVariableNames

public java.util.List<java.lang.String> getImplicitVariableNames()
Description copied from interface: DebugExprDef
Return a list of implicit variable names. The implicit variable names will appear in the debugger as variables of the expression's operation.
Specified by:
getImplicitVariableNames in interface DebugExprDef

getDebugComponentName

public java.lang.String getDebugComponentName()
Description copied from interface: DebugExprDef
Return the component name of the expression owner. The component name is typically a ViewObject or Entity name.
Specified by:
getDebugComponentName in interface DebugExprDef

getDebugAttrName

public java.lang.String getDebugAttrName()
Description copied from interface: DebugExprDef
Return the attribute name of the expression owner. If this is not an attribute expression return null. Operations always return null.
Specified by:
getDebugAttrName in interface DebugExprDef

getDebugTriggerName

public java.lang.String getDebugTriggerName()
Description copied from interface: DebugExprDef
Return the name of the trigger or validation rule of the expression. Operations always return null.
Specified by:
getDebugTriggerName in interface DebugExprDef

getOwnerType

public ExpressionDef.OwnerType getOwnerType()
Description copied from interface: DebugExprDef
Return the type of the expression owner. See oracle.jbo.common.ExpressionDef#OwnerType for a list of possible owners. Operations are always either a GlobalFunction or a LocalFunction.
Specified by:
getOwnerType in interface DebugExprDef

getDebugExpressionSource

public java.lang.String getDebugExpressionSource()
Description copied from interface: DebugExprDef
Return the version of the source that should be displayed in the debugger. The debugger source should only contain the expression body. The details of how operations are organized are hidden from the debugger user.
Specified by:
getDebugExpressionSource in interface DebugExprDef

getDebugOffset

public int getDebugOffset()
Description copied from interface: DebugExprDef
Return the offset of the start of the debug source in the containing ExprDef::ExpressionSource.
Specified by:
getDebugOffset in interface DebugExprDef

Skip navigation links

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

E10653-10


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