@Service public class ArchivesApiServiceImpl extends BaseSpringApiServiceImpl implements ArchivesApiDelegate
BaseSpringApiServiceImpl.MapMessageListenerDEFAULT_CONFIG_WAIT_TIME, DEFAULT_READY_WAIT_TIME, JMS_BOTH, JMS_RECEIVE, JMS_SEND, jmsConsumer, jmsProducer, PARAM_CONFIG_WAIT_TIME, PARAM_READY_WAIT_TIME| 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)
Controller for
POST /archives. |
configMgrCreated, getClassName, getConfigWaitTime, getJMSManager, getPluginManager, getReadyWaitTime, getRunningLockssDaemon, 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)
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.ArchivesApi.addArtifacts(java.lang.String, org.springframework.web.multipart.MultipartFile, java.lang.String)Copyright © 2000–2023 LOCKSS Program. All rights reserved.