Class SoapReadingRequestService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.enterprise.webservice.soap.endpoint.SoapReadingRequestService
- All Implemented Interfaces:
- ReadingRequestService
- Direct Known Subclasses:
- RestReadingRequestService
public class SoapReadingRequestService
extends com.logicaldoc.webservice.AbstractService
implements ReadingRequestService
Reading Request Web Service Implementation (SOAP)
- Since:
- 8.9.1
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaskReadingConfirmation(String sid, List<Long> docIds, List<Long> userIds, List<Long> groupIds, boolean alertConfirmation, String comment) Asks some users to confirm the reading of a set of documentsvoidconfirmReading(String sid, long readingId, String version) Confirms a reading requestGets the list of all the unconfirmed readings requested to the current userMethods inherited from class com.logicaldoc.webservice.AbstractServiceconvertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
- 
Constructor Details- 
SoapReadingRequestServicepublic SoapReadingRequestService()
 
- 
- 
Method Details- 
askReadingConfirmationpublic void askReadingConfirmation(String sid, List<Long> docIds, List<Long> userIds, List<Long> groupIds, boolean alertConfirmation, String comment) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException Description copied from interface:ReadingRequestServiceAsks some users to confirm the reading of a set of documents- Specified by:
- askReadingConfirmationin interface- ReadingRequestService
- Parameters:
- sid- Session identifier
- docIds- identifiers of the documents
- userIds- identifiers of the recipient users
- groupIds- identifiers of the recipient groups
- alertConfirmation- if the requestor must be notified on reading confirmation
- comment- an optional message to include in the notification
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException- The user was not authenticated
- com.logicaldoc.webservice.WebserviceException- Error in the webservice logic
- com.logicaldoc.core.PersistenceException- Error in the database layer
- IOException- I/O error
 
- 
confirmReadingpublic void confirmReading(String sid, long readingId, String version) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException Description copied from interface:ReadingRequestServiceConfirms a reading request- Specified by:
- confirmReadingin interface- ReadingRequestService
- Parameters:
- sid- Session identifier
- readingId- identifier of the reading request
- version- exact version of the document being confirmed(can be null)
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException- The user was not authenticated
- com.logicaldoc.webservice.WebserviceException- Error in the webservice logic
- com.logicaldoc.core.PersistenceException- Error in the database layer
- IOException- I/O error
 
- 
getUnconfirmedReadingspublic List<WSReadingRequest> getUnconfirmedReadings(String sid) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException Description copied from interface:ReadingRequestServiceGets the list of all the unconfirmed readings requested to the current user- Specified by:
- getUnconfirmedReadingsin interface- ReadingRequestService
- Parameters:
- sid- Session identifier
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException- The user was not authenticated
- com.logicaldoc.webservice.WebserviceException- Error in the webservice logic
- com.logicaldoc.core.PersistenceException- Error in the database layer
- IOException- I/O error
 
 
-