Commonly Used Constants

From AgileApps Support Wiki

Jump to: navigation, search

Constants are defined in the CONSTANTS class. On that page, follow the links in the Nested Class Summary for a complete guide to AgileApps Cloud platform constants. For convenience, some of the more common constants used in the Java APIs are listed here.

Contents

Notepad.png

Note:

  • Constants have all-uppercase names, and are listed as static in the Field Summary. For example: static String CONTAINS
  • Some of the classes have nested classes of their own. Keep drilling down until you find the constant you need.

Documents

Constant Name Description Used in function
CONSTANTS.DOCUMENT.HTML HTML format generateDocument
CONSTANTS.DOCUMENT.PDF PDF format generateDocument

Search

Constant Name Description Used in function
CONSTANTS.SEARCH.SORT_ASCENDING Ascending ordersearchRecords
CONSTANTS.SEARCH.SORT_DESCENDINGDescending ordersearchRecords

HttpConnection

Constant Name Description Used in function
CONSTANTS.HTTP. METHOD.GETHTTP GET requestHttpConnection Constructor
CONSTANTS.HTTP. METHOD.POSTHTTP POST requestHttpConnection Constructor

Request Parameter

Constant Name Description Used in
... ... ...
CONSTANTS.SEARCH.SEARCH_RESULTSRetrieve search results
Personal tools