Package org.ctan.site.stores
Class TexArchiveNotesStore
java.lang.Object
io.dropwizard.hibernate.AbstractDAO<TexArchiveNotes>
The class 
TexArchiveFileInfoStore contains the repository for
 infos.- 
Constructor SummaryConstructorsConstructorDescriptionTexArchiveNotesStore(org.hibernate.SessionFactory sessionFactory) This is the constructor for theAuthorStore.
- 
Method SummaryModifier and TypeMethodDescriptionThe methodgetByPathprovides means to find an info by its path.protected jakarta.persistence.criteria.Root<TexArchiveNotes> listQuery(String term, jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.CriteriaQuery<TexArchiveNotes> query) The methodlistQueryprovides means to construct a query for the list of entities for a search.map(List<TexArchiveNotes> list) The methodmapprovides means to format a list for external use.Methods inherited from class org.ctan.site.stores.base.AbstractStoregetById, list, remove, remove, remove, saveMethods inherited from class io.dropwizard.hibernate.AbstractDAOcriteriaQuery, currentSession, get, getEntityClass, initialize, list, list, namedQuery, namedTypedQuery, persist, query, uniqueResult, uniqueResult
- 
Constructor Details- 
TexArchiveNotesStorepublic TexArchiveNotesStore(org.hibernate.SessionFactory sessionFactory) This is the constructor for theAuthorStore.- Parameters:
- sessionFactory- the session factory
 
 
- 
- 
Method Details- 
getByPathThe methodgetByPathprovides means to find an info by its path.- Parameters:
- path- the CTAN path
- Returns:
- a file info
 
- 
listQueryprotected jakarta.persistence.criteria.Root<TexArchiveNotes> listQuery(String term, jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.CriteriaQuery<TexArchiveNotes> query) The methodlistQueryprovides means to construct a query for the list of entities for a search.- Specified by:
- listQueryin class- AbstractStore<TexArchiveNotes>
- Parameters:
- term- the search term
- cb- the criteria builder
- query- the query
- Returns:
- the root
- See Also:
 
- 
mapThe methodmapprovides means to format a list for external use.- Specified by:
- mapin class- AbstractStore<TexArchiveNotes>
- Parameters:
- list- the list of entries
- Returns:
- the formatted list
- See Also:
 
 
-