|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SortRank
Allows sorting and ranking
Field Summary | |
---|---|
static java.lang.String |
ID
name of the Extension for lookup |
Fields inherited from interface com.tonbeller.jpivot.olap.model.ExpressionConstants |
---|
ASC, BASC, BDESC, BOTTOMCOUNT, DESC, TOPCOUNT |
Method Summary | |
---|---|
int |
getSortMode()
|
int |
getTopBottomCount()
number of members for topcount and bottomcount |
boolean |
isCurrentSorting(Position position)
return true if the result is sorted by the members of the position |
boolean |
isSortable(Position position)
returns true if user may sort by the members. |
boolean |
isSorting()
turns sorting on / off (off = natural sorting) |
void |
setSorting(boolean enabled)
|
void |
setSortMode(int mode)
|
void |
setTopBottomCount(int topBottomCount)
|
void |
sort(Axis membersToSort,
Position position)
changes current sorting. |
Methods inherited from interface com.tonbeller.jpivot.core.Extension |
---|
decorate, getId, modelInitialized, setModel |
Field Detail |
---|
static final java.lang.String ID
Method Detail |
---|
boolean isSorting()
void setSorting(boolean enabled)
boolean isSortable(Position position)
boolean isCurrentSorting(Position position)
int getSortMode()
void setSortMode(int mode)
int getTopBottomCount()
void setTopBottomCount(int topBottomCount)
void sort(Axis membersToSort, Position position) throws OlapException
mode
is TOPCOUNT
or BOTTOMCOUNT
the current value of topBottomCount
will be
used.
membersToSort
- the axis to sort. Its one of the "other" axes, that do not
contain positionposition
- the sort criteria
OlapException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |