|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 2 (11.1.2.2.0) E17480-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodCall
Represents metadata for a method call activity. For example:
<method-call> <method>#{pageFlowScope.taxService.calculateSalesTax}</method> <parameter> <class>java.lang.Double</class> <value>#{pageFlowScope.shoppingCart.totalPurchasePrice}</value> </parameter> <outcome> <to-string/> </outcome> </method-call>
Method Summary | |
---|---|
boolean |
addParameter(Parameter parameter) |
boolean |
convertToString() Indicates whether a value returned from a method should be converted to Java String . |
java.lang.String |
getDefaultOutcome() Retrieves a constant representing the default outcome of this method. |
java.lang.String |
getMethod() Retrieves a method EL expression representing this method call. |
java.util.List<Parameter> |
getParameters() Retrieves the List of input parameters to this method. |
java.lang.String |
getReturnValue() The EL expression used to store method's return value. |
boolean |
removeParameter(Parameter parameter) |
boolean |
setConvertToString(boolean convertToString) If convertToString is true, and a method call has a fixed outcome defined, the fixed outcome will be removed and to-string element will be added. |
boolean |
setDefaultOutcome(java.lang.String defaultOutcome) Adds a literal outcome that will be returned when this method call activity executes. |
boolean |
setMethod(java.lang.String method) |
boolean |
setReturnValue(java.lang.String returnValue) |
Methods inherited from interface oracle.adf.controller.metadata.model.Activity |
---|
getId, getMetadataObject, getType |
Methods inherited from interface oracle.adf.controller.metadata.model.UIInfo |
---|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, getUIInfo, setDescription, setDisplayName, setLargeIcon, setSmallIcon |
Methods inherited from interface oracle.adf.controller.metadata.model.AdfcNode |
---|
getParsingContext, validate |
Methods inherited from interface oracle.adf.controller.metadata.model.IdHolder |
---|
getIdAttribute, setIdAttribute |
Methods inherited from interface oracle.adf.controller.metadata.model.NodeHolder |
---|
getNode |
Method Detail |
---|
java.lang.String getMethod()
#{pageFlowScope.taxService.calculateSalesTax
java.util.List<Parameter> getParameters()
List
of input parameters to this method.boolean convertToString()
String
.#toString()
should be called on the result when setting the outcome of this method call activity.java.lang.String getDefaultOutcome()
java.lang.String getReturnValue()
boolean setConvertToString(boolean convertToString)
setDefaultOutcome(java.lang.String)
instead.convertToString
-boolean setDefaultOutcome(java.lang.String defaultOutcome)
defaultOutcome
-boolean setMethod(java.lang.String method)
boolean setReturnValue(java.lang.String returnValue)
boolean addParameter(Parameter parameter)
boolean removeParameter(Parameter parameter)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 2 (11.1.2.2.0) E17480-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |