Class InstallDataStore

java.lang.Object
io.dropwizard.hibernate.AbstractDAO<InstallData>
org.ctan.site.stores.InstallDataStore

public class InstallDataStore extends io.dropwizard.hibernate.AbstractDAO<InstallData>
The class InstallDataStore contains the repository for install data. The underlying table is filled from an external program. Thus the site will only read the data.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    This is the constructor for InstallPage.
    static class 
    The class InstallTo contains the transport object for the install data.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    The method findAllByPkg provides means to find all install entries for a pkg.

    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

    • InstallDataStore

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

    • findAllByPkg

      public List<InstallData> findAllByPkg(String pkg)
      The method findAllByPkg provides means to find all install entries for a pkg.
      Parameters:
      pkg - the package key
      Returns:
      the list of entries in ascending order