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 Summary
Nested Classes - 
Method Summary
Modifier 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
- 
askReadingConfirmation
void 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 documentsuserIds- identifiers of the recipientsgroupIds- identifiers of the groupsalertConfirmation- if the requestor must be notified on reading confirmationcomment- an optional message to include in the notification- Throws:
 ServerException- an error happened in the server application
 - 
confirmReadings
Confirms the read completion of a given file version- Parameters:
 readingIds- identifiers of the readings to confirm, all must refer to the same documentversion- the version- Throws:
 ServerException- an error happened in the server application
 - 
delete
Deletes a reading request.- Parameters:
 readingId- identifier of the reading request to delete- Throws:
 ServerException- an error happened in the server application
 - 
notityReadingRequest
Notifies again a reading request.- Parameters:
 readingId- identifier of the reading request to notify- Throws:
 ServerException- an error happened in the server application
 - 
getUnconfimedReadings
Retrieves all the unconfirmed readings by the current user- Returns:
 - those readings not already confirmed
 - Throws:
 ServerException- an error happened in the server application
 
 -