Class WsApiServiceImpl

java.lang.Object
org.lockss.spring.base.BaseSpringApiServiceImpl
org.lockss.laaws.config.impl.WsApiServiceImpl
All Implemented Interfaces:
WsApiDelegate

@Service public class WsApiServiceImpl extends BaseSpringApiServiceImpl implements WsApiDelegate
  • Constructor Details

    • WsApiServiceImpl

      public WsApiServiceImpl()
  • Method Details

    • postAus

      public org.springframework.http.ResponseEntity postAus(List<String> auIds)
      Configures the archival units defined by a list of their identifiers.
      Specified by:
      postAus in interface WsApiDelegate
      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 ResponseEntity<List<ContentConfigurationResult>> with the results of the operation.
      See Also:
    • putAusDeactivate

      public org.springframework.http.ResponseEntity putAusDeactivate(List<String> auIds)
      Deactivates the archival units defined by a list with their identifiers.
      Specified by:
      putAusDeactivate in interface WsApiDelegate
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      Returns:
      a ResponseEntity<List<ContentConfigurationResult>> with the results of the operation.
      See Also:
    • putAusReactivate

      public org.springframework.http.ResponseEntity putAusReactivate(List<String> auIds)
      Reactivates the archival units defined by a list with their identifiers.
      Specified by:
      putAusReactivate in interface WsApiDelegate
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      Returns:
      a ResponseEntity<List<ContentConfigurationResult>> with the results of the operation.
      See Also:
    • deleteAusDelete

      public org.springframework.http.ResponseEntity deleteAusDelete(List<String> auIds)
      Unconfigures the archival units defined by a list with their identifiers.
      Specified by:
      deleteAusDelete in interface WsApiDelegate
      Parameters:
      auIds - A List<String> with the identifiers (auids) of the archival units.
      Returns:
      a ResponseEntity<List<ContentConfigurationResult>> with the results of the operation.
      See Also:
    • getAuqueries

      public org.springframework.http.ResponseEntity getAuqueries(String auQuery)
      Provides the selected properties of selected archival units.
      Specified by:
      getAuqueries in interface WsApiDelegate
      Parameters:
      auQuery - A String with the SQL-like query used to specify what properties to retrieve from which archival units.
      Returns:
      a ResponseEntity<List<AuWsResult>> with the results.
      See Also:
    • getPlugins

      public org.springframework.http.ResponseEntity getPlugins(String pluginQuery)
      Provides the selected properties of selected plugins.
      Specified by:
      getPlugins in interface WsApiDelegate
      Parameters:
      pluginQuery - A String with the SQL-like query used to specify what properties to retrieve from which plugins.
      Returns:
      a ResponseEntity<List<PluginWsResult>> with the results.
      See Also:
    • getTdbAus

      public org.springframework.http.ResponseEntity getTdbAus(String tdbAuQuery)
      Provides the selected properties of selected title database archival units.
      Specified by:
      getTdbAus in interface WsApiDelegate
      Parameters:
      tdbAuQuery - A String with the SQL-like query used to specify what properties to retrieve from which title database archival units.
      Returns:
      a ResponseEntity<List<TdbAuWsResult>> with the results.
      See Also:
    • getTdbPublishers

      public org.springframework.http.ResponseEntity getTdbPublishers(String tdbPublisherQuery)
      Provides the selected properties of selected title database publishers.
      Specified by:
      getTdbPublishers in interface WsApiDelegate
      Parameters:
      tdbPublisherQuery - A String with the SQL-like query used to specify what properties to retrieve from which title database publishers.
      Returns:
      a List<TdbPublisherWsResult> with the results.
      See Also:
    • getTdbTitles

      public org.springframework.http.ResponseEntity getTdbTitles(String tdbTitleQuery)
      Provides the selected properties of selected title database titles.
      Specified by:
      getTdbTitles in interface WsApiDelegate
      Parameters:
      tdbTitleQuery - A String with the SQL-like query used to specify what properties to retrieve from which title database titles.
      Returns:
      a ResponseEntity<List<TdbTitleWsResult>> with the results.
      See Also: