Package com.soffid.iam.service.ejb
Interface TenantService
-
public interface TenantServiceEJB TenantService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTenantServer(Tenant tenant, String server)Tenantcreate(Tenant tenant)voiddisablePermission(Tenant tenant, String permission)voidenablePermission(Tenant tenant, String permission)voidexportTenant(Tenant tenant, OutputStream out)List<Tenant>find(TenantCriteria criteria)List<String>getDisabledPermissions(Tenant tenant)TenantgetMasterTenant()TenantgetTenant(Long id)TenantgetTenant(String name)List<String>getTenantServers(Tenant tenant)TenantimportTenant(InputStream in)Collection<Tenant>listTenants()voidremove(Tenant tenant)voidremoveTenantServer(Tenant tenant, String server)Tenantupdate(Tenant tenant)
-
-
-
Method Detail
-
importTenant
Tenant importTenant(InputStream in) throws InternalErrorException
- Throws:
InternalErrorException
-
create
Tenant create(Tenant tenant) throws InternalErrorException
- Throws:
InternalErrorException
-
getMasterTenant
Tenant getMasterTenant() throws InternalErrorException
- Throws:
InternalErrorException
-
getTenant
Tenant getTenant(Long id) throws InternalErrorException
- Throws:
InternalErrorException
-
getTenant
Tenant getTenant(String name) throws InternalErrorException
- Throws:
InternalErrorException
-
update
Tenant update(Tenant tenant) throws InternalErrorException
- Throws:
InternalErrorException
-
listTenants
Collection<Tenant> listTenants() throws InternalErrorException
- Throws:
InternalErrorException
-
find
List<Tenant> find(TenantCriteria criteria) throws InternalErrorException
- Throws:
InternalErrorException
-
getDisabledPermissions
List<String> getDisabledPermissions(Tenant tenant) throws InternalErrorException
- Throws:
InternalErrorException
-
getTenantServers
List<String> getTenantServers(Tenant tenant) throws InternalErrorException
- Throws:
InternalErrorException
-
addTenantServer
void addTenantServer(Tenant tenant, String server) throws InternalErrorException
- Throws:
InternalErrorException
-
disablePermission
void disablePermission(Tenant tenant, String permission) throws InternalErrorException
- Throws:
InternalErrorException
-
enablePermission
void enablePermission(Tenant tenant, String permission) throws InternalErrorException
- Throws:
InternalErrorException
-
remove
void remove(Tenant tenant) throws InternalErrorException
- Throws:
InternalErrorException
-
removeTenantServer
void removeTenantServer(Tenant tenant, String server) throws InternalErrorException
- Throws:
InternalErrorException
-
exportTenant
void exportTenant(Tenant tenant, OutputStream out) throws InternalErrorException
- Throws:
InternalErrorException
-
-