|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mlw.vlh.ValueListInfo
This VO holds all the information needed to
retrieve a ValueList
Field Summary | |
static java.lang.Integer |
ASCENDING
Constant for an ascending order. |
static java.lang.Integer |
DESCENDING
Constant for an descending order. |
protected java.util.Map |
filters
Holds the filters. |
protected int |
numberPerPage
Total number on each page. |
protected int |
pageNumber
Current page desired to display. |
protected java.lang.String[] |
sortColumns
Holds the columns the ValueList is sorted upon. |
protected java.lang.Integer[] |
sortDirections
Holds the columns the ValueList is sorted upon. |
protected int |
totalNumberOfEntres
Total number of pages available. |
Constructor Summary | |
ValueListInfo()
|
|
ValueListInfo(java.util.Map filters)
Creates a new ValueListInfo that contains filter information. |
|
ValueListInfo(java.lang.String primaryColumn,
java.lang.Integer primaryDirection,
java.util.Map filters)
Creates a new ValueListInfo that contains sorting information |
Method Summary | |
java.util.Map |
getFilters()
Getter for property filters. |
int |
getNumberPerPage()
Getter for the number of VOs per page. |
int |
getPageNumber()
Getter for the curent page to display. |
java.lang.String[] |
getSortColumn()
Returns an array of column (property) names. |
java.lang.Integer[] |
getSortDirection()
Returns an array of directions. |
int |
getSortLength()
Returns the level of sorting information available. |
int |
getTotalNumberOfEntries()
Getter for the total number VOs. |
int |
getTotalNumberOfPages()
Getter for the total number of pages. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.Integer DESCENDING
public static java.lang.Integer ASCENDING
protected java.util.Map filters
protected java.lang.String[] sortColumns
protected java.lang.Integer[] sortDirections
protected int pageNumber
protected int totalNumberOfEntres
protected int numberPerPage
Constructor Detail |
public ValueListInfo()
public ValueListInfo(java.util.Map filters)
filters
- Map of filters to applypublic ValueListInfo(java.lang.String primaryColumn, java.lang.Integer primaryDirection, java.util.Map filters)
primaryColumn
- The column to sort byprimaryDirection
- The direction to sort the ValueList
byMethod Detail |
public java.util.Map getFilters()
public java.lang.String[] getSortColumn()
public java.lang.Integer[] getSortDirection()
public int getSortLength()
public int getPageNumber()
public int getTotalNumberOfPages()
public int getTotalNumberOfEntries()
public int getNumberPerPage()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |