|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.content.spi.SortCriteria
public class SortCriteria
query sort criteria
| Field Summary | |
|---|---|
static SortCriteria |
UNSORTED
|
| Constructor Summary | |
|---|---|
SortCriteria()
Construct a SortCriteria object using SortCriteria.UNSORTED. |
|
SortCriteria(boolean sortAscending)
Construct a SortCriteria object. |
|
SortCriteria(boolean sortResults,
boolean sortAscending,
String property,
Locale locale)
Construct a SortCriteria object. |
|
SortCriteria(boolean sortAscending,
String property)
Construct a SortCriteria object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Locale |
getLocale()
Get the locale. |
String |
getProperty()
Get the sort property name. |
int |
hashCode()
Override the hashCode because we override equals(). |
boolean |
sortAscending()
Get the sort ascending value. |
boolean |
sortResults()
Get the sort results value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final SortCriteria UNSORTED
| Constructor Detail |
|---|
public SortCriteria(boolean sortResults,
boolean sortAscending,
String property,
Locale locale)
sortResults - True if the containing QueryResult object has sorted the results.sortAscending - True if the results should be sorted ascending.property - The property name to sort on.locale - The locale.
public SortCriteria(boolean sortAscending,
String property)
sortAscending - True if the results should be sorted ascending.property - The property name to sort on.public SortCriteria(boolean sortAscending)
sortAscending - True if the results should be sorted ascending.public SortCriteria()
| Method Detail |
|---|
public boolean sortResults()
public boolean sortAscending()
public String getProperty()
public Locale getLocale()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||