public interface BinaryDataService
Modifier and Type | Method and Description |
---|---|
long |
addBinaryEntry(String filename,
String description,
ByteData data)
Add a binary entry and returns the entry id.
|
long |
addBinaryEntryWithMetadata(String filename,
String description,
ByteData data,
List<BinaryDataMetadata> metadata)
Add a binary entry and returns the entry id.
|
void |
deleteBinaryEntry(long binaryEntryId)
Delete a binary entry.
|
BinaryEntry |
getBinaryEntry(long binaryEntryId)
Returns the binary data entry for the given entry id.
|
long addBinaryEntry(String filename, String description, ByteData data)
filename
- description
- data
- long addBinaryEntryWithMetadata(String filename, String description, ByteData data, List<BinaryDataMetadata> metadata)
filename
- description
- data
- metadata
- BinaryEntry getBinaryEntry(long binaryEntryId)
binaryEntryId
- the entry idvoid deleteBinaryEntry(long binaryEntryId) throws BinaryEntryNotFoundException
binaryEntryId
- the entry idBinaryEntryNotFoundException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.