Class ContentConfigurationServiceImpl

All Implemented Interfaces:
LockssConfigurableService, ContentConfigurationService

@Service public class ContentConfigurationServiceImpl extends BaseServiceImpl implements ContentConfigurationService
The Content Configuration SOAP web service implementation.
  • Constructor Details

    • ContentConfigurationServiceImpl

      public ContentConfigurationServiceImpl()
  • Method Details

    • addAuById

      public org.lockss.ws.entities.ContentConfigurationResult addAuById(String auId) throws org.lockss.ws.entities.LockssWebServicesFault
      Configures the archival unit defined by its identifier.
      Specified by:
      addAuById in interface ContentConfigurationService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit. The archival unit to be added must already be in the title db that's loaded into the daemon.
      Returns:
      a ContentConfigurationResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • addAusByIdList

      public List<org.lockss.ws.entities.ContentConfigurationResult> addAusByIdList(List<String> auIds) throws org.lockss.ws.entities.LockssWebServicesFault
      Configures the archival units defined by a list of their identifiers.
      Specified by:
      addAusByIdList in interface ContentConfigurationService
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units. The archival units to be added must already be in the title db that's loaded into the daemon.
      Returns:
      a List<ContentConfigurationResult> with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • deleteAuById

      public org.lockss.ws.entities.ContentConfigurationResult deleteAuById(String auId) throws org.lockss.ws.entities.LockssWebServicesFault
      Unconfigures the archival unit defined by its identifier.
      Specified by:
      deleteAuById in interface ContentConfigurationService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      Returns:
      a ContentConfigurationResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • deleteAusByIdList

      public List<org.lockss.ws.entities.ContentConfigurationResult> deleteAusByIdList(List<String> auIds) throws org.lockss.ws.entities.LockssWebServicesFault
      Unconfigures the archival units defined by a list with their identifiers.
      Specified by:
      deleteAusByIdList in interface ContentConfigurationService
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      Returns:
      a List<ContentConfigurationResult> with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • reactivateAuById

      public org.lockss.ws.entities.ContentConfigurationResult reactivateAuById(String auId) throws org.lockss.ws.entities.LockssWebServicesFault
      Reactivates the archival unit defined by its identifier.
      Specified by:
      reactivateAuById in interface ContentConfigurationService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      Returns:
      a ContentConfigurationResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • reactivateAusByIdList

      public List<org.lockss.ws.entities.ContentConfigurationResult> reactivateAusByIdList(List<String> auIds) throws org.lockss.ws.entities.LockssWebServicesFault
      reactivates the archival units defined by a list with their identifiers.
      Specified by:
      reactivateAusByIdList in interface ContentConfigurationService
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      Returns:
      a List<ContentConfigurationResult> with the results of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • deactivateAuById

      public org.lockss.ws.entities.ContentConfigurationResult deactivateAuById(String auId) throws org.lockss.ws.entities.LockssWebServicesFault
      Deactivates the archival unit defined by its identifier.
      Specified by:
      deactivateAuById in interface ContentConfigurationService
      Parameters:
      auId - A String with the identifier (auid) of the archival unit.
      Returns:
      a ContentConfigurationResult with the result of the operation.
      Throws:
      org.lockss.ws.entities.LockssWebServicesFault - if there are problems.
    • deactivateAusByIdList

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