|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.shared.service.GenericServiceHibernateImpl<GadgetDefinition>
nl.surfnet.coin.portal.service.impl.GadgetDefinitionServiceHibernateImpl
@Component(value="gadgetDefinitionService") public class GadgetDefinitionServiceHibernateImpl
| Constructor Summary | |
|---|---|
GadgetDefinitionServiceHibernateImpl()
|
|
| Method Summary | |
|---|---|
List<GadgetDefinition> |
findAllFixedTabGadgets()
Find all GadgetDefinitions that need to be added to the Fixed Tab |
List<GadgetDefinition> |
findAllPublished()
Find all GadgetDefinitions with status = published. |
List<GadgetDefinition> |
findAllPublishedExcludeCustom()
Find all GadgetDefinitions with status = published that are not added by users |
List<GadgetDefinition> |
findAllPublishedExcludeCustomOrderByPopularity(nl.surfnet.coin.shared.service.SortOrder sortOrder)
Find all GadgetDefinitions with status = published that are not added by users ordered by number of installs |
GadgetDefinition |
searchByUrl(String url)
Finds GadgetDefinition by its URL. |
List<GadgetDefinition> |
searchByWildCard(String query)
Find by Wild card. |
List<GadgetDefinition> |
searchByWildCardExcludeCustom(String query)
Find by Wild card. |
| 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 GadgetDefinitionServiceHibernateImpl()
| Method Detail |
|---|
public List<GadgetDefinition> searchByWildCard(String query)
GadgetDefinitionService
searchByWildCard in interface GadgetDefinitionServicequery - String with the search query
public List<GadgetDefinition> searchByWildCardExcludeCustom(String query)
GadgetDefinitionService
searchByWildCardExcludeCustom in interface GadgetDefinitionServicequery - String with the search query
public List<GadgetDefinition> findAllPublished()
GadgetDefinitionService
findAllPublished in interface GadgetDefinitionServiceGadgetDefinition'spublic List<GadgetDefinition> findAllPublishedExcludeCustom()
GadgetDefinitionService
findAllPublishedExcludeCustom in interface GadgetDefinitionServiceGadgetDefinition'spublic List<GadgetDefinition> findAllPublishedExcludeCustomOrderByPopularity(nl.surfnet.coin.shared.service.SortOrder sortOrder)
GadgetDefinitionService
findAllPublishedExcludeCustomOrderByPopularity in interface GadgetDefinitionServicesortOrder - SortOrder (ASCENDING or DESCENDING)
GadgetDefinition's, can be emptypublic GadgetDefinition searchByUrl(String url)
GadgetDefinitionServiceGadgetDefinition by its URL. The URL is unique for each GadgetDefinition.
searchByUrl in interface GadgetDefinitionServiceurl - String with the URL of the gadget definition
GadgetDefinition or null if none can be foundpublic List<GadgetDefinition> findAllFixedTabGadgets()
GadgetDefinitionService
findAllFixedTabGadgets in interface GadgetDefinitionServiceGadgetDefinition's
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||