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

E10653-02

oracle.adf.model.binding
Class DCInvokeMethod

java.lang.Object
  extended by oracle.adf.model.binding.DCInvokeMethod
All Implemented Interfaces:
OperationInfo

public class DCInvokeMethod
extends java.lang.Object
implements OperationInfo

Implements metadata and logic to invoke a custom action binding method.

Internal: Applications should not use this class.

javabean.class
name=DCInvokeMethod

Method Summary
 void addInvokeMethodListener(DCInvokeMethodListener l)
          Adds the given listener to this Action Binding's listeners list.
 void cacheOverrideParameters()
           
 boolean cacheReturnDefinition()
          Return true if the structure of the returned objects may be cached by the framework for optimization.
 java.lang.Object callMethod(DCDataControl dc, OperationBinding action, java.util.Map paramsMap)
          Internal use only.
 java.lang.Object[] fetchParameterValues(BindingContext ctx, java.util.Map paramsMap)
          For internal framework use only.
 DCIteratorBinding getAssociatedIteratorBinding()
           
 java.lang.String getCachedParamsName()
          Internal: Applications should not use this method.
 DCInvokeMethodDef getDef()
           
 java.lang.String getInstanceName()
          Internal: Applications should not use this method.
 java.lang.Object getInvokeInstance(DCDataControl dc, BindingContext ctx)
          For internal framework use only.
 java.util.ArrayList getInvokeMethodListeners()
          Returns a list of JUInvokeMethodListener (returns an empty list if no such listener was registered).
 java.lang.String getMethodName()
          Internal: Applications should not use this method.
 java.lang.String getOperationName()
          Internal: Applications should not use this method.
 OperationParameter[] getParameters()
          Returns an array of OperationParameters that this operation needs.
 PermissionInfo getPermissionInfo()
           
 java.lang.String getPermissionTargetName()
           
 java.lang.String getReturnName()
          Returns an expression to the location inside the BindingContext where this method's result should be found.
 java.lang.Object[] getTransientValues()
           
 boolean hasParameterValuesChanged()
           
 void invalidateMethodResults()
           
 void release(int flag)
           
 void removeInvokeMethodListener(DCInvokeMethodListener l)
          Removes the given listener from this Action Binding's listeners list.
 void setCacheResolvedValues(boolean flag)
          Internal: Applications should not use this method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParameters

public OperationParameter[] getParameters()
Description copied from interface: OperationInfo
Returns an array of OperationParameters that this operation needs. Returns null if no parameters are needed.


getTransientValues

public java.lang.Object[] getTransientValues()

cacheOverrideParameters

public void cacheOverrideParameters()

hasParameterValuesChanged

public boolean hasParameterValuesChanged()

callMethod

public java.lang.Object callMethod(DCDataControl dc,
                                   OperationBinding action,
                                   java.util.Map paramsMap)
Internal use only. Application developers should not extend.


fetchParameterValues

public java.lang.Object[] fetchParameterValues(BindingContext ctx,
                                               java.util.Map paramsMap)
For internal framework use only. Application developers should not use this method.


getInvokeInstance

public java.lang.Object getInvokeInstance(DCDataControl dc,
                                          BindingContext ctx)
For internal framework use only. Application developers should not use this method.


getInstanceName

public final java.lang.String getInstanceName()
Internal: Applications should not use this method.

Specified by:
getInstanceName in interface OperationInfo

getOperationName

public final java.lang.String getOperationName()
Internal: Applications should not use this method.

Specified by:
getOperationName in interface OperationInfo

getMethodName

public final java.lang.String getMethodName()
Internal: Applications should not use this method.


cacheReturnDefinition

public final boolean cacheReturnDefinition()
Description copied from interface: OperationInfo
Return true if the structure of the returned objects may be cached by the framework for optimization. Return false only if the operation may result in a list or collection of objects whose structure changes during this operation (even though the structure's name/type is the same). This allows the framework to handle dynamic structure usecases where attributes or accessors are added to a structure within this operation.


getReturnName

public final java.lang.String getReturnName()
Description copied from interface: OperationInfo
Returns an expression to the location inside the BindingContext where this method's result should be found.

Specified by:
getReturnName in interface OperationInfo

getCachedParamsName

public final java.lang.String getCachedParamsName()
Internal: Applications should not use this method.


getDef

public DCInvokeMethodDef getDef()

setCacheResolvedValues

public void setCacheResolvedValues(boolean flag)
Internal: Applications should not use this method.

Called by ActionBindingRef & MethodIteratorDef to imply that values once fetched need to be cached so that it can be compared against the new set of values on the next call to ascertain if the call should be ignored (if the parameter=values are same)


release

public void release(int flag)

invalidateMethodResults

public void invalidateMethodResults()

getInvokeMethodListeners

public final java.util.ArrayList getInvokeMethodListeners()
Returns a list of JUInvokeMethodListener (returns an empty list if no such listener was registered).


addInvokeMethodListener

public final void addInvokeMethodListener(DCInvokeMethodListener l)
Adds the given listener to this Action Binding's listeners list.


removeInvokeMethodListener

public final void removeInvokeMethodListener(DCInvokeMethodListener l)
Removes the given listener from this Action Binding's listeners list.


getPermissionTargetName

public java.lang.String getPermissionTargetName()

getPermissionInfo

public PermissionInfo getPermissionInfo()

getAssociatedIteratorBinding

public DCIteratorBinding getAssociatedIteratorBinding()

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

E10653-02

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