Package org.lockss.laaws.rs.api
Interface ArtifactsApiDelegate
- All Known Implementing Classes:
ArtifactsApiServiceImpl
public interface ArtifactsApiDelegate
A delegate to be called by the
ArtifactsApiController}.
Implement this interface with a Service annotated class.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault org.springframework.http.ResponseEntity<Artifact>createArtifact(String artifactProps, org.springframework.web.multipart.MultipartFile payload, String httpResponseHeader) default org.springframework.http.ResponseEntity<Void>deleteArtifact(String uuid, String namespace) default org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>getArtifactDataByMultipart(String uuid, String namespace, String includeContent) default org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>getArtifactDataByPayload(String uuid, String namespace, String includeContent) default org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>getArtifactDataByResponse(String uuid, String namespace, String includeContent) default org.springframework.http.ResponseEntity<ArtifactPageInfo>getArtifactsFromAllAus(String namespace, String url, String urlPrefix, String versions, Integer limit, String continuationToken) default Optional<com.fasterxml.jackson.databind.ObjectMapper>default Optional<jakarta.servlet.http.HttpServletRequest>default org.springframework.http.ResponseEntity<Artifact>updateArtifact(Boolean committed, String uuid, String namespace)
-
Field Details
-
log
static final org.slf4j.Logger log
-
-
Method Details
-
getObjectMapper
-
getRequest
-
getAcceptHeader
-
createArtifact
-
deleteArtifact
-
getArtifactDataByMultipart
-
getArtifactDataByPayload
-
getArtifactDataByResponse
-
getArtifactsFromAllAus
-
updateArtifact
-