Class Db2SetTenantVariable

  • All Implemented Interfaces:
    IDatabaseStatement

    public class Db2SetTenantVariable
    extends java.lang.Object
    implements IDatabaseStatement
    DAO command to call the set_tenant fhir admin procedure which will set the fhir_admin.sv_tenant_id variable but only if the correct tenantKey is provided.
    • Constructor Summary

      Constructors 
      Constructor Description
      Db2SetTenantVariable​(java.lang.String schemaName, java.lang.String tenantName, java.lang.String tenantKey)
      Public constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(IDatabaseTranslator translator, java.sql.Connection c)
      Execute the statement using the connection.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Db2SetTenantVariable

        public Db2SetTenantVariable​(java.lang.String schemaName,
                                    java.lang.String tenantName,
                                    java.lang.String tenantKey)
        Public constructor
        Parameters:
        schemaName -
        tenantName -
    • Method Detail