|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.shared.service.GenericServiceHibernateImpl<Gadget>
nl.surfnet.coin.portal.service.impl.GadgetServiceHibernateImpl
@Component(value="gadgetService") public class GadgetServiceHibernateImpl
| Constructor Summary | |
|---|---|
GadgetServiceHibernateImpl()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class nl.surfnet.coin.shared.service.GenericServiceHibernateImpl |
|---|
createCriteria, delete, detachFromSession, findAll, findByCriteria, findByCriteriaOrdered, findByExample, findByExample, findById, getCount, getPersistentClass, getSession, saveOrUpdate, saveOrUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nl.surfnet.coin.shared.service.GenericService |
|---|
createCriteria, delete, detachFromSession, findAll, findByExample, findByExample, findById, getCount, getPersistentClass, saveOrUpdate, saveOrUpdate |
| Constructor Detail |
|---|
public GadgetServiceHibernateImpl()
| Method Detail |
|---|
public int getCountByTab(Tab tab)
GadgetService
getCountByTab in interface GadgetServicetab - tab where gadgets reside on
public int getCountByTabColumn(Tab tab,
int column)
GadgetService
getCountByTabColumn in interface GadgetServicetab - tab where gadgets reside oncolumn - column where gadget resides on
public List getByTabColumn(Tab tab,
int column)
GadgetService
getByTabColumn in interface GadgetServicetab - tab where gadgets reside oncolumn - column where gadget resides on
public boolean reorderGadgets(String[] column1,
String[] column2,
Tab tab)
GadgetService
reorderGadgets in interface GadgetServicecolumn1 - new order for column 1column2 - new order for column 2tab - tab where gadgets reside on
public void clearFirstSpot(Tab tab)
GadgetService
clearFirstSpot in interface GadgetServicetab - the tab
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||