public interface GadgetService extends nl.surfnet.coin.shared.service.GenericService<Gadget>
Gadget| Modifier and Type | Method and Description |
|---|---|
void |
clearFirstSpot(Tab tab)
Increase the order of all gadgets of one specific tab with one
|
List<Gadget> |
getByTabColumn(Tab tab,
int column)
Get a all Gagdets on a tab for a specific column.
|
int |
getCountByTab(Tab tab)
Get a count of all Gagdets on a tab.
|
int |
getCountByTabColumn(Tab tab,
int column)
Get a count of all Gagdets on a tab.
|
boolean |
reorderGadgets(String[] column1,
String[] column2,
Tab tab)
Reorder gadgets
|
int getCountByTab(Tab tab)
tab - tab where gadgets reside onint getCountByTabColumn(Tab tab, int column)
tab - tab where gadgets reside oncolumn - column where gadget resides onList<Gadget> getByTabColumn(Tab tab, int column)
tab - tab where gadgets reside oncolumn - column where gadget resides onboolean reorderGadgets(String[] column1, String[] column2, Tab tab)
column1 - new order for column 1column2 - new order for column 2tab - tab where gadgets reside onvoid clearFirstSpot(Tab tab)
tab - the tabCopyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.