@Component(value="gadgetService") public class GadgetServiceHibernateImpl extends nl.surfnet.coin.shared.service.GenericServiceHibernateImpl<Gadget> implements GadgetService
| Constructor and Description |
|---|
GadgetServiceHibernateImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearFirstSpot(Tab tab)
Increase the order of all gadgets of one specific tab with one
|
List |
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
|
createCriteria, delete, detachFromSession, findAll, findByCriteria, findByCriteriaOrdered, findByExample, findByExample, findById, getCount, getPersistentClass, getSession, saveOrUpdate, saveOrUpdatepublic int getCountByTab(Tab tab)
GadgetServicegetCountByTab in interface GadgetServicetab - tab where gadgets reside onpublic int getCountByTabColumn(Tab tab, int column)
GadgetServicegetCountByTabColumn in interface GadgetServicetab - tab where gadgets reside oncolumn - column where gadget resides onpublic List getByTabColumn(Tab tab, int column)
GadgetServicegetByTabColumn in interface GadgetServicetab - tab where gadgets reside oncolumn - column where gadget resides onpublic boolean reorderGadgets(String[] column1, String[] column2, Tab tab)
GadgetServicereorderGadgets in interface GadgetServicecolumn1 - new order for column 1column2 - new order for column 2tab - tab where gadgets reside onpublic void clearFirstSpot(Tab tab)
GadgetServiceclearFirstSpot in interface GadgetServicetab - the tabCopyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.