Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama
Interface OutputArgument

All Superinterfaces:
Argument, java.io.Serializable

Deprecated.

 no replacement

public interface OutputArgument
extends Argument

The Interface of an output argument. The output arguments are used to link output from one Adapter to input to another Service, or to add filter conditions on the output from an Adapter where the adapter can post-process the result and check if the filter conditions apply. The possible output arguments are defined by the Adapter, the filter conditions is set by a MasterService or an Alias. The Adapter is responsible to handle all filtering conditions which all must be fulfilled if the current record should be returned.

Filtering layout example in an Adapter:

Arguments args = ....; ... // Fragments Element el = getAdapterResult(); // Only run filtering if there is any filtering arguments if (args.hasOutputFilters()) { applyFilter(el, args); // Remove all records not matching the OutputFilters } ...

See Also:
Adapter, Alias, MasterService

Field Summary

 

Fields inherited from interface oracle.panama.Argument
ENUM, FILE, MULTI_LINE, SINGLE_LINE

 

Method Summary
 boolean compare(java.lang.String value)
          Deprecated. Check if the condition is fulfilled.
 void contains(java.lang.String value)
          Deprecated. Add a contains filter Condition.
 void equals(java.lang.String value)
          Deprecated. Add an equals String filter Condition.
 OutputFilterCondition[] getOutputFilterConditions()
          Deprecated.  
 void greater(float value)
          Deprecated. Add a greater than filter condition, valid for numbers only.
 void less(float value)
          Deprecated. Add a less than filter condition, valid for numbers only.
 void removeAll()
          Deprecated. Remove all conditions.

 

Methods inherited from interface oracle.panama.Argument
getCaption, getComment, getName, getOptions, getType, getUsageUser, getValue, getValues, isUsageUser, setCaption, setComment, setName, setOptions, setType, setUsageUser, setUsageUser, setValue, setValues

 

Method Detail

removeAll

public void removeAll()
Deprecated. 
Remove all conditions.

equals

public void equals(java.lang.String value)
Deprecated. 
Add an equals String filter Condition.
Parameters:
value - the case insensitive value this OutputArgument should be equals to.

greater

public void greater(float value)
Deprecated. 
Add a greater than filter condition, valid for numbers only.
Parameters:
value - the value this OutputArgument value should be greater than.

less

public void less(float value)
Deprecated. 
Add a less than filter condition, valid for numbers only.
Parameters:
value - the value this OutputArgument value should be less than.

contains

public void contains(java.lang.String value)
Deprecated. 
Add a contains filter Condition.
Parameters:
value - the case insensitive value this OutputArgument value should contain.

compare

public boolean compare(java.lang.String value)
Deprecated. 
Check if the condition is fulfilled. This method is typically used by the Adapter and it's filtering logic.
Parameters:
value - the value to compare.

getOutputFilterConditions

public OutputFilterCondition[] getOutputFilterConditions()
Deprecated. 
Returns:
OutputFilterCondition[] the list of output filter conditions, if any

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.