# TenantManager

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 3,804 of 3,804 | 0% | 298 of 298 | 0% | 223 | 223 | 997 | 997 | 72 | 72
addTenant(String, String, String, List, List) |  | 0% |  | 0% | 9 | 9 | 59 | 59 | 1 | 1
addDatabaseToTenant(String, TenantDatabaseDescriptor, List) |  | 0% |  | 0% | 12 | 12 | 63 | 63 | 1 | 1
deleteTenant(String, List) |  | 0% |  | 0% | 11 | 11 | 62 | 62 | 1 | 1
deleteDatabaseFromTenant(String, String, List) |  | 0% |  | 0% | 10 | 10 | 59 | 59 | 1 | 1
updateTenant(String, String, Map, boolean, List) |  | 0% |  | 0% | 14 | 14 | 53 | 53 | 1 | 1
getDatabaseSettings(String, String) |  | 0% |  | 0% | 5 | 5 | 31 | 31 | 1 | 1
populateAllTenants(Connection) |  | 0% |  | 0% | 4 | 4 | 33 | 33 | 1 | 1
lambda$updateDomain$11(handle, Persistence, String, String, JsonNode, Boolean[], List) |  | 0% |  | 0% | 2 | 2 | 28 | 28 | 1 | 1
lambda$addDomain$6(handle, Persistence, String, JsonNode, Boolean[], List) |  | 0% |  | 0% | 2 | 2 | 28 | 28 | 1 | 1
readDomains(String, SecurityOps.WorkArea) |  | 0% |  | 0% | 6 | 6 | 30 | 30 | 1 | 1
changeTenantStatus(String, boolean, List) |  | 0% |  | 0% | 5 | 5 | 28 | 28 | 1 | 1
updateTenantImpl(Connection, String, String, String, String, boolean) |  | 0% |  | 0% | 6 | 6 | 24 | 24 | 1 | 1
isTenantEnabled(String, List) |  | 0% |  | 0% | 6 | 6 | 22 | 22 | 1 | 1
initCrypto() |  | 0% |  | 0% | 3 | 3 | 22 | 22 | 1 | 1
lambda$updateDomainType$14(handle, Persistence, String, String, JsonNode, Boolean[], List) |  | 0% |  | 0% | 2 | 2 | 21 | 21 | 1 | 1
initialize(String, String, String) |  | 0% |  | 0% | 5 | 5 | 35 | 35 | 1 | 1
lambda$addDomainType$9(handle, Persistence, String, JsonNode, Boolean[], List) |  | 0% |  | 0% | 2 | 2 | 21 | 21 | 1 | 1
updateDomain(String, String, JsonNode, List) |  | 0% |  | 0% | 5 | 5 | 17 | 17 | 1 | 1
updateDomainType(String, String, JsonNode, List) |  | 0% |  | 0% | 5 | 5 | 17 | 17 | 1 | 1
deleteSecAuthRecord(String, String, String, String, List) |  | 0% |  | 0% | 5 | 5 | 17 | 17 | 1 | 1
lambda$getSecAuthRecord$4(handle, Persistence, String, String, String, String, HashMap, List) |  | 0% |  | 0% | 3 | 3 | 17 | 17 | 1 | 1
getSecAuthRecord(String, String, String, String, List) |  | 0% |  | 0% | 5 | 5 | 17 | 17 | 1 | 1
getDatabase(String, String, boolean, Database.Type) |  | 0% |  | 0% | 6 | 6 | 18 | 18 | 1 | 1
lambda$listSecAuthTable$2(handle, Persistence, String, String, handle, ArrayList, String, List) |  | 0% |  | 0% | 2 | 2 | 16 | 16 | 1 | 1
getTenantName(String, String) |  | 0% |  | 0% | 5 | 5 | 16 | 16 | 1 | 1
encrypt(String) |  | 0% |  | 0% | 2 | 2 | 13 | 13 | 1 | 1
addDomain(String, JsonNode, List) |  | 0% |  | 0% | 3 | 3 | 14 | 14 | 1 | 1
addDomainType(String, JsonNode, List) |  | 0% |  | 0% | 3 | 3 | 14 | 14 | 1 | 1
initializeStatements(Dialect.TenantSQL) |  | 0% |  | n/a | 1 | 1 | 9 | 9 | 1 | 1
lambda$deleteSecAuthRecord$16(handle, Persistence, String, String, String, String, Boolean[], List) |  | 0% |  | 0% | 2 | 2 | 13 | 13 | 1 | 1
listSecAuthTable(String, String, String, List) |  | 0% |  | 0% | 3 | 3 | 14 | 14 | 1 | 1
getTenant(String, List) |  | 0% |  | 0% | 5 | 5 | 12 | 12 | 1 | 1
addDatabaseToDefaultTenant(TenantDatabaseDescriptor) |  | 0% |  | 0% | 4 | 4 | 13 | 13 | 1 | 1
static {...} |  | 0% |  | n/a | 1 | 1 | 12 | 12 | 1 | 1
decrypt(String) |  | 0% |  | n/a | 1 | 1 | 8 | 8 | 1 | 1
getNextId(boolean) |  | 0% |  | 0% | 4 | 4 | 5 | 5 | 1 | 1
setField(BufferImpl, JsonNode, String, Function) |  | 0% |  | 0% | 2 | 2 | 9 | 9 | 1 | 1
addDefaultTenant() |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
createTables(Connection) |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
lambda$listSecAuthTable$3(Persistence, String, String, ArrayList, String, List) |  | 0% |  | n/a | 1 | 1 | 6 | 6 | 1 | 1
getConnection(boolean) |  | 0% |  | 0% | 3 | 3 | 7 | 7 | 1 | 1
runInGlobalBlock(Runnable) |  | 0% |  | n/a | 1 | 1 | 11 | 11 | 1 | 1
validateName(String) |  | 0% |  | 0% | 5 | 5 | 4 | 4 | 1 | 1
lambda$addDomainType$10(Persistence, String, JsonNode, Boolean[], List) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
lambda$addDomain$7(Persistence, String, JsonNode, Boolean[], List) |  | 0% |  | 0% | 2 | 2 | 5 | 5 | 1 | 1
determineDatabaseFieldName(String) |  | 0% |  | 0% | 6 | 6 | 7 | 7 | 1 | 1
lambda$deleteSecAuthRecord$17(Persistence, String, String, String, String, Boolean[], List) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
lambda$getSecAuthRecord$5(Persistence, String, String, String, String, HashMap, List) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
lambda$updateDomainType$15(Persistence, String, String, JsonNode, Boolean[], List) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
lambda$updateDomain$12(Persistence, String, String, JsonNode, Boolean[], List) |  | 0% |  | n/a | 1 | 1 | 4 | 4 | 1 | 1
connectTenantImpl(TenantManager.Tenant) |  | 0% |  | 0% | 2 | 2 | 7 | 7 | 1 | 1
listTenants(List) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
setIntValueInStatement(PreparedStatement, int, Integer) |  | 0% |  | 0% | 2 | 2 | 4 | 4 | 1 | 1
getIntegerColumn(ResultSet, String) |  | 0% |  | 0% | 2 | 2 | 2 | 2 | 1 | 1
enable() |  | 0% |  | n/a | 1 | 1 | 5 | 5 | 1 | 1
registerMetaListener(TenantMetaChangeListener) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
deregisterMetaListener(TenantMetaChangeListener) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
getDomain(String, String, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
getDomainType(String, String, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
deleteDomain(String, String, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
deleteDomainType(String, String, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$updateDomainType$13(JsonNode) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$addDomainType$8(JsonNode) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
listDomains(String, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
listDomainTypes(String, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$updateTenant$18(TenantMetaChangeListener, String, TenantManager.Tenant, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$changeTenantStatus$21(TenantMetaChangeListener, TenantManager.Tenant, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$deleteDatabaseFromTenant$20(TenantMetaChangeListener, TenantManager.Tenant, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$deleteTenant$19(TenantMetaChangeListener, TenantManager.Tenant, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$addDatabaseToTenant$1(TenantMetaChangeListener, TenantManager.Tenant, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$addTenant$0(TenantMetaChangeListener, TenantManager.Tenant, List) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
TenantManager() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1