@Service public class AusApiServiceImpl extends BaseSpringApiServiceImpl implements AusApiDelegate
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 |
|---|
AusApiServiceImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.servlet.http.HttpServletRequest request)
Constructor for autowiring.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
getExportFiles(String auid,
String fileType,
Boolean isCompress,
Boolean isExcludeDirNodes,
String xlateFilenames,
String filePrefix,
Long maxSize,
Integer maxVersions)
GET /aus/{auid}/export: Export the Archival Unit artifacts as a group of
archives.
|
Optional<com.fasterxml.jackson.databind.ObjectMapper> |
getObjectMapper() |
Optional<javax.servlet.http.HttpServletRequest> |
getRequest() |
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@Autowired
public AusApiServiceImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.servlet.http.HttpServletRequest request)
objectMapper - An ObjectMapper for JSON processing.request - An HttpServletRequest with the HTTP request.public org.springframework.http.ResponseEntity getExportFiles(String auid, String fileType, Boolean isCompress, Boolean isExcludeDirNodes, String xlateFilenames, String filePrefix, Long maxSize, Integer maxVersions)
getExportFiles in interface AusApiDelegateauid - A String with the Archival Unit ID (AUID).fileType - A String with the type of archive to create.isCompress - A Boolean with the indication of whether contents
should be compressed.isExcludeDirNodes - A Boolean with the indication of whether
directories should be excluded.xlateFilenames - A String with the type of filename translation to
be done.filePrefix - A String with the prefix to be used to name the
exported file.maxSize - A Long with the maximum size in MB of the exported
file.maxVersions - An Integer with the maximum number of versions of
an artifact to be exported.ResponseEntity<MultiValueMap<String, Object>> with the
archives containing the Archival Unit artifacts.AusApi.getExportFiles(java.lang.String, java.lang.String, java.lang.Boolean, java.lang.Boolean, java.lang.String, java.lang.String, java.lang.Long, java.lang.Integer)public Optional<com.fasterxml.jackson.databind.ObjectMapper> getObjectMapper()
getObjectMapper in interface AusApiDelegatepublic Optional<javax.servlet.http.HttpServletRequest> getRequest()
getRequest in interface AusApiDelegateCopyright © 2000–2023 LOCKSS Program. All rights reserved.