Class UploadStore

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

public class UploadStore extends AbstractStore<Upload>
The class UploadStore contains the repository for votes.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    The class StringsMap contains a class for a mapping of String to Object.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    The method getStatistics provides means to retrieve statistics for the upload.
    protected jakarta.persistence.criteria.Root<Upload>
    listQuery(String term, jakarta.persistence.criteria.CriteriaBuilder cb, jakarta.persistence.criteria.CriteriaQuery<Upload> 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<Upload> 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