org.kuali.rice.devtools.pdle
Interface PostDataLoadEncryptionDao

All Known Implementing Classes:
PostDataLoadEncryptionDaoJdbc

public interface PostDataLoadEncryptionDao

This interface defines the DB access methods required by the PostDataLoadEncryptionService


Field Summary
static int ENCRYPTED_VALUE_INDEX
           
static int UNENCRYPTED_VALUE_INDEX
           
 
Method Summary
 void addEncryptionIndicatorToBackupTable(String tableName)
           
 void createBackupTable(String tableName)
           
 boolean doesBackupTableExist(String tableName)
           
 void dropBackupTable(String tableName)
           
 void dropEncryptionIndicatorFromBackupTable(String tableName)
           
 String getUpdateBackupTableColumnsSql(String tableName, Map<String,List<String>> columnNameOldNewValuesMap)
           
 boolean performEncryption(String tableName, List<Map<String,List<String>>> rowsToEncryptColumnNameOldNewValuesMap)
           
 void restoreTableFromBackup(String tableName)
           
 List<Map<String,String>> retrieveUnencryptedColumnValuesFromBackupTable(String tableName, List<String> columnNames, int numberOfRowsToCommitAfter)
           
 void truncateTable(String tableName)
           
 void updateColumnValuesInBackupTable(String tableName, Map<String,List<String>> columnNameOldNewValuesMap)
           
 

Field Detail

UNENCRYPTED_VALUE_INDEX

static final int UNENCRYPTED_VALUE_INDEX
See Also:
Constant Field Values

ENCRYPTED_VALUE_INDEX

static final int ENCRYPTED_VALUE_INDEX
See Also:
Constant Field Values
Method Detail

createBackupTable

void createBackupTable(String tableName)

truncateTable

void truncateTable(String tableName)

restoreTableFromBackup

void restoreTableFromBackup(String tableName)

dropBackupTable

void dropBackupTable(String tableName)

doesBackupTableExist

boolean doesBackupTableExist(String tableName)

addEncryptionIndicatorToBackupTable

void addEncryptionIndicatorToBackupTable(String tableName)

dropEncryptionIndicatorFromBackupTable

void dropEncryptionIndicatorFromBackupTable(String tableName)

updateColumnValuesInBackupTable

void updateColumnValuesInBackupTable(String tableName,
                                     Map<String,List<String>> columnNameOldNewValuesMap)

retrieveUnencryptedColumnValuesFromBackupTable

List<Map<String,String>> retrieveUnencryptedColumnValuesFromBackupTable(String tableName,
                                                                        List<String> columnNames,
                                                                        int numberOfRowsToCommitAfter)

getUpdateBackupTableColumnsSql

String getUpdateBackupTableColumnsSql(String tableName,
                                      Map<String,List<String>> columnNameOldNewValuesMap)

performEncryption

boolean performEncryption(String tableName,
                          List<Map<String,List<String>>> rowsToEncryptColumnNameOldNewValuesMap)
                          throws Exception
Throws:
Exception


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.