|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
no replacement
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 } ...
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 |
public void removeAll()
public void equals(java.lang.String value)
value - the case insensitive value this OutputArgument should be equals to.public void greater(float value)
value - the value this OutputArgument value should be greater than.public void less(float value)
value - the value this OutputArgument value should be less than.public void contains(java.lang.String value)
value - the case insensitive value this OutputArgument value should contain.public boolean compare(java.lang.String value)
Adapter and it's filtering logic.value - the value to compare.public OutputFilterCondition[] getOutputFilterConditions()
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||