| Package | Description |
|---|---|
| org.craftercms.profile.api.services |
| Modifier and Type | Method and Description |
|---|---|
Tenant |
TenantService.addAttributeDefinitions(String tenantName,
Collection<AttributeDefinition> attributeDefinitions)
Adds the given attribute definitions to the specified tenant.
|
Tenant |
TenantService.addRoles(String tenantName,
Collection<String> roles)
Adds the given roles to the specified tenant.
|
Tenant |
TenantService.createTenant(Tenant tenant)
Creates the given tenant, failing if it already has been created.
|
Tenant |
TenantService.getTenant(String name)
Returns a tenant.
|
Tenant |
TenantService.removeAttributeDefinitions(String tenantName,
Collection<String> attributeNames)
Removes the given attribute definitions from the specified tenant.
|
Tenant |
TenantService.removeRoles(String tenantName,
Collection<String> roles)
Removes the given roles from the specified tenant.
|
Tenant |
TenantService.updateAttributeDefinitions(String tenantName,
Collection<AttributeDefinition> attributeDefinitions)
Updates the given attribute definitions of the specified tenant.
|
Tenant |
TenantService.updateTenant(Tenant tenant)
Updates the given tenant.
|
Tenant |
TenantService.verifyNewProfiles(String tenantName,
boolean verify)
Sets if new profiles for the specified tenant should be verified or not.
|
| Modifier and Type | Method and Description |
|---|---|
List<Tenant> |
TenantService.getAllTenants()
Returns a list with all the tenants.
|
| Modifier and Type | Method and Description |
|---|---|
Tenant |
TenantService.createTenant(Tenant tenant)
Creates the given tenant, failing if it already has been created.
|
Tenant |
TenantService.updateTenant(Tenant tenant)
Updates the given tenant.
|
Copyright © 2015 CrafterCMS. All Rights Reserved.