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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
askReadingConfirmation
(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 documentsvoid
confirmReading
(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.AbstractService
convertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
-
Constructor Details
-
SoapReadingRequestService
public SoapReadingRequestService()
-
-
Method Details
-
askReadingConfirmation
public 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:ReadingRequestService
Asks some users to confirm the reading of a set of documents- Specified by:
askReadingConfirmation
in interfaceReadingRequestService
- 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:
com.logicaldoc.core.security.authentication.AuthenticationException
- The user was not authenticatedcom.logicaldoc.webservice.WebserviceException
- Error in the webservice logiccom.logicaldoc.core.PersistenceException
- Error in the database layerIOException
- I/O error
-
confirmReading
public 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:ReadingRequestService
Confirms a reading request- Specified by:
confirmReading
in interfaceReadingRequestService
- Parameters:
sid
- Session identifierreadingId
- identifier of the reading requestversion
- exact version of the document being confirmed(can be null)- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException
- The user was not authenticatedcom.logicaldoc.webservice.WebserviceException
- Error in the webservice logiccom.logicaldoc.core.PersistenceException
- Error in the database layerIOException
- I/O error
-
getUnconfirmedReadings
public 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:ReadingRequestService
Gets the list of all the unconfirmed readings requested to the current user- Specified by:
getUnconfirmedReadings
in interfaceReadingRequestService
- Parameters:
sid
- Session identifier- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException
- The user was not authenticatedcom.logicaldoc.webservice.WebserviceException
- Error in the webservice logiccom.logicaldoc.core.PersistenceException
- Error in the database layerIOException
- I/O error
-