Difference between revisions of "Template:Java API"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 32: | Line 32: | ||
;Usage: | ;Usage: | ||
::* Find the object name in the [[Object Properties]] | ::* Find the object name in the [[Object Properties]] | ||
::* Get the record ID from the | ::* Get the record ID from the [[incoming method parameters]] for the method | ||
::* Use <tt>result.getID()</tt> to retrieve the returned ID | ::* Use <tt>result.getID()</tt> to retrieve the returned ID | ||
::* Pass it to the {{^Fcn}} <tt>getXyz()</tt> method to get a {{^PlatformFileBean}} or __other item__ | ::* Pass it to the {{^Fcn}} <tt>getXyz()</tt> method to get a {{^PlatformFileBean}} or __other item__ |
Revision as of 03:26, 16 January 2014
Description...
- Syntax
Result result = Functions.__apiName__(String objectName, String fields, String criteria); Result result = Functions.__apiName__(String objectName, String fields, String criteria [, Parameters params] ); Result result = Functions.__apiName__(String objectName, String fields, String criteria); Result result = Functions.__apiName__(String objectName, String fields, String criteria, String sortBy, String sortOrder, String sortBy2, String sortOrder2, int offset, int numberOfRows);
- Parameters
-
- objectName
- The object name or 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
- Usage
-
- Find the object name in the Object Properties
- Get the record ID from the incoming method parameters for the method
- Use result.getID() to retrieve the returned ID
- Pass it to the Functions class getXyz() method to get a PlatformFileBean or __other item__
- Example
- This example ....
...