Class MessageStore

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

public class MessageStore extends AbstractStore<Message>
The class MessageStore contains the repository for system messages.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    The method findAllCurent provides means to retrieve the currently valid messages.
    protected jakarta.persistence.criteria.Root<Message>
    listQuery(String term, jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.CriteriaQuery<Message> query)
    The method listQuery provides means to construct a query for the list of entities for a search.
    protected List<Map<String,Object>>
    map(List<Message> list)
    The method map provides means to format a list for external use.

    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