public class PostDataLoadEncryptionDaoJdbc extends org.kuali.rice.core.framework.persistence.jdbc.dao.PlatformAwareDaoBaseJdbc implements PostDataLoadEncryptionDao
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AND_SEPARATOR |
protected static String |
BACKUP_TABLE_ENCRYPT_IND |
protected static String |
BACKUP_TABLE_EXTENSION |
protected static String |
COMMA_SEPARATOR |
ENCRYPTED_VALUE_INDEX, UNENCRYPTED_VALUE_INDEX| Constructor and Description |
|---|
PostDataLoadEncryptionDaoJdbc() |
getDbPlatform, setDbPlatformgetSimpleJdbcTemplate, initTemplateConfigprotected static final String AND_SEPARATOR
protected static final String COMMA_SEPARATOR
protected static final String BACKUP_TABLE_EXTENSION
protected static final String BACKUP_TABLE_ENCRYPT_IND
public PostDataLoadEncryptionDaoJdbc()
public void createBackupTable(String tableName)
createBackupTable in interface PostDataLoadEncryptionDaopublic void truncateTable(String tableName)
truncateTable in interface PostDataLoadEncryptionDaopublic void restoreTableFromBackup(String tableName)
restoreTableFromBackup in interface PostDataLoadEncryptionDaopublic void dropBackupTable(String tableName)
dropBackupTable in interface PostDataLoadEncryptionDaopublic boolean doesBackupTableExist(String tableName)
doesBackupTableExist in interface PostDataLoadEncryptionDaopublic void addEncryptionIndicatorToBackupTable(String tableName)
addEncryptionIndicatorToBackupTable in interface PostDataLoadEncryptionDaopublic void dropEncryptionIndicatorFromBackupTable(String tableName)
dropEncryptionIndicatorFromBackupTable in interface PostDataLoadEncryptionDaopublic List<Map<String,String>> retrieveUnencryptedColumnValuesFromBackupTable(String tableName, List<String> columnNames, int numberOfRowsToCommitAfter)
retrieveUnencryptedColumnValuesFromBackupTable in interface PostDataLoadEncryptionDaopublic void updateColumnValuesInBackupTable(String tableName, Map<String,List<String>> columnNameOldNewValuesMap)
updateColumnValuesInBackupTable in interface PostDataLoadEncryptionDaopublic String getUpdateBackupTableColumnsSql(String tableName, Map<String,List<String>> columnNameOldNewValuesMap)
getUpdateBackupTableColumnsSql in interface PostDataLoadEncryptionDaoprotected String getSelectBackupTableColumnsSql(String tableName, List<String> columnNames, int numberOfRowsToCommitAfter)
public boolean performEncryption(String tableName, List<Map<String,List<String>>> rowsToEncryptColumnNameOldNewValuesMap) throws Exception
performEncryption in interface PostDataLoadEncryptionDaoExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.