|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.crawler.interfaces.SortOrder
public class SortOrder
Class which describes specification of the sort order for a report.
| Nested Class Summary | |
|---|---|
static class |
SortOrder.ParseBuffer
|
static class |
SortOrder.SortSpec
|
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
static int |
SORT_ASCENDING
Sort ascending |
static int |
SORT_DESCENDING
Sort descending |
protected java.util.ArrayList |
sortList
The sort order list. |
| Constructor Summary | |
|---|---|
SortOrder()
Constructor. |
|
SortOrder(java.lang.String rep)
Constructor from string representation. |
|
| Method Summary | |
|---|---|
void |
addCriteria(java.lang.String columnName,
int order)
Add a sort criteria, at the front. |
void |
clickColumn(java.lang.String columnName)
Click a column. |
java.lang.String |
getColumn(int i)
Return an individual sort column. |
int |
getCount()
Get the sort spec count. |
int |
getDirection(int i)
Return an individual direction. |
java.lang.String |
toString()
Convert to string form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String _rcsid
public static final int SORT_ASCENDING
public static final int SORT_DESCENDING
protected java.util.ArrayList sortList
| Constructor Detail |
|---|
public SortOrder()
public SortOrder(java.lang.String rep)
throws ManifoldCFException
ManifoldCFException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic void clickColumn(java.lang.String columnName)
public void addCriteria(java.lang.String columnName,
int order)
public int getCount()
public java.lang.String getColumn(int i)
public int getDirection(int i)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||