Class SoapSplitService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.split.webservice.soap.endpoint.SoapSplitService
- All Implemented Interfaces:
- SplitService
public class SoapSplitService
extends com.logicaldoc.webservice.AbstractService
implements SplitService
Implementation of the Split webservice
- Since:
- 8.4
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionsplitAllPages(String sid, long docId) Splits a PDF document, each page in a different filesplitSelection(String sid, long docId, String expression) Splits a PDF document in a selection of pagessplitUsingBarcode(String sid, long docId, String expression, int separator) Splits a PDF document using a barcode as separatorsplitUsingBlankPage(String sid, long docId, int separator) Splits a PDF document using a blank page as separatorsplitUsingText(String sid, long docId, String expression, int separator) Splits a PDF document using a text as separatorMethods inherited from class com.logicaldoc.webservice.AbstractServiceconvertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
- 
Constructor Details- 
SoapSplitServicepublic SoapSplitService()
 
- 
- 
Method Details- 
splitAllPagespublic List<Long> splitAllPages(String sid, long docId) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:SplitServiceSplits a PDF document, each page in a different file- Specified by:
- splitAllPagesin interface- SplitService
- Parameters:
- sid- identifier of the session
- docId- identifier of the document
- Returns:
- identifiers of the created segments
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticated
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
splitSelectionpublic List<Long> splitSelection(String sid, long docId, String expression) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:SplitServiceSplits a PDF document in a selection of pages- Specified by:
- splitSelectionin interface- SplitService
- Parameters:
- sid- identifier of the session
- docId- identifier of the document
- expression- the selection of pages (e.g.: 1,2,4-6,9)
- Returns:
- identifiers of the created segments
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticated
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
splitUsingBlankPagepublic List<Long> splitUsingBlankPage(String sid, long docId, int separator) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:SplitServiceSplits a PDF document using a blank page as separator- Specified by:
- splitUsingBlankPagein interface- SplitService
- Parameters:
- sid- identifier of the session
- docId- identifier of the document
- separator- how to handle the separator: 0 = skip, 1 = append to current segment, 2 = prepend to next segment
- Returns:
- identifiers of the created segments
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticated
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
splitUsingBarcodepublic List<Long> splitUsingBarcode(String sid, long docId, String expression, int separator) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:SplitServiceSplits a PDF document using a barcode as separator- Specified by:
- splitUsingBarcodein interface- SplitService
- Parameters:
- sid- identifier of the session
- docId- identifier of the document
- expression- regular expression that must be matched by the barcode's value, see- Pattern
- separator- how to handle the separator: 0 = skip, 1 = append to current segment, 2 = prepend to next segment
- Returns:
- identifiers of the created segments
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticated
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
splitUsingTextpublic List<Long> splitUsingText(String sid, long docId, String expression, int separator) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:SplitServiceSplits a PDF document using a text as separator- Specified by:
- splitUsingTextin interface- SplitService
- Parameters:
- sid- identifier of the session
- docId- identifier of the document
- expression- regular expression that must be matched by the text, see- Pattern
- separator- how to handle the separator: 0 = skip, 1 = append to current segment, 2 = prepend to next segment
- Returns:
- identifiers of the created segments
- Throws:
- com.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticated
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
 
-