Class AuControlServiceImpl

All Implemented Interfaces:
LockssConfigurableService, AuControlService

@Service public class AuControlServiceImpl extends BaseServiceImpl implements AuControlService
The AU Control SOAP web service implementation.
  • Constructor Details

    • AuControlServiceImpl

      public AuControlServiceImpl()
  • Method Details

    • checkSubstanceById

      public org.lockss.ws.entities.CheckSubstanceResult checkSubstanceById(String auId) throws org.lockss.ws.entities.LockssWebServicesFault
      Provides an indication of whether an Archival Unit has substance.
      Specified by:
      checkSubstanceById in interface AuControlService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      Returns:
      a CheckSubstanceResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • checkSubstanceByIdList

      public List<org.lockss.ws.entities.CheckSubstanceResult> checkSubstanceByIdList(List<String> auIds) throws org.lockss.ws.entities.LockssWebServicesFault
      Provides an indication of whether the archival units defined by a list with their identifiers have substance.
      Specified by:
      checkSubstanceByIdList in interface AuControlService
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      Returns:
      a List<CheckSubstanceResult> with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • requestCrawlById

      public org.lockss.ws.entities.RequestCrawlResult requestCrawlById(String auId, Integer priority, boolean force) throws org.lockss.ws.entities.LockssWebServicesFault
      Requests the crawl of an archival unit.
      Specified by:
      requestCrawlById in interface AuControlService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      priority - An Integer with the priority of the crawl request.
      force - A boolean with true if the request is to be made even in the presence of some anomalies, false otherwise.
      Returns:
      a RequestCrawlResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • requestCrawlByIdList

      public List<org.lockss.ws.entities.RequestCrawlResult> requestCrawlByIdList(List<String> auIds, Integer priority, boolean force) throws org.lockss.ws.entities.LockssWebServicesFault
      Requests the crawl of the archival units defined by a list with their identifiers.
      Specified by:
      requestCrawlByIdList in interface AuControlService
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      priority - An Integer with the priority of the crawl request.
      force - A boolean with true if the request is to be made even in the presence of some anomalies, false otherwise.
      Returns:
      a List<RequestCrawlResult> with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • requestDeepCrawlById

      public org.lockss.ws.entities.RequestDeepCrawlResult requestDeepCrawlById(String auId, int refetchDepth, Integer priority, boolean force) throws org.lockss.ws.entities.LockssWebServicesFault
      Requests the deep crawl of an archival unit.
      Specified by:
      requestDeepCrawlById in interface AuControlService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      refetchDepth - An int with the depth of the crawl request.
      priority - An Integer with the priority of the crawl request.
      force - A boolean with true if the request is to be made even in the presence of some anomalies, false otherwise.
      Returns:
      a RequestDeepCrawlResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • requestDeepCrawlByIdList

      public List<org.lockss.ws.entities.RequestDeepCrawlResult> requestDeepCrawlByIdList(List<String> auIds, int refetchDepth, Integer priority, boolean force) throws org.lockss.ws.entities.LockssWebServicesFault
      Requests the deep crawl of the archival units defined by a list with their identifiers.
      Specified by:
      requestDeepCrawlByIdList in interface AuControlService
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      refetchDepth - An int with the depth of the crawl request.
      priority - An Integer with the priority of the crawl request.
      force - A boolean with true if the request is to be made even in the presence of some anomalies, false otherwise.
      Returns:
      a List<RequestDeepCrawlResult> with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • requestPollById

      public org.lockss.ws.entities.RequestAuControlResult requestPollById(String auId) throws org.lockss.ws.entities.LockssWebServicesFault
      Requests the polling of an archival unit.
      Specified by:
      requestPollById in interface AuControlService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      Returns:
      a RequestPollResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • requestPollByIdList

      public List<org.lockss.ws.entities.RequestAuControlResult> requestPollByIdList(List<String> auIds) throws org.lockss.ws.entities.LockssWebServicesFault
      Requests the polling of the archival units defined by a list with their identifiers.
      Specified by:
      requestPollByIdList in interface AuControlService
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      Returns:
      a List<RequestPollResult> with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • requestMdIndexingById

      public org.lockss.ws.entities.RequestAuControlResult requestMdIndexingById(String auId, boolean force) throws org.lockss.ws.entities.LockssWebServicesFault
      Requests the metadata indexing of an archival unit.
      Specified by:
      requestMdIndexingById in interface AuControlService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      force - A boolean with true if the request is to be made even in the presence of some anomalies, false otherwise.
      Returns:
      a RequestAuControlResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • requestMdIndexingByIdList

      public List<org.lockss.ws.entities.RequestAuControlResult> requestMdIndexingByIdList(List<String> auIds, boolean force) throws org.lockss.ws.entities.LockssWebServicesFault
      Requests the metadata indexing of the archival units defined by a list with their identifiers.
      Specified by:
      requestMdIndexingByIdList in interface AuControlService
      Parameters:
      auIds - A List with the identifiers (auids) of the archival units.
      force - A boolean with true if the request is to be made even in the presence of some anomalies, false otherwise.
      Returns:
      a List with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • disableMdIndexingById

      public org.lockss.ws.entities.RequestAuControlResult disableMdIndexingById(String auId) throws org.lockss.ws.entities.LockssWebServicesFault
      Disables the metadata indexing of an archival unit.
      Specified by:
      disableMdIndexingById in interface AuControlService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      Returns:
      a RequestAuControlResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • disableMdIndexingByIdList

      public List<org.lockss.ws.entities.RequestAuControlResult> disableMdIndexingByIdList(List<String> auIds) throws org.lockss.ws.entities.LockssWebServicesFault
      Disables the metadata indexing of the archival units defined by a list with their identifiers.
      Specified by:
      disableMdIndexingByIdList in interface AuControlService
      Parameters:
      auIds - A List with the identifiers (auids) of the archival units.
      Returns:
      a List with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • enableMdIndexingById

      public org.lockss.ws.entities.RequestAuControlResult enableMdIndexingById(String auId) throws org.lockss.ws.entities.LockssWebServicesFault
      Enables the metadata indexing of an archival unit.
      Specified by:
      enableMdIndexingById in interface AuControlService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      Returns:
      a RequestAuControlResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • enableMdIndexingByIdList

      public List<org.lockss.ws.entities.RequestAuControlResult> enableMdIndexingByIdList(List<String> auIds) throws org.lockss.ws.entities.LockssWebServicesFault
      Enables the metadata indexing of the archival units defined by a list with their identifiers.
      Specified by:
      enableMdIndexingByIdList in interface AuControlService
      Parameters:
      auIds - A List with the identifiers (auids) of the archival units.
      Returns:
      a List with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.