Class NoaupeersApiServiceImpl

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

@Service public class NoaupeersApiServiceImpl extends BaseSpringApiServiceImpl implements NoaupeersApiDelegate
Service for accessing Archival Unit NoAuPeerSet object.
  • Constructor Details

    • NoaupeersApiServiceImpl

      public NoaupeersApiServiceImpl()
  • Method Details

    • getNoAuPeers

      public org.springframework.http.ResponseEntity<String> getNoAuPeers(String auid)
      Provides the NoAuPeerSet object of an AU given the AU identifier.
      Specified by:
      getNoAuPeers in interface NoaupeersApiDelegate
      Parameters:
      auid - A String with the AU identifier.
      Returns:
      a ResponseEntity<String> with the Archival Unit NoAuPeerSet object if successful, or a ResponseEntity<String> with the error information otherwise.
      See Also:
    • putNoAuPeers

      public org.springframework.http.ResponseEntity putNoAuPeers(String auid, String noAuPeerSet, String xLockssRequestCookie)
      Updates the NoAuPeerSet object of an Archival Unit with the provided values.
      Specified by:
      putNoAuPeers in interface NoaupeersApiDelegate
      Parameters:
      auid - A String with the AU identifier.
      noAuPeerSet - A String with the Archival Unit NoAuPeerSet object changes.
      xLockssRequestCookie - A String with "X-Lockss-Request-Cookie" request header.
      Returns:
      a ResponseEntity<Void> if successful, or a ResponseEntity<String> with the error information otherwise.
      See Also: