| Package | Description |
|---|---|
| sirius.biz.jdbc.storage | |
| sirius.biz.jdbc.tenants |
| 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. |
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.
|
StoredObject |
Storage.findOrCreateObjectByPath(Tenant tenant,
String bucketName,
String path)
Tries to find the object with the given path, for the given tenant and bucket.
|
void |
Storage.list(BucketInfo bucket,
Tenant tenant,
Function<StoredObject,Boolean> iterator)
Lists all objects within the given bucket for the given tenant.
|
| Modifier and Type | Method and Description |
|---|---|
Tenant |
Tenants.getRequiredTenant()
Returns the tenant of the currently logged in user or throws an exception if no user is present.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Tenant> |
Tenants.getCurrentTenant()
Returns the
Tenant of the current user. |
sirius.db.jdbc.SQLEntityRef<Tenant> |
Tenant.getParent() |
sirius.db.jdbc.SQLEntityRef<Tenant> |
SQLTenantAware.getTenant() |
| Modifier and Type | Method and Description |
|---|---|
static void |
TenantUserManager.flushCacheForTenant(Tenant tenant)
Flushes all cahes for the given tenant.
|
Copyright © 2018. All rights reserved.