Difference between revisions of "Constants"
From LongJump Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 2: | Line 2: | ||
{{Note| | {{Note| | ||
:* Constants have all-uppercase names, and are listed as <tt>static</tt> in the '''Field Summary'''. For example: <tt>static String CONTAINS </tt> | :* Constants have all-uppercase names, and are listed as <tt>static</tt> in the '''Field Summary'''. For example: <tt>static String CONTAINS</tt> | ||
:* Some of the classes have nested classes of their own. Keep drilling down until you find the constant you need. | :* Some of the classes have nested classes of their own. Keep drilling down until you find the constant you need. | ||
}} | }} |
Revision as of 23:09, 24 June 2011
Constants are defined in the CONSTANTS class. Follow the links on that page to the Nested Class Summary, for a complete guide to LongJump Platform constants.
For convenience, some of the more common constants used in the Java APIs are listed 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: |