@Controller @RequestMapping(value="/tenant") public class TenantController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_URL_TENANT |
static String |
URL_GET_TENANT_NAMES |
| Constructor and Description |
|---|
TenantController() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllTenants() |
List<String> |
getTenantNames() |
void |
setTenantService(org.craftercms.profile.api.services.TenantService tenantService) |
public static final String BASE_URL_TENANT
public static final String URL_GET_TENANT_NAMES
public void setTenantService(org.craftercms.profile.api.services.TenantService tenantService)
@RequestMapping(value="/names",
method=GET)
@ResponseBody
public List<String> getTenantNames()
throws org.craftercms.profile.api.exceptions.ProfileException
org.craftercms.profile.api.exceptions.ProfileExceptionCopyright © 2018 CrafterCMS. All rights reserved.