Package org.ctan.site.stores
Class InstallDataStore
java.lang.Object
io.dropwizard.hibernate.AbstractDAO<InstallData>
org.ctan.site.stores.InstallDataStore
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 ClassesModifier and TypeClassDescriptionstatic classThis is the constructor forInstallPage.static classThe classInstallTocontains the transport object for the install data. -
Constructor Summary
ConstructorsConstructorDescriptionInstallDataStore(org.hibernate.SessionFactory sessionFactory) This is the constructor for theInstallDataStore. -
Method Summary
Modifier and TypeMethodDescriptionfindAllByPkg(String pkg) The methodfindAllByPkgprovides 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
-
Constructor Details
-
InstallDataStore
public InstallDataStore(org.hibernate.SessionFactory sessionFactory) This is the constructor for theInstallDataStore.- Parameters:
sessionFactory- the session factory
-
-
Method Details
-
findAllByPkg
The methodfindAllByPkgprovides means to find all install entries for a pkg.- Parameters:
pkg- the package key- Returns:
- the list of entries in ascending order
-