Package | Description |
---|---|
sirius.biz.jdbc.storage |
Modifier and Type | Class and Description |
---|---|
class |
VirtualObject
Stores the metadata for an object managed by the
Storage . |
Modifier and Type | Method and Description |
---|---|
StoredObject |
Storage.createTemporaryObject(Tenant tenant,
String bucketName,
String reference,
String path)
Creates a new temporary object to be used in a
StoredObjectRef . |
StoredObject |
Storage.findOrCreateObjectByPath(Tenant tenant,
String bucketName,
String path)
Tries to find the object with the given path, for the given tenant and bucket.
|
StoredObject |
StoredObjectRef.getObject()
Returns the referenced object or null.
|
Modifier and Type | Method and Description |
---|---|
Optional<StoredObject> |
Storage.findByKey(Tenant tenant,
String bucket,
String key)
Tries to find the object with the given id, for the given tenant and bucket.
|
Optional<StoredObject> |
Storage.findByPath(Tenant tenant,
String bucketName,
String path)
Tries to find the object with the given path, for the given tenant and bucket.
|
Modifier and Type | Method and Description |
---|---|
void |
Storage.delete(StoredObject object)
Deletes the given object and alls of its versions.
|
InputStream |
Storage.getData(StoredObject file)
Retrieves the actual data stored by the given object.
|
void |
StoredObjectRef.setObject(StoredObject object)
Assigns an object to be referenced.
|
OutputStream |
Storage.updateFile(StoredObject file)
Creates a new output stream which updates the contents of the given file.
|
void |
Storage.updateFile(StoredObject file,
File data,
String filename)
Updates the given file using the given data.
|
void |
Storage.updateFile(StoredObject file,
InputStream data,
String filename,
String md5,
long size)
Updates the given file based on the given stream.
|
Modifier and Type | Method and Description |
---|---|
void |
Storage.list(BucketInfo bucket,
Tenant tenant,
Function<StoredObject,Boolean> iterator)
Lists all objects within the given bucket for the given tenant.
|
Copyright © 2018. All rights reserved.