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 java.lang.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(java.lang.String adminSchema, java.lang.String tenantName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TenantInfo
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection and return the value
-
-
-
Method Detail
-
run
public TenantInfo run(IDatabaseTranslator translator, java.sql.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
-
-