Uses of Class
com.logicaldoc.enterprise.reading.ReadingRequest
Package
Description
Package that collects the machinery to handle document reading confirmations.
-
Uses of ReadingRequest in com.logicaldoc.enterprise.reading
Modifier and TypeMethodDescriptionHibernateReadingRequestDAO.confirmReading
(long readingId, String version, com.logicaldoc.core.document.DocumentHistory history) ReadingRequestDAO.confirmReading
(long readingId, String version, com.logicaldoc.core.document.DocumentHistory transaction) Updates the document's rating with the votes averageHibernateReadingRequestDAO.findByAlternateKey
(long docId, long userId, long requestorId, String fileVersion) ReadingRequestDAO.findByAlternateKey
(long docId, long userId, long requestorId, String fileVersion) Finds the readings for the alternate key: docId + userId + requestorId + fileVersionHibernateReadingRequestDAO.findLastUnconfirmed
(long docId, long userId) ReadingRequestDAO.findLastUnconfirmed
(long docId, long userId) Finds the last unconfirmed reading for the given user id and the given document idModifier and TypeMethodDescriptionHibernateReadingRequestDAO.findByDocId
(long docId) ReadingRequestDAO.findByDocId
(long docId) Finds the readings stored for the given document idHibernateReadingRequestDAO.findByDocIdAndFileVersion
(long docId, String fileVersion) ReadingRequestDAO.findByDocIdAndFileVersion
(long docId, String fileVersion) Finds the readings for the given fileVersion and the given document idHibernateReadingRequestDAO.findByDocIdAndUserId
(long docId, long userId) ReadingRequestDAO.findByDocIdAndUserId
(long docId, long userId) Finds the readings for the given user id and the given document idHibernateReadingRequestDAO.findUnconfirmedByUserId
(long userId) ReadingRequestDAO.findUnconfirmedByUserId
(long userId) Finds all the unconfirmed readings of a user document idModifier and TypeMethodDescriptionvoid
HibernateReadingRequestDAO.store
(ReadingRequest reading, com.logicaldoc.core.document.DocumentHistory transaction) void
ReadingRequestDAO.store
(ReadingRequest reading, com.logicaldoc.core.document.DocumentHistory transaction) Stores a reading and saves the document's historyModifier and TypeMethodDescriptionvoid
HibernateReadingRequestDAO.notifyReadingRequests
(Collection<ReadingRequest> readings, com.logicaldoc.core.document.DocumentHistory transaction) void
ReadingRequestDAO.notifyReadingRequests
(Collection<ReadingRequest> readings, com.logicaldoc.core.document.DocumentHistory transaction) Notifies the reading confirmation requests.