Package wt.templateutil.table
Class ColumnSortService
java.lang.Object
wt.templateutil.table.ColumnSortService
Deprecated.
Deprecation Notice: This class is still valid for this release, however
this serves as advance notice that it will be removed in the future.
All user interfaces built using the Windchill HTML Template Processing
client architecture will be rewritten using a different framework in
an upcoming release.
This class tracks a user's preferences for which column to use for sorting a table and the order in which sorting should be done. It updates the user's preference based on the formData of the current page and retrieves preference information when sorting is to be done.
Supported API: true
Extendable: false
This class tracks a user's preferences for which column to use for sorting a table and the order in which sorting should be done. It updates the user's preference based on the formData of the current page and retrieves preference information when sorting is to be done.
Supported API: true
Extendable: false
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSortedColumnName(String tableName) Deprecated.booleanisSortAscending(String tableName, String columnName) Deprecated.
-
Constructor Details
-
ColumnSortService
Deprecated.Constructs an instance of the ColumnSortService and updates the user's sorting preferences based on the form data of the current page.- Parameters:
HTTPState- HTTPState object associated with the current page
Supported API: true- Throws:
WTException
-
-
Method Details
-
isSortAscending
Deprecated.Returns true if the given column should be sorted in ascending order, false if descending- Parameters:
tableName- name of the table as returned by the HTMLComponent.getName() methodcolumnName- name of the column by which the table is sorted
Supported API: true
-
getSortedColumnName
Deprecated.Gets the name of the column by which a table should be sorted- Parameters:
tableName- name of the table as returned by the HTMLComponent.getName() method
Supported API: true
-