Class DeleteTenantKeyDAO
- java.lang.Object
-
- com.ibm.fhir.database.utils.tenant.DeleteTenantKeyDAO
-
- All Implemented Interfaces:
IDatabaseStatement
public class DeleteTenantKeyDAO extends java.lang.Object implements IDatabaseStatement
Db2-only DAO to delete a tenant key record
-
-
Constructor Summary
Constructors Constructor Description DeleteTenantKeyDAO(java.lang.String schemaName, int tenantId, java.lang.String tenantKey)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
void
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
getCount
public int getCount()
- Returns:
- total number of keys removed
-
-