Class ImportServiceImpl

All Implemented Interfaces:
LockssConfigurableService, ImportService

@Service public class ImportServiceImpl extends BaseServiceImpl implements ImportService
The Import SOAP web service implementation.
  • 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:
      importPulledFile in interface ImportService
      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:
      importPushedFile in interface ImportService
      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.LockssWebServicesFault
      Provides the names of the supported checksum algorithms.
      Specified by:
      getSupportedChecksumAlgorithms in interface ImportService
      Returns:
      a String[] with the names of the supported checksum algorithms.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.