@Component(value="gadgetDefinitionService") public class GadgetDefinitionServiceHibernateImpl extends nl.surfnet.coin.shared.service.GenericServiceHibernateImpl<GadgetDefinition> implements GadgetDefinitionService
| Constructor and Description |
|---|
GadgetDefinitionServiceHibernateImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
createCriteria, delete, detachFromSession, findAll, findByCriteria, findByCriteriaOrdered, findByExample, findByExample, findById, getCount, getPersistentClass, getSession, saveOrUpdate, saveOrUpdatepublic GadgetDefinitionServiceHibernateImpl()
public List<GadgetDefinition> searchByWildCard(String query)
GadgetDefinitionServicesearchByWildCard in interface GadgetDefinitionServicequery - String with the search querypublic List<GadgetDefinition> searchByWildCardExcludeCustom(String query)
GadgetDefinitionServicesearchByWildCardExcludeCustom in interface GadgetDefinitionServicequery - String with the search querypublic List<GadgetDefinition> findAllPublished()
GadgetDefinitionServicefindAllPublished in interface GadgetDefinitionServiceGadgetDefinition'spublic List<GadgetDefinition> findAllPublishedExcludeCustom()
GadgetDefinitionServicefindAllPublishedExcludeCustom in interface GadgetDefinitionServiceGadgetDefinition'spublic List<GadgetDefinition> findAllPublishedExcludeCustomOrderByPopularity(nl.surfnet.coin.shared.service.SortOrder sortOrder)
GadgetDefinitionServicefindAllPublishedExcludeCustomOrderByPopularity 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 definitionGadgetDefinition or null if none can be foundpublic List<GadgetDefinition> findAllFixedTabGadgets()
GadgetDefinitionServicefindAllFixedTabGadgets in interface GadgetDefinitionServiceGadgetDefinition'sCopyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.