public interface IResourceUploader
Modifier and Type | Method and Description |
---|---|
void |
deleteAllArtifacts()
delete all artifacts
|
void |
deleteArtifact(String id)
Delete the given image.
|
fj.data.Either<ESArtifactData,ResourceUploadStatus> |
getArtifact(String id)
Get an artifact as a byte array based on the artifact id.
|
ResourceUploadStatus |
saveArtifact(ESArtifactData artifactData,
boolean isReload)
Save an artifact in the DAO layer.
|
ResourceUploadStatus |
updateArtifact(ESArtifactData artifactData)
Save an artifact in the DAO layer.
|
ResourceUploadStatus saveArtifact(ESArtifactData artifactData, boolean isReload)
imageData
- ResourceUploadStatus updateArtifact(ESArtifactData artifactData)
imageData
- fj.data.Either<ESArtifactData,ResourceUploadStatus> getArtifact(String id)
id
- The id of the artifact to read.void deleteArtifact(String id)
id
- Id of the image to delete.void deleteAllArtifacts()
Copyright © 2017. All rights reserved.