| |
|
| java.lang.Object com.sun.data.provider.SortCriteria com.sun.rave.web.ui.faces.ValueExpressionSortCriteria
ValueExpressionSortCriteria | public class ValueExpressionSortCriteria extends SortCriteria (Code) | | The ValueExpressionSortCriteria class is an implementation of SortCriteria
that simply retrieves the sort value from a
ValueBinding which is
created using the specified value expression.
author: Joe Nuxoll |
ValueExpressionSortCriteria | public ValueExpressionSortCriteria()(Code) | | Constructs a ValueExpressionSortCriteria with no value expression
|
ValueExpressionSortCriteria | public ValueExpressionSortCriteria(String valueExpression)(Code) | | Constructs a ValueExpressionSortCriteria with the specified value
expression.
Parameters: valueExpression - The desired value expression |
ValueExpressionSortCriteria | public ValueExpressionSortCriteria(String valueExpression, boolean ascending)(Code) | | Constructs a ValueExpressionSortCriteria with the specified value
expression and ascending state.
Parameters: valueExpression - The desired value expression Parameters: ascending - The desired boolean state for the ascending property |
getCriteriaKey | public String getCriteriaKey()(Code) | | Returns the value expression.
|
getDisplayName | public String getDisplayName()(Code) | | If no display name is set, this returns the value expression.
|
getRequestMapKey | public String getRequestMapKey()(Code) | | Returns the request map variable key that will be used to store the
TableRowDataProvider for the current row being sorted. This
allows value expressions to refer to the "current" row during the sort
operation.
String key to use for the TableRowDataProvider |
getSortValue | public Object getSortValue(TableDataProvider provider, RowKey row)(Code) | | Returns the value from a
ValueBinding created using the value
expression. The passed arguments are ignored.
|
getValueExpression | public String getValueExpression()(Code) | | Returns the value expression to use for this sort criteria.
The currently set value expression for this sort criteria |
setRequestMapKey | public void setRequestMapKey(String requestMapKey)(Code) | | Sets the request map variable key that will be used to store the
TableRowDataProvider for the current row being sorted. This
allows value expressions to refer to the "current" row during the sort
operation.
Parameters: requestMapKey - String key to use for the TableRowDataProvider |
setValueExpression | public void setValueExpression(String valueExpression)(Code) | | Sets the value expression for this sort criteria.
Parameters: valueExpression - The desired value expression for this sort criteria |
|
|
|