| Modifier and Type | Method and Description |
|---|---|
FileInfo |
CrudRepository.getFileInfo(org.bson.types.ObjectId fileId)
Gets the file information based on its id..
|
FileInfo |
AbstractJongoRepository.getFileInfo(org.bson.types.ObjectId fileId) |
FileInfo |
CrudRepository.getFileInfo(String storeName)
Gets the file information based on its name..
|
FileInfo |
AbstractJongoRepository.getFileInfo(String storeName) |
FileInfo |
CrudRepository.readFile(org.bson.types.ObjectId fileId)
Returns the InputStream of the file with the given id.
|
FileInfo |
AbstractJongoRepository.readFile(org.bson.types.ObjectId fileId) |
FileInfo |
CrudRepository.readFile(String storeName)
Returns the InputStream of the file with the given name.
|
FileInfo |
AbstractJongoRepository.readFile(String storeName) |
FileInfo |
CrudRepository.saveFile(InputStream inputStream,
String storeName,
String contentType)
Saves the given InputStream as with the given name.
|
FileInfo |
AbstractJongoRepository.saveFile(InputStream inputStream,
String storeName,
String contentType) |
FileInfo |
CrudRepository.saveFile(InputStream inputStream,
String storeName,
String contentType,
org.bson.types.ObjectId fileId)
Saves the given InputStream as with the given name.
|
FileInfo |
AbstractJongoRepository.saveFile(InputStream inputStream,
String storeName,
String contentType,
org.bson.types.ObjectId fileId) |
FileInfo |
CrudRepository.updateFile(InputStream inputStream,
String storeName,
String contentType)
"Updates" the file with the new information (A name change is NOT valid )
|
FileInfo |
AbstractJongoRepository.updateFile(InputStream inputStream,
String storeName,
String contentType) |
FileInfo |
CrudRepository.updateFile(org.bson.types.ObjectId fileId,
InputStream inputStream,
String storeName,
String contentType)
"Updates" the file with the new information (A name change is valid as long a file with new name does not
exists)
|
FileInfo |
AbstractJongoRepository.updateFile(org.bson.types.ObjectId fileId,
InputStream inputStream,
String storeName,
String contentType) |
FileInfo |
CrudRepository.updateFile(org.bson.types.ObjectId fileId,
InputStream inputStream,
String storeName,
String contentType,
boolean sameFileId)
"Updates" the file with the new information (A name change is valid as long a file with new name does not
exists)
|
FileInfo |
AbstractJongoRepository.updateFile(org.bson.types.ObjectId fileId,
InputStream inputStream,
String storeName,
String contentType,
boolean sameFileId) |
| Modifier and Type | Method and Description |
|---|---|
List<FileInfo> |
CrudRepository.listFilesByName(String filename) |
List<FileInfo> |
AbstractJongoRepository.listFilesByName(String filename) |
Copyright © 2020 CrafterCMS. All rights reserved.