Package | Description |
---|---|
org.apache.sling.tenant | |
org.apache.sling.tenant.internal | |
org.apache.sling.tenant.spi |
Modifier and Type | Method and Description |
---|---|
Tenant |
TenantManager.create(String tenantId,
Map<String,Object> properties)
Creates a new tenant with the given tenant ID and the initial set of
properties.
|
Tenant |
TenantProvider.getTenant(String tenantId)
|
Modifier and Type | Method and Description |
---|---|
Iterator<Tenant> |
TenantProvider.getTenants()
Returns an iterator of all
tenants known to this provider. |
Iterator<Tenant> |
TenantProvider.getTenants(String tenantFilter)
Returns an iterator of
tenants matching the given
tenantFilter . |
Modifier and Type | Method and Description |
---|---|
void |
TenantManager.remove(Tenant tenant)
Removes the given tenant.
|
void |
TenantManager.removeProperties(Tenant tenant,
String... propertyNames)
Removes one or more properties from the tenant.
|
void |
TenantManager.setProperties(Tenant tenant,
Map<String,Object> properties)
Sets or removes multiple properties on the tenant.
|
void |
TenantManager.setProperty(Tenant tenant,
String name,
Object value)
Sets a single property of the tenant to a new value or removes the
property if the value is
null . |
Modifier and Type | Method and Description |
---|---|
Tenant |
TenantProviderImpl.create(String tenantId,
Map<String,Object> properties) |
Tenant |
TenantProviderImpl.getTenant(String tenantId) |
Modifier and Type | Method and Description |
---|---|
Iterator<Tenant> |
TenantProviderImpl.getTenants() |
Iterator<Tenant> |
TenantProviderImpl.getTenants(String tenantFilter) |
Modifier and Type | Method and Description |
---|---|
void |
TenantProviderImpl.remove(Tenant tenant) |
void |
TenantProviderImpl.removeProperties(Tenant tenant,
String... propertyNames) |
void |
TenantProviderImpl.setProperties(Tenant tenant,
Map<String,Object> properties) |
void |
TenantProviderImpl.setProperty(Tenant tenant,
String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
TenantManagerHook.change(Tenant tenant)
Method called to update the given tenant.
|
void |
TenantManagerHook.remove(Tenant tenant)
Called to remove the setup for the given Tenant.
|
void |
TenantCustomizer.remove(Tenant tenant,
org.apache.sling.api.resource.ResourceResolver resolver)
Deprecated.
Called to remove the setup for the given Tenant.
|
Map<String,Object> |
TenantManagerHook.setup(Tenant tenant)
Method called to create the given tenant.
|
Map<String,Object> |
TenantCustomizer.setup(Tenant tenant,
org.apache.sling.api.resource.ResourceResolver resolver)
Deprecated.
Method called to create or update the given tenant.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.