public interface BinaryDataServiceLocal extends BinaryDataService
BinaryDataService
.Modifier and Type | Field and Description |
---|---|
static String |
LOADED_IN_DOCUMENT
key in
BinaryDataMetadata |
static String |
LOADED_IN_TODO
key in
BinaryDataMetadata |
Modifier and Type | Method and Description |
---|---|
long |
addBinaryEntry(String filename,
String description,
String mime,
Blob data)
Add a binary entry and returns the entry id.
|
void |
addMetadata(List<Long> binaryDataIds,
String name,
String value)
Adds binary data metadata.
|
Blob |
createBlob(byte[] data) |
void |
deleteBinaryDataLoadedByDocument(long savedDocumentId)
Deletes binary data that are loaded in a document.
|
void |
deleteBinaryDataLoadedByTodo(long todoId)
Deletes binary data that are loaded in a todo.
|
void |
deleteForIds(List<Long> ids)
Deletes binary data with ids.
|
addBinaryEntry, addBinaryEntryWithMetadata, deleteBinaryEntry, getBinaryEntry
static final String LOADED_IN_TODO
BinaryDataMetadata
static final String LOADED_IN_DOCUMENT
BinaryDataMetadata
Blob createBlob(byte[] data)
data
- if not null, data will be written to the bloblong addBinaryEntry(String filename, String description, String mime, Blob data)
filename
- description
- mime
- data
- void deleteBinaryDataLoadedByTodo(long todoId)
todoId
- void deleteBinaryDataLoadedByDocument(long savedDocumentId)
savedDocumentId
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.