Class TenantController
- java.lang.Object
-
- org.craftercms.social.management.web.controllers.TenantController
-
@Controller @RequestMapping("/tenant") public class TenantController extends ObjectMVC Controller for displaying and modifying tenants.- Author:
- avasquez
-
-
Field Summary
Fields Modifier and Type Field Description static StringBASE_URL_TENANTstatic StringURL_GET_TENANT_NAMES
-
Constructor Summary
Constructors Constructor Description TenantController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAllTenants()List<String>getTenantNames()voidsetTenantService(org.craftercms.profile.api.services.TenantService tenantService)
-
-
-
Field Detail
-
BASE_URL_TENANT
public static final String BASE_URL_TENANT
- See Also:
- Constant Field Values
-
URL_GET_TENANT_NAMES
public static final String URL_GET_TENANT_NAMES
- See Also:
- Constant Field Values
-
-
Method Detail
-
setTenantService
public void setTenantService(org.craftercms.profile.api.services.TenantService tenantService)
-
getTenantNames
@RequestMapping(value="/names", method=GET) @ResponseBody public List<String> getTenantNames() throws org.craftercms.profile.api.exceptions.ProfileException- Throws:
org.craftercms.profile.api.exceptions.ProfileException
-
-