Difference between revisions of "Constants"

From LongJump Support Wiki
imported>Aeric
 
imported>Aeric
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Constants used in the [[Java API]]s are described here.
Constants are defined in the {{constants}} class. On that page, follow the links in the '''Nested Class Summary''' for a complete guide to {{EnterpriseBrand}} constants.
 
{{Note|
:* 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.
}}
 
For convenience, some of the more common constants used in the [[Java API]]s are listed here.


==Documents==
==Documents==
Line 8: Line 15:
!Used in function
!Used in function
|-
|-
|CONSTANT.DOCUMENT.FORMAT.HTML ||HTML format ||[[generateDocument]]
|CONSTANTS.DOCUMENT.HTML ||HTML format ||[[generateDocument]]
|-
|-
|CONSTANT.DOCUMENT.FORMAT.PDF ||PDF format ||[[generateDocument]]
|CONSTANTS.DOCUMENT.PDF ||PDF format ||[[generateDocument]]
|}
|}


Line 20: Line 27:
!Used in function
!Used in function
|-
|-
|CONSTANT.SEARCH.SORT_ASCENDING ||Ascending order||[[Record_Handling#searchRecords|searchRecords]]
|CONSTANTS.SEARCH.SORT_ASCENDING ||Ascending order||[[Record_Handling#searchRecords|searchRecords]]
|-
|-
|CONSTANT.SEARCH.SORT_DESCENDING||Descending order||[[Record_Handling#searchRecords|searchRecords]]
|CONSTANTS.SEARCH.SORT_DESCENDING||Descending order||[[Record_Handling#searchRecords|searchRecords]]
|}
|}


Line 32: Line 39:
!Used in function
!Used in function
|-
|-
|CONSTANT.HTTP. METHOD.GET||HTTP GET request||[[Support_Classes_and_Objects#HttpConnection_Class|HttpConnection Constructor]]
|CONSTANTS.HTTP. METHOD.GET||HTTP GET request||[[Support_Classes_and_Objects#HttpConnection_Class|HttpConnection Constructor]]
|-
|-
|CONSTANT.HTTP. METHOD.POST||HTTP POST request||[[Support_Classes_and_Objects#HttpConnection_Class|HttpConnection Constructor]]
|CONSTANTS.HTTP. METHOD.POST||HTTP POST request||[[Support_Classes_and_Objects#HttpConnection_Class|HttpConnection Constructor]]
|}
|}


Line 46: Line 53:
| ... || ... || ...
| ... || ... || ...
|-
|-
|CONSTANT.SEARCH.SEARCH_RESULTS_FOR_DP||Retrieve search results||[[Data Policy]]<br/>Ex:  
|CONSTANTS.SEARCH.SEARCH_RESULTS||Retrieve search results||[[Data Policy]]<br/>Ex:  
[[Data Policy#Using a Data Policy to Mask Social Security Numbers|Using a Data Policy to Mask Social Security Numbers]]
[[Data Policy#Using a Data Policy to Mask Social Security Numbers|Using a Data Policy to Mask Social Security Numbers]]
|}
|}

Latest revision as of 23:11, 24 June 2011

Constants are defined in the CONSTANTS class. On that page, follow the links in the Nested Class Summary for a complete guide to LongJump Platform constants.

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.

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:

Using a Data Policy to Mask Social Security Numbers