|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.beasys.commerce.foundation.expression.SortCriteria
SortCriteria instead.
public class SortCriteria
A little class which handles the sortBy part of a Search.
This object represents a single sort criteria, which is a property name and an ascending/descending flag. The class provides a utility method to parse a sortBy string into an array of SortCriteria.
| Field Summary | |
|---|---|
boolean |
isAscending
Deprecated The ascending or descending order. |
String |
property
Deprecated The property name to sort on. |
String |
scope
Deprecated The property scope name. |
| Constructor Summary | |
|---|---|
SortCriteria(String property)
Deprecated Constructor. |
|
SortCriteria(String property,
boolean isAscending)
Deprecated Constructor. |
|
SortCriteria(String scope,
String property,
boolean isAscending)
Deprecated Constructor. |
|
| Method Summary | |
|---|---|
static SortCriteria[] |
getSortCriteria(String sortBy)
Deprecated Parse the given sort string and return an array of SortCriteria. |
String |
toString()
Deprecated Convert to a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String scope
public String property
public boolean isAscending
| Constructor Detail |
|---|
public SortCriteria(String scope,
String property,
boolean isAscending)
public SortCriteria(String property,
boolean isAscending)
public SortCriteria(String property)
| Method Detail |
|---|
public static SortCriteria[] getSortCriteria(String sortBy)
throws IllegalArgumentException
sortBy - the sort string (e.g. "identifier ASC, creationDate
DESC").
IllegalArgumentException - thrown on an invalid sortBy string.public String toString()
toString in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||