Package com.ibm.fhir.schema.control
Class GetTenantInfo
- java.lang.Object
-
- com.ibm.fhir.schema.control.GetTenantInfo
-
- All Implemented Interfaces:
IDatabaseSupplier<TenantInfo>
public class GetTenantInfo extends Object implements IDatabaseSupplier<TenantInfo>
Fetch theTenantInfo
for the tenantName. Returns a null TenantInfo if the tenant does not exist
-
-
Constructor Summary
Constructors Constructor Description GetTenantInfo(String adminSchema, String tenantName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TenantInfo
run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection and return the value
-
-
-
Method Detail
-
run
public 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<TenantInfo>
- Parameters:
translator
- to translate any exceptions
-
-