|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.data.provider.SortCriteria
com.sun.rave.web.ui.faces.ValueBindingSortCriteria
public class ValueBindingSortCriteria
The ValueBindingSortCriteria class is an implementation of SortCriteria
that simply retrieves the sort value from the ValueBinding.
| Constructor Summary | |
|---|---|
ValueBindingSortCriteria()
Constructs a ValueBindingSortCriteria with no associated ValueBinding. |
|
ValueBindingSortCriteria(javax.faces.el.ValueBinding valueBinding)
Constructs a ValueBindingSortCriteria with the specified ValueBinding. |
|
ValueBindingSortCriteria(javax.faces.el.ValueBinding valueBinding,
boolean ascending)
Constructs a ValueBindingSortCriteria with the specified ValueBinding and
ascending state. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCriteriaKey()
Returns the ValueBinding's value expresssion string. |
java.lang.String |
getDisplayName()
If no display name is set, this returns the ValueBinding's
display name. |
java.lang.String |
getRequestMapKey()
Returns the request map variable key that will be used to store the TableRowDataProvider for the current row being sorted. |
java.lang.Object |
getSortValue(com.sun.data.provider.TableDataProvider provider,
com.sun.data.provider.RowKey row)
Returns the value from the ValueBinding ignoring the arguments. |
javax.faces.el.ValueBinding |
getValueBinding()
Returns the ValueBinding to use for this sort criteria. |
void |
setRequestMapKey(java.lang.String requestMapKey)
Sets the request map variable key that will be used to store the TableRowDataProvider for the current row being sorted. |
void |
setValueBinding(javax.faces.el.ValueBinding valueBinding)
Sets the ValueBinding for this sort criteria. |
| Methods inherited from class com.sun.data.provider.SortCriteria |
|---|
isAscending, setAscending, setDisplayName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueBindingSortCriteria()
ValueBinding.
public ValueBindingSortCriteria(javax.faces.el.ValueBinding valueBinding)
ValueBinding.
valueBinding - The desired ValueBinding
public ValueBindingSortCriteria(javax.faces.el.ValueBinding valueBinding,
boolean ascending)
ValueBinding and
ascending state.
valueBinding - The desired ValueBindingascending - The desired boolean state for the ascending property| Method Detail |
|---|
public javax.faces.el.ValueBinding getValueBinding()
public void setValueBinding(javax.faces.el.ValueBinding valueBinding)
valueBinding - The desired ValueBinding for this sort criteriapublic java.lang.String getRequestMapKey()
TableRowDataProvider for the current row being sorted. This
allows value expressions to refer to the "current" row during the sort
operation.
TableRowDataProviderpublic void setRequestMapKey(java.lang.String requestMapKey)
TableRowDataProvider for the current row being sorted. This
allows value expressions to refer to the "current" row during the sort
operation.
requestMapKey - String key to use for the TableRowDataProviderpublic java.lang.String getDisplayName()
If no display name is set, this returns the ValueBinding's
display name.
getDisplayName in class com.sun.data.provider.SortCriteriapublic java.lang.String getCriteriaKey()
getCriteriaKey in class com.sun.data.provider.SortCriteria
public java.lang.Object getSortValue(com.sun.data.provider.TableDataProvider provider,
com.sun.data.provider.RowKey row)
Returns the value from the ValueBinding ignoring the arguments.
getSortValue in class com.sun.data.provider.SortCriteria
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||