Class UserStopwordStore

java.lang.Object
io.dropwizard.hibernate.AbstractDAO<UserStopword>
org.ctan.site.stores.base.AbstractStore<UserStopword>
org.ctan.site.stores.UserStopwordStore

public class UserStopwordStore extends AbstractStore<UserStopword>
The class UserStopwordStore contains the repository for user stop words.
  • Constructor Summary

    Constructors
    Constructor
    Description
    UserStopwordStore(org.hibernate.SessionFactory sessionFactory)
    This is the constructor for the UserStopwordStore.
  • Method Summary

    Modifier and Type
    Method
    Description
    The method getByStopword provides means to find an user stop word by its value.
    protected jakarta.persistence.criteria.Root<UserStopword>
    listQuery(String term, jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.CriteriaQuery<UserStopword> query)
    The method listQuery provides means to construct a query for the list of entities for a search.
    protected List<Map<String,Object>>
    The method map provides means to format a list for external use.
    boolean
    set(long id, String value)
    The method set provides means to set a stop word to a new value.

    Methods inherited from class org.ctan.site.stores.base.AbstractStore

    getById, list, remove, remove, remove, save

    Methods inherited from class io.dropwizard.hibernate.AbstractDAO

    criteriaQuery, currentSession, get, getEntityClass, initialize, list, list, namedQuery, namedTypedQuery, persist, query, uniqueResult, uniqueResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserStopwordStore

      public UserStopwordStore(org.hibernate.SessionFactory sessionFactory)
      This is the constructor for the UserStopwordStore.
      Parameters:
      sessionFactory - the session factory
  • Method Details