Package org.lockss.ws.importer
Class ImportServiceImpl
java.lang.Object
org.lockss.spring.base.BaseSpringApiServiceImpl
org.lockss.ws.BaseServiceImpl
org.lockss.ws.importer.ImportServiceImpl
- All Implemented Interfaces:
LockssConfigurableService,ImportService
The Import SOAP web service implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.lockss.spring.base.BaseSpringApiServiceImpl
BaseSpringApiServiceImpl.MapMessageListener -
Field Summary
Fields inherited from class org.lockss.ws.BaseServiceImpl
connectionTimeout, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT, DEFAULT_REPO_NAMESPACE, PARAM_CONNECTION_TIMEOUT, PARAM_READ_TIMEOUT, PARAM_REPO_NAMESPACE, PREFIX, readTimeout, repoNamespace, restTemplateFields inherited from class org.lockss.spring.base.BaseSpringApiServiceImpl
DEFAULT_CONFIG_WAIT_TIME, DEFAULT_READY_WAIT_TIME, JMS_BOTH, JMS_RECEIVE, JMS_SEND, jmsConsumer, jmsProducer, PARAM_CONFIG_WAIT_TIME, PARAM_READY_WAIT_TIME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Provides the names of the supported checksum algorithms.org.lockss.ws.entities.ImportWsResultimportPulledFile(org.lockss.ws.entities.ImportWsParams importParams) Imports a pulled file into an archival unit.org.lockss.ws.entities.ImportWsResultimportPushedFile(org.lockss.ws.entities.ImportWsParams importParams) Imports a pushed file into an archival unit.Methods inherited from class org.lockss.ws.BaseServiceImpl
callRestServiceEndpoint, callRestServiceUri, callRestServiceUri, getAuthHeaders, getConnectionTimeout, getMultipartResponse, getReadTimeout, getRequestorIpAddress, getRestLockssRepository, getServiceBinding, getServiceEndpoint, getSoapRequestAuthorizationHeader, getSoapRequestCredentials, separatedString, setConfigMethods inherited from class org.lockss.spring.base.BaseSpringApiServiceImpl
configMgrCreated, getClassName, getConfigWaitTime, getJMSManager, getPluginManager, getReadyWaitTime, getRunningLockssDaemon, getStateManager, getWaitTime, jmsSetUpDone, jsonResponse, receiveMessage, registerConfigCallback, setUpJms, setUpJms, setUpJms, stopJms, stringResponse, waitConfig, waitConfig, waitReady, waitReady
-
Constructor Details
-
ImportServiceImpl
public ImportServiceImpl()
-
-
Method Details
-
importPulledFile
public org.lockss.ws.entities.ImportWsResult importPulledFile(org.lockss.ws.entities.ImportWsParams importParams) throws org.lockss.ws.entities.LockssWebServicesFault Imports a pulled file into an archival unit.- Specified by:
importPulledFilein interfaceImportService- Parameters:
importParams- An ImportWsParams with the parameters of the importing operation.- Returns:
- an ImportWsResult with the result of the operation.
- Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
importPushedFile
public org.lockss.ws.entities.ImportWsResult importPushedFile(org.lockss.ws.entities.ImportWsParams importParams) throws org.lockss.ws.entities.LockssWebServicesFault Imports a pushed file into an archival unit.- Specified by:
importPushedFilein interfaceImportService- Parameters:
importParams- An ImportWsParams with the parameters of the importing operation.- Returns:
- an ImportWsResult with the result of the operation.
- Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-
getSupportedChecksumAlgorithms
public String[] getSupportedChecksumAlgorithms() throws org.lockss.ws.entities.LockssWebServicesFaultProvides the names of the supported checksum algorithms.- Specified by:
getSupportedChecksumAlgorithmsin interfaceImportService- Returns:
- a String[] with the names of the supported checksum algorithms.
- Throws:
org.lockss.ws.entities.LockssWebServicesFault- if there are problems.
-