Class EncryptedTableService

java.lang.Object
overit.geocall.da.EncryptedTableService

public class EncryptedTableService extends Object
  • Method Details

    • getInstance

      public static EncryptedTableService getInstance()
      Returns the EncryptedTableService singleton instance.
      Returns:
      the EncryptedTableService singleton instance.
    • registerEncryptedDAO

      public void registerEncryptedDAO(@NotNull @NotNull DAO dao)
      Register a new DAO only if it contains the DAO.Encrypt annotation. It adds the table and the encrypted columns explicit in this DAO to a map included in the EncryptedTable object
      Parameters:
      dao - the DAO that will be registered
    • getEncryptedTables

      public Map<String,EncryptedTable> getEncryptedTables()
      Map of tables containing the set of all table's encrypted columns group by pool name. The key of the map is the name of the table.
      Returns:
      the map of tables with reference to EncryptedTable to use to retrieve all encryption information about every table