|
DOCUMENTS 5 - PortalScripting API
|
This class represents one search field or one conditon within a DOCUMENTS search request. More...
Public Member Functions | |
| setDefault (String value, boolean writeProtect) | |
| Place a default value in a search field. More... | |
Public Attributes | |
| String | compOp |
| The comparison operator / relational operator as a String. More... | |
| String | defaultValue |
| The actual default value of the field (read-only). More... | |
| boolean | defValWriteProt |
| The UI write protection state of the defautValue (read-only) More... | |
| String | label |
| The localized label of the field. Maybe an empty String. More... | |
| String | name |
| The name of the look-up field (read-only). More... | |
| number | type |
| The field type coded as an integer (read-only). More... | |
| String | valueExpr |
| The value sought after. If the operator is "~", it can be a composed value expression. More... | |
Field Types | |
These constants are equally available in each instance of RetrievalField and in the constructor object. | |
| Integer | FT_STRING |
| Integer code for the field type "String" (single line) | |
| Integer | FT_TEXT |
| Integer code for the field type "Text" (multiple lines) | |
| Integer | FT_BOOL |
| Integer code for the field type "boolean". | |
| Integer | FT_DATE |
| Integer code for the field type "Date". | |
| Integer | FT_ENUM |
| Integer code for the field type "Enumeration" (not extensible) | |
| Integer | FT_NUMERIC |
| Integer code for the field type "Numeric". | |
| Integer | FT_REFERENCE |
| Integer code for the field type "File reference". | |
| Integer | FT_HISTORY |
| Integer code for the field type "History". | |
| Integer | FT_DOUBLE_LIST |
| Integer code for the field type "Double select list". | |
| Integer | FT_CHECKBOX |
| Integer code for the field type "Checkbox". | |
| Integer | FT_SEPARATOR |
| Integer code for the field type "Horizontal seperator" (actually ignored by the retrieval system) | |
| Integer | FT_USER_DEFINED |
| Integer code for the field type "User defeined". | |
| Integer | FT_TEXT_FIXED_FONT |
| Integer code for the field type "Text (fixed font)". | |
| Integer | FT_E_MAIL |
| Integer code for the field type "E-mail address". | |
| Integer | FT_URL |
| Integer code for the field type "URL". | |
| Integer | FT_TIMESTAMP |
| Integer code for the field type "Time stamp". | |
| Integer | FT_FILING_PLAN |
| Integer code for the field type "Filing plan". | |
| Integer | FT_HTML |
| Integer code for the field type "HTML". | |
| Integer | FT_FILING_STRUCTURE |
| Reserved constant for a possible future use. | |
| Integer | FT_GADGET |
| Integer code for the field type "Gadget" (actually ignored by the retrieval system) | |
| Integer | FT_UNDEFINED |
| Integer code for fields with an unspecified data type. More... | |
This class represents one search field or one conditon within a DOCUMENTS search request.
| RetrievalField::setDefault | ( | String | value, |
| boolean | writeProtect | ||
| ) |
Place a default value in a search field.
A "FillSearchMask" script-exit can call this function to place default values in an extended search formular. Calls from other scripts will rather deposit a "LastError" message in the superior DocQueryParams object.
| value | The initial text in the search field. Dates and numbers must be formatted with the current user's locale settings. |
| writeProtect | Indicates, if the user interface shall write-protect the field. |
| String RetrievalField::compOp |
The comparison operator / relational operator as a String.
For a list of valid operators see the page: Using filter expressions with FileResultSets.
| String RetrievalField::defaultValue |
The actual default value of the field (read-only).
| boolean RetrievalField::defValWriteProt |
The UI write protection state of the defautValue (read-only)
| Integer RetrievalField::FT_UNDEFINED |
Integer code for fields with an unspecified data type.
This constant has been added for completeness. Fields in this state should never appear in the retrieval system.
| String RetrievalField::label |
The localized label of the field. Maybe an empty String.
| String RetrievalField::name |
The name of the look-up field (read-only).
| number RetrievalField::type |
The field type coded as an integer (read-only).
See the enumeration constants in this class.
| String RetrievalField::valueExpr |
The value sought after. If the operator is "~", it can be a composed value expression.