Difference between revisions of "Template:Java API"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 18: | Line 18: | ||
:;fields:A comma-separated list of names of the fields to retrieve | :;fields:A comma-separated list of names of the fields to retrieve | ||
:;criteria:A [[JAVA API:Filter Expressions in JAVA APIs|filter expression]] that specifies records to select. | :;criteria:A [[JAVA API:Filter Expressions in JAVA APIs|filter expression]] that specifies records to select. | ||
:;params: | :;params: An optional [[Parameters Class|Parameters]] object that contains additional parameters: | ||
:::*''' param -''' ... | :::*''' param -''' ... | ||
Revision as of 01:30, 16 September 2011
Description...
- Syntax
- <syntaxhighlight lang="java" enclose="div">
Result result = Functions.__apiName__(String objectId, String fields, String criteria); Result result = Functions.__apiName__(String objectId, String fields, String criteria
[, Parameters params] );
Result result = Functions.__apiName__(String objectId, String fields, String criteria); Result result = Functions.__apiName__(String objectId, String fields, String criteria,
String sortBy, String sortOrder, String sortBy2, String sortOrder2, int offset, int numberOfRows);
</syntaxhighlight>
- Parameters
-
- objectId
- The object identifier
- fields
- A comma-separated list of names of the fields to retrieve
- criteria
- A filter expression that specifies records to select.
- params
- An optional Parameters object that contains additional parameters:
- param - ...
- Returns
- Result object
--or--
- An integer containing ...
- A string containing ...
- Throws
- Exception
- Example
- This example ....
- <syntaxhighlight lang="java" enclose="div">
... </syntaxhighlight>