public interface SortManager extends Remote
Modifier and Type | Method and Description |
---|---|
String |
getPrimarySortAttribute(String tableName)
Gets the primary sort attribute for the given table.
|
boolean |
getPrimarySortDirection(String tableName)
Gets the primary sort direction (true == ascending) for the given table.
|
String |
getSecondarySortAttribute(String tableName)
Gets the secondary sort attribute for the given table.
|
boolean |
getSecondarySortDirection(String tableName)
Gets the secondary sort direction (true == ascending) for the given table.
|
void |
setSortPreference(NamedValue[] options)
Creates a setting in the current user's user preferences to always sort
the given table using the given options.
|
Item[] |
sortAttributeList(long id,
NamedValue[] options,
AttributeRequest[] attrs)
Given an id of a repos object, constructs an item with an attribute of
the given name and sorts the resulting value.
|
void setSortPreference(NamedValue[] options) throws FdkException
options
- The sort options. Valid options are:
FdkException
- if the operation fails.String getPrimarySortAttribute(String tableName) throws FdkException
tableName
- The table on which to retrieve the attribute.FdkException
- if the operation fails.boolean getPrimarySortDirection(String tableName) throws FdkException
tableName
- The table on which to retrieve the attribute.FdkException
- if the operation fails.String getSecondarySortAttribute(String tableName) throws FdkException
tableName
- The table on which to retrieve the attribute.FdkException
- if the operation fails.boolean getSecondarySortDirection(String tableName) throws FdkException
tableName
- The table on which to retrieve the attribute.FdkException
- if the operation fails.Item[] sortAttributeList(long id, NamedValue[] options, AttributeRequest[] attrs) throws FdkException
id
- The id of the repos object.options
- The sort options. Valid options are:
FdkException
- if the operation fails.Copyright © 2023. All rights reserved.