@Component
@ConditionalOnProperty(name="eds.gridfs.enabled",
havingValue="false",
matchIfMissing=true)
public class DefaultEdsService
extends Object
implements ExternalStorageService
| Constructor and Description |
|---|
DefaultEdsService() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String contentType,
UUID projectUuid,
String filePath,
String fileName) |
FileInfo |
getFileInfo(org.bson.types.ObjectId objectId) |
Set<FileInfo> |
getFilesInfoByMetadataMapParams(Map<String,Object> metadataParams) |
Set<FileInfo> |
getFilesInfoByProject(UUID uuid) |
Set<FileInfo> |
getKeyStoreFileInfo() |
org.bson.types.ObjectId |
store(String contentType,
UUID projectUuid,
String userName,
UUID userId,
String filePath,
String fileName,
InputStream fileInputStream) |
public Set<FileInfo> getFilesInfoByProject(UUID uuid) throws IOException
getFilesInfoByProject in interface ExternalStorageServiceIOExceptionpublic Set<FileInfo> getKeyStoreFileInfo() throws IOException
getKeyStoreFileInfo in interface ExternalStorageServiceIOExceptionpublic Set<FileInfo> getFilesInfoByMetadataMapParams(Map<String,Object> metadataParams) throws IOException
getFilesInfoByMetadataMapParams in interface ExternalStorageServiceIOExceptionpublic FileInfo getFileInfo(org.bson.types.ObjectId objectId) throws IOException
getFileInfo in interface ExternalStorageServiceIOExceptionpublic org.bson.types.ObjectId store(String contentType, UUID projectUuid, String userName, UUID userId, String filePath, String fileName, InputStream fileInputStream)
store in interface ExternalStorageServiceCopyright © 2025. All rights reserved.