Interface ReadingRequestService
- All Known Implementing Classes:
RestReadingRequestService
,SoapReadingRequestClient
,SoapReadingRequestService
public interface ReadingRequestService
Web Service for handling reading requests
- Since:
- 8.9.1
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionvoid
askReadingConfirmation
(String sid, Long[] docIds, Long[] userIds, Long[] groupIds, boolean alertConfirmation, String comment) Asks some users to confirm the reading of a set of documentsvoid
confirmReading
(String sid, long readingId, String version) Confirms a reading requestGets the list of all the unconfirmed readings requested to the current user
-
Method Details
-
askReadingConfirmation
void askReadingConfirmation(String sid, Long[] docIds, Long[] userIds, Long[] groupIds, boolean alertConfirmation, String comment) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException Asks some users to confirm the reading of a set of documents- Parameters:
sid
- Session identifierdocIds
- identifiers of the documentsuserIds
- identifiers of the recipient usersgroupIds
- identifiers of the recipient groupsalertConfirmation
- if the requestor must be notified on reading confirmationcomment
- an optional message to include in the notification- Throws:
IOException
- I/O errorcom.logicaldoc.core.PersistenceException
- Error in the database layercom.logicaldoc.webservice.WebserviceException
- Error in the webservice logiccom.logicaldoc.core.security.authentication.AuthenticationException
- The user was not authenticated
-
confirmReading
void confirmReading(String sid, long readingId, String version) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException Confirms a reading request- Parameters:
sid
- Session identifierreadingId
- identifier of the reading requestversion
- exact version of the document being confirmed(can be null)- Throws:
IOException
- I/O errorcom.logicaldoc.core.PersistenceException
- Error in the database layercom.logicaldoc.webservice.WebserviceException
- Error in the webservice logiccom.logicaldoc.core.security.authentication.AuthenticationException
- The user was not authenticated
-
getUnconfirmedReadings
WSReadingRequest[] getUnconfirmedReadings(String sid) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException Gets the list of all the unconfirmed readings requested to the current user- Parameters:
sid
- Session identifier- Throws:
IOException
- I/O errorcom.logicaldoc.core.PersistenceException
- Error in the database layercom.logicaldoc.webservice.WebserviceException
- Error in the webservice logiccom.logicaldoc.core.security.authentication.AuthenticationException
- The user was not authenticated
-