Commonly Used Constants

From AgileApps Support Wiki
Revision as of 22:54, 24 June 2011 by imported>Aeric

Constants are defined in the Template:Constants class. See that class and its subclasses for a complete reference.

Some of the most common constants used in the Java APIs are described here.

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 order searchRecords
CONSTANTS.SEARCH.SORT_DESCENDING Descending order searchRecords

HttpConnection

Constant Name Description Used in function
CONSTANTS.HTTP. METHOD.GET HTTP GET request HttpConnection Constructor
CONSTANTS.HTTP. METHOD.POST HTTP POST request HttpConnection Constructor

Request Parameter

Constant Name Description Used in
... ... ...
CONSTANTS.SEARCH.SEARCH_RESULTS Retrieve search results Data Policy
Ex:

Using a Data Policy to Mask Social Security Numbers