public interface ISearchResultsOptionsManager
Modifier and Type | Field and Description |
---|---|
static String |
KEY_COLUMN_DISPLAY
This search result option controls which table columns are visible.
|
static String |
KEY_COLUMN_WIDTH
This search result option controls the widths of the displayed columns.
|
static String |
KEY_INITIAL_EXPORT_PAGE_SIZE |
static String |
KEY_INITIAL_PAGE_SIZE
This search result option controls how many rows are displayed on each page of search results.
|
static String |
KEY_INITIAL_SORT_ASCENDING
This search result option controls whether the search result data is sorted in ascending or descending order.
|
static String |
KEY_INITIAL_SORT_BY
This search result option controls which column is used to sort the search results
The value must be the id of a sortable column.
|
Modifier and Type | Method and Description |
---|---|
String |
getColumnWidthsPreference()
Return the column widths preference.
|
String[] |
getDisplayColumnsPreference()
Return the display column preference.
|
int |
getInitialExportPageSize()
Returns page size for export table
|
int |
getInitialPageSize()
Returns page size for search results display
|
boolean |
getInitialSortAscendingPreference()
Return the initialSortBy preference.
|
String |
getInitialSortByPreference()
Return the initialSortBy preference.
|
void |
setColumnWidthsPreference(String columnWidths)
Sets the column widths preference.
|
void |
setDisplayColumnsPreference(String[] columnDisplay)
Sets the display column preference.
|
void |
setInitialExportPageSize(int pageSize)
Sets initialExportPageSize preference
|
void |
setInitialPageSize(int pageSize)
Sets initialPageSize preference
|
void |
setInitialSortAscendingPreference(boolean ascending)
Sets initialSortBy preference.
|
void |
setInitialSortByPreference(String sortBy)
Sets initial sortBy preference
|
static final String KEY_INITIAL_SORT_BY
static final String KEY_INITIAL_SORT_ASCENDING
static final String KEY_COLUMN_DISPLAY
static final String KEY_COLUMN_WIDTH
static final String KEY_INITIAL_PAGE_SIZE
static final String KEY_INITIAL_EXPORT_PAGE_SIZE
String[] getDisplayColumnsPreference()
void setDisplayColumnsPreference(String[] columnDisplay)
String getColumnWidthsPreference()
void setColumnWidthsPreference(String columnWidths)
String getInitialSortByPreference()
void setInitialSortByPreference(String sortBy)
sortBy
- the column id to sort byboolean getInitialSortAscendingPreference()
void setInitialSortAscendingPreference(boolean ascending)
ascending
- true for ascending sort, false for descening sortint getInitialPageSize()
void setInitialPageSize(int pageSize)
pageSize
- the number of rows to display on each page of resultsint getInitialExportPageSize()
void setInitialExportPageSize(int pageSize)
pageSize
- the number of rows to export