Interface ReadingRequestService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("readingrequest")
public interface ReadingRequestService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Reading Service. This service allows the reading
 requests / confirmations.
- Since:
- 8.8.6
- Author:
- Marco Meschieri - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidaskReadingConfirmation(List<Long> docIds, List<Long> userIds, List<Long> groupIds, boolean alertConfirmation, String comment) Asks some users to confirm the reading of a set of documentsvoidconfirmReadings(List<Long> readingIds, String version) Confirms the read completion of a given file versionvoiddelete(long readingId) Deletes a reading request.Retrieves all the unconfirmed readings by the current uservoidnotityReadingRequest(long readingId) Notifies again a reading request.
- 
Method Details- 
askReadingConfirmationvoid askReadingConfirmation(List<Long> docIds, List<Long> userIds, List<Long> groupIds, boolean alertConfirmation, String comment) throws ServerException Asks some users to confirm the reading of a set of documents- Parameters:
- docIds- identifiers of the documents
- userIds- identifiers of the recipients
- groupIds- identifiers of the groups
- alertConfirmation- if the requestor must be notified on reading confirmation
- comment- an optional message to include in the notification
- Throws:
- ServerException- an error happened in the server application
 
- 
confirmReadingsConfirms the read completion of a given file version- Parameters:
- readingIds- identifiers of the readings to confirm, all must refer to the same document
- version- the version
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteDeletes a reading request.- Parameters:
- readingId- identifier of the reading request to delete
- Throws:
- ServerException- an error happened in the server application
 
- 
notityReadingRequestNotifies again a reading request.- Parameters:
- readingId- identifier of the reading request to notify
- Throws:
- ServerException- an error happened in the server application
 
- 
getUnconfimedReadingsRetrieves all the unconfirmed readings by the current user- Returns:
- those readings not already confirmed
- Throws:
- ServerException- an error happened in the server application
 
 
-