public interface DataRepository
| Modifier and Type | Method and Description |
|---|---|
String |
addToFolder(List<RepositoryFile> files,
String folderId) |
String |
addToFolder(RepositoryFile file,
String folderId) |
Long |
close(RepositoryFile file) |
void |
delete(String id) |
Long |
getLastSweep() |
Long |
getSweepSizeReduction() |
long |
getTotalSize() |
List<String> |
listFolder(String folderId) |
List<String> |
listIds() |
String |
persist(RepositoryFile file) |
String |
persistToFolder(List<RepositoryFile> files) |
RepositoryFile |
retrieve(String id)
Retrieves a specific file.
|
File |
retrieveFolder(String folderId) |
String |
update(RepositoryFile file) |
String |
updateToFolder(List<RepositoryFile> files,
String folderId) |
String |
updateToFolder(RepositoryFile file,
String folderId) |
String persist(RepositoryFile file) throws Exception
ExceptionString update(RepositoryFile file) throws Exception
ExceptionRepositoryFile retrieve(String id) throws Exception
id - ExceptionString persistToFolder(List<RepositoryFile> files) throws Exception
ExceptionString updateToFolder(RepositoryFile file, String folderId) throws Exception
ExceptionString updateToFolder(List<RepositoryFile> files, String folderId) throws Exception
ExceptionString addToFolder(RepositoryFile file, String folderId) throws Exception
ExceptionString addToFolder(List<RepositoryFile> files, String folderId) throws Exception
Exceptionlong getTotalSize()
Long getLastSweep()
Long getSweepSizeReduction()
Long close(RepositoryFile file) throws Exception
ExceptionCopyright © 2020. All Rights Reserved.