|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.harvester.webinterface.HarvestStatusRunningTablesSort
public class HarvestStatusRunningTablesSort
class used to manage the sort of tables in the harvest status running screen
Nested Class Summary | |
---|---|
static class |
HarvestStatusRunningTablesSort.ColumnId
list of the column id. |
Constructor Summary | |
---|---|
HarvestStatusRunningTablesSort()
Constructor. |
Method Summary | |
---|---|
HarvestStatusRunningTablesSort.ColumnId |
getColumnIdByHash(int columnIdInt)
return the ColumnId corresponding to the hash code. |
HarvestStatusRunningTablesSort.ColumnId |
getSortedColumnIdentByHarvestName(java.lang.String harvestName)
return the ColumnId of the sorted table. |
TableSort.SortOrder |
getSortOrderByHarvestName(java.lang.String harvestName)
return the SortOrder of the sorted table. |
void |
sort(java.lang.String harvestName,
HarvestStatusRunningTablesSort.ColumnId column)
effect of a click on a column. |
void |
sortByHarvestName(java.lang.String harvestName,
int column)
effect of a click on a column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HarvestStatusRunningTablesSort()
Method Detail |
---|
public final HarvestStatusRunningTablesSort.ColumnId getColumnIdByHash(int columnIdInt)
columnIdInt
- the hash code
public final HarvestStatusRunningTablesSort.ColumnId getSortedColumnIdentByHarvestName(java.lang.String harvestName)
harvestName
- the harvest name
public final TableSort.SortOrder getSortOrderByHarvestName(java.lang.String harvestName)
harvestName
- the harvest name
public final void sort(java.lang.String harvestName, HarvestStatusRunningTablesSort.ColumnId column)
harvestName
- the harvest namecolumn
- ColumnId of the clicked columnpublic final void sortByHarvestName(java.lang.String harvestName, int column)
harvestName
- the harvest namecolumn
- hashcode of the ColumnId of the clicked column
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |