@Service public class ArchivesApiServiceImpl extends org.lockss.spring.base.BaseSpringApiServiceImpl implements ArchivesApiDelegate
| Constructor and Description |
|---|
ArchivesApiServiceImpl(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> |
addArtifacts(String auId,
org.springframework.web.multipart.MultipartFile archive,
String namespace,
Boolean storeDuplicate,
String excludeStatusPattern)
Controller for
POST /archives. |
protected void |
sendCacheInvalidateAu(org.lockss.util.rest.repo.util.ArtifactCache.InvalidateOp op,
String auid) |
configMgrCreated, getClassName, getConfigWaitTime, getJMSManager, getPluginManager, getReadyWaitTime, getRunningLockssDaemon, getStateManager, getWaitTime, jmsSetUpDone, jsonResponse, receiveMessage, registerConfigCallback, setUpJms, setUpJms, setUpJms, stopJms, stringResponse, waitConfig, waitConfig, waitReady, waitReadyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceptHeader, getObjectMapper, getRequest@Autowired public ArchivesApiServiceImpl(javax.servlet.http.HttpServletRequest request)
public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> addArtifacts(String auId, org.springframework.web.multipart.MultipartFile archive, String namespace, Boolean storeDuplicate, String excludeStatusPattern)
POST /archives.
Imports the artifacts from an archive into this LOCKSS Repository Service.
addArtifacts in interface ArchivesApiDelegateauId - A String containing the AUID of the artifacts.archive - A MultipartFile containing the archive.namespace - A String containing the namespace of the artifacts.storeDuplicate - A Boolean indicating whether artifacts whose content is identical to the previous version should be storedexcludeStatusPattern - A String containing a regexp. WARC records whose HTTP response status code matches will not be added to the repositoryArchivesApi.addArtifacts(java.lang.String, org.springframework.web.multipart.MultipartFile, java.lang.String, java.lang.Boolean, java.lang.String)protected void sendCacheInvalidateAu(org.lockss.util.rest.repo.util.ArtifactCache.InvalidateOp op,
String auid)
Copyright © 2000–2023 LOCKSS Program. All rights reserved.