Package com.soffid.iam.service
Class TenantServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.TenantServiceBase
-
- com.soffid.iam.service.TenantServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.TenantService
public class TenantServiceImpl extends TenantServiceBase
-
-
Field Summary
Fields Modifier and Type Field Description static String
MASTER_NAME
-
Constructor Summary
Constructors Constructor Description TenantServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleAddTenantServer(com.soffid.iam.api.Tenant tenant, String server)
protected com.soffid.iam.api.Tenant
handleCreate(com.soffid.iam.api.Tenant tenant)
protected void
handleDisablePermission(com.soffid.iam.api.Tenant tenant, String permission)
protected void
handleEnablePermission(com.soffid.iam.api.Tenant tenant, String permission)
protected void
handleExportTenant(com.soffid.iam.api.Tenant tenant, OutputStream out)
protected List<com.soffid.iam.api.Tenant>
handleFind(com.soffid.iam.api.TenantCriteria criteria)
protected List<String>
handleGetDisabledPermissions(com.soffid.iam.api.Tenant tenant)
protected com.soffid.iam.api.Tenant
handleGetMasterTenant()
protected com.soffid.iam.api.Tenant
handleGetTenant(Long id)
protected com.soffid.iam.api.Tenant
handleGetTenant(String name)
protected List<String>
handleGetTenantServers(com.soffid.iam.api.Tenant tenant)
protected com.soffid.iam.api.Tenant
handleImportTenant(InputStream in)
protected Collection<com.soffid.iam.api.Tenant>
handleListTenants()
protected void
handleRemove(com.soffid.iam.api.Tenant tenant)
protected void
handleRemoveTenantServer(com.soffid.iam.api.Tenant tenant, String server)
protected com.soffid.iam.api.Tenant
handleUpdate(com.soffid.iam.api.Tenant tenant)
-
Methods inherited from class com.soffid.iam.service.TenantServiceBase
addTenantServer, create, disablePermission, enablePermission, exportTenant, find, getApplicationBootService, getDisabledPermissions, getMasterTenant, getPrincipal, getServerEntityDao, getTenant, getTenant, getTenantDisabledPermissionEntityDao, getTenantEntityDao, getTenantServerEntityDao, getTenantServers, importTenant, listTenants, remove, removeTenantServer, setApplicationBootService, setServerEntityDao, setTenantDisabledPermissionEntityDao, setTenantEntityDao, setTenantServerEntityDao, update
-
-
-
-
Field Detail
-
MASTER_NAME
public static final String MASTER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleGetMasterTenant
protected com.soffid.iam.api.Tenant handleGetMasterTenant() throws Exception
- Specified by:
handleGetMasterTenant
in classTenantServiceBase
- Throws:
Exception
-
handleGetTenant
protected com.soffid.iam.api.Tenant handleGetTenant(String name) throws Exception
- Specified by:
handleGetTenant
in classTenantServiceBase
- Throws:
Exception
-
handleGetTenant
protected com.soffid.iam.api.Tenant handleGetTenant(Long id) throws Exception
- Specified by:
handleGetTenant
in classTenantServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.Tenant handleCreate(com.soffid.iam.api.Tenant tenant) throws Exception
- Specified by:
handleCreate
in classTenantServiceBase
- Throws:
Exception
-
handleFind
protected List<com.soffid.iam.api.Tenant> handleFind(com.soffid.iam.api.TenantCriteria criteria) throws Exception
- Specified by:
handleFind
in classTenantServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.Tenant handleUpdate(com.soffid.iam.api.Tenant tenant) throws Exception
- Specified by:
handleUpdate
in classTenantServiceBase
- Throws:
Exception
-
handleDisablePermission
protected void handleDisablePermission(com.soffid.iam.api.Tenant tenant, String permission) throws Exception
- Specified by:
handleDisablePermission
in classTenantServiceBase
- Throws:
Exception
-
handleEnablePermission
protected void handleEnablePermission(com.soffid.iam.api.Tenant tenant, String permission) throws Exception
- Specified by:
handleEnablePermission
in classTenantServiceBase
- Throws:
Exception
-
handleGetDisabledPermissions
protected List<String> handleGetDisabledPermissions(com.soffid.iam.api.Tenant tenant) throws Exception
- Specified by:
handleGetDisabledPermissions
in classTenantServiceBase
- Throws:
Exception
-
handleAddTenantServer
protected void handleAddTenantServer(com.soffid.iam.api.Tenant tenant, String server) throws Exception
- Specified by:
handleAddTenantServer
in classTenantServiceBase
- Throws:
Exception
-
handleGetTenantServers
protected List<String> handleGetTenantServers(com.soffid.iam.api.Tenant tenant) throws Exception
- Specified by:
handleGetTenantServers
in classTenantServiceBase
- Throws:
Exception
-
handleListTenants
protected Collection<com.soffid.iam.api.Tenant> handleListTenants() throws Exception
- Specified by:
handleListTenants
in classTenantServiceBase
- Throws:
Exception
-
handleRemoveTenantServer
protected void handleRemoveTenantServer(com.soffid.iam.api.Tenant tenant, String server) throws Exception
- Specified by:
handleRemoveTenantServer
in classTenantServiceBase
- Throws:
Exception
-
handleExportTenant
protected void handleExportTenant(com.soffid.iam.api.Tenant tenant, OutputStream out) throws Exception
- Specified by:
handleExportTenant
in classTenantServiceBase
- Throws:
Exception
-
handleImportTenant
protected com.soffid.iam.api.Tenant handleImportTenant(InputStream in) throws Exception
- Specified by:
handleImportTenant
in classTenantServiceBase
- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.Tenant tenant) throws Exception
- Specified by:
handleRemove
in classTenantServiceBase
- Throws:
Exception
-
-