Package com.ibm.fhir.schema.control
Class GetTenantList
- java.lang.Object
-
- com.ibm.fhir.schema.control.GetTenantList
-
- All Implemented Interfaces:
IDatabaseSupplier<List<TenantInfo>>
public class GetTenantList extends Object implements IDatabaseSupplier<List<TenantInfo>>
Fetch the list of tenants currently configured
-
-
Constructor Summary
Constructors Constructor Description GetTenantList(String adminSchema)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TenantInfo>
run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection and return the value
-
-
-
Constructor Detail
-
GetTenantList
public GetTenantList(String adminSchema)
Public constructor- Parameters:
adminSchema
-
-
-
Method Detail
-
run
public List<TenantInfo> run(IDatabaseTranslator translator, Connection c)
Description copied from interface:IDatabaseSupplier
Execute the statement using the connection and return the value- Specified by:
run
in interfaceIDatabaseSupplier<List<TenantInfo>>
- Parameters:
translator
- to translate any exceptions
-
-