Uses of Interface
org.apache.sling.tenant.Tenant
-
Packages that use Tenant Package Description org.apache.sling.tenant org.apache.sling.tenant.spi -
-
Uses of Tenant in org.apache.sling.tenant
Methods in org.apache.sling.tenant that return Tenant Modifier and Type Method Description TenantTenantManager. create(String tenantId, Map<String,Object> properties)Creates a new tenant with the given tenant ID and the initial set of properties.TenantTenantProvider. getTenant(String tenantId)Methods in org.apache.sling.tenant that return types with arguments of type Tenant Modifier and Type Method Description Iterator<Tenant>TenantProvider. getTenants()Returns an iterator of alltenantsknown to this provider.Iterator<Tenant>TenantProvider. getTenants(String tenantFilter)Returns an iterator oftenantsmatching the giventenantFilter.Methods in org.apache.sling.tenant with parameters of type Tenant Modifier and Type Method Description voidTenantManager. remove(Tenant tenant)Removes the given tenant.voidTenantManager. removeProperties(Tenant tenant, String... propertyNames)Removes one or more properties from the tenant.voidTenantManager. setProperties(Tenant tenant, Map<String,Object> properties)Sets or removes multiple properties on the tenant.voidTenantManager. 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 isnull. -
Uses of Tenant in org.apache.sling.tenant.spi
Methods in org.apache.sling.tenant.spi with parameters of type Tenant Modifier and Type Method Description Map<String,Object>TenantManagerHook. change(Tenant tenant)Method called to update the given tenant.voidTenantCustomizer. remove(Tenant tenant, org.apache.sling.api.resource.ResourceResolver resolver)Deprecated.Called to remove the setup for the given Tenant.voidTenantManagerHook. remove(Tenant tenant)Called to remove the setup for 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.Map<String,Object>TenantManagerHook. setup(Tenant tenant)Method called to create the given tenant.
-