|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.mlw.vlh.adapter.AbstractValueListAdapter
Default abstract implementation of a ValueListAdapter.
| Field Summary |
| Fields inherited from interface net.mlw.vlh.ValueListAdapter |
DO_FILTER, DO_FOCUS, DO_NOTHING, DO_PAGE, DO_SORT |
| Constructor Summary | |
AbstractValueListAdapter()
|
|
| Method Summary | |
int |
getAdapterType()
This method tells the Service what still needs to be done on the Collection before returning the data. |
int |
getDefaultNumberPerPage()
Gets the default number of entries per page. |
String |
getDefaultSortColumn()
|
Integer |
getDefaultSortDirectionInteger()
Gets the sort direction defined as the default. |
void |
setAdapterType(int adapterType)
Sets the adatper type. |
void |
setDefaultNumberPerPage(int defaultNumberPerPage)
Sets the default number of entries per page. |
void |
setDefaultSortColumn(String defaultSortColumn)
Sets the default sortColumn if none is present in the filters. |
void |
setDefaultSortDirection(String defaultSortDirection)
Sets the default sort directon is none is supplied in the Map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.mlw.vlh.ValueListAdapter |
getValueList |
| Constructor Detail |
public AbstractValueListAdapter()
| Method Detail |
public int getAdapterType()
ValueListAdapter
getAdapterType in interface ValueListAdapter
public int getAdapterType()
{
return DO_SORT | DO_PAGE;
}
ValueListAdapter.getAdapterType()public void setAdapterType(int adapterType)
ValueListAdapter.getAdapterType()public void setDefaultNumberPerPage(int defaultNumberPerPage)
defaultNumberPerPage - The default number of entries per page.public int getDefaultNumberPerPage()
public void setDefaultSortColumn(String defaultSortColumn)
defaultSortColumn - The defaultSortColumn to set.public String getDefaultSortColumn()
public void setDefaultSortDirection(String defaultSortDirection)
defaultSortDirection - The defaultSortDirection to set.public Integer getDefaultSortDirectionInteger()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||