|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.table.ColumnSortService
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
Field Summary | |
private static String |
AMPERSTAND
Deprecated. |
private static String |
COLUMN
Deprecated. |
static String |
DELIM
Deprecated. |
static String |
DOWN
Deprecated. |
private static String |
EQUALS
Deprecated. |
private static String |
FORWARD_SLASH
Deprecated. |
private static String |
ISASCENDING
Deprecated. |
static String |
SORT_BY
Deprecated. |
private static String |
SORTED_COLUMN_PREFIX
Deprecated. |
private HashMap |
sortMap
Deprecated. |
private HTTPState |
state
Deprecated. |
private static String |
TABLE
Deprecated. |
private static String[] |
TOKENS
Deprecated. |
static String |
UP
Deprecated. |
Constructor Summary | |
ColumnSortService(HTTPState state)
Deprecated. |
Method Summary | |
String |
getCommandString(String tableName,
String columnName)
Deprecated. |
String |
getQueryString(String tableName,
String columnName)
Deprecated. |
String |
getSortedColumnName(String tableName)
Deprecated. |
boolean |
isColumnSorted(String tableName,
String columnName)
Deprecated. |
boolean |
isSortAscending(String tableName,
String columnName)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DELIM
private static final String TABLE
private static final String COLUMN
private static final String ISASCENDING
private static final String[] TOKENS
public static final String SORT_BY
public static final String UP
public static final String DOWN
private static final String AMPERSTAND
private static final String EQUALS
private static final String FORWARD_SLASH
private static final String SORTED_COLUMN_PREFIX
private HTTPState state
private HashMap sortMap
Constructor Detail |
public ColumnSortService(HTTPState state) throws WTException
Method Detail |
public boolean isColumnSorted(String tableName, String columnName)
public boolean isSortAscending(String tableName, String columnName)
tableName
- name of the table as returned by the HTMLComponent.getName() methodcolumnName
- name of the column by which the table is sorted
public String getQueryString(String tableName, String columnName)
public String getCommandString(String tableName, String columnName)
public String getSortedColumnName(String tableName)
tableName
- name of the table as returned by the HTMLComponent.getName() method
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |