org.kuali.rice.devtools.pdle
Class PostDataLoadEncryptionServiceImpl
java.lang.Object
org.kuali.rice.krad.service.impl.PersistenceServiceStructureImplBase
org.kuali.rice.krad.service.impl.PersistenceServiceImplBase
org.kuali.rice.devtools.pdle.PostDataLoadEncryptionServiceImpl
- All Implemented Interfaces:
- PostDataLoadEncryptionService
public class PostDataLoadEncryptionServiceImpl
- extends PersistenceServiceImplBase
- implements PostDataLoadEncryptionService
Field Summary |
protected org.apache.log4j.Logger |
LOG
|
Method Summary |
void |
checkArguments(Class<? extends PersistableBusinessObject> businessObjectClass,
Set<String> attributeNames)
|
void |
checkArguments(Class<? extends PersistableBusinessObject> businessObjectClass,
Set<String> attributeNames,
boolean checkOjbEncryptConfig)
|
void |
createBackupTable(Class<? extends PersistableBusinessObject> businessObjectClass)
|
void |
createBackupTable(String tableName)
|
boolean |
doesBackupTableExist(String tableName)
|
void |
dropBackupTable(Class<? extends PersistableBusinessObject> businessObjectClass)
|
void |
dropBackupTable(String tableName)
|
void |
encrypt(PersistableBusinessObject businessObject,
Set<String> attributeNames)
|
Map<String,List<String>> |
getColumnNamesEncryptedValues(String tableName,
Map<String,String> columnNamesValues)
|
boolean |
performEncryption(String tableName,
List<Map<String,String>> rowsToEncryptColumnsNameValueMap)
|
void |
prepClassDescriptor(Class<? extends PersistableBusinessObject> businessObjectClass,
Set<String> attributeNames)
|
void |
restoreClassDescriptor(Class<? extends PersistableBusinessObject> businessObjectClass,
Set<String> attributeNames)
|
void |
restoreTableFromBackup(Class<? extends PersistableBusinessObject> businessObjectClass)
|
void |
restoreTableFromBackup(String tableName)
|
List<Map<String,String>> |
retrieveUnencryptedColumnValuesFromBackupTable(String tableName,
List<String> columnNames,
int numberOfRowsToCommitAfter)
|
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
|
void |
setEncryptionService(EncryptionService encryptionService)
|
void |
setPostDataLoadEncryptionDao(PostDataLoadEncryptionDao postDataLoadEncryptionDao)
|
void |
truncateTable(Class<? extends PersistableBusinessObject> businessObjectClass)
|
void |
truncateTable(String tableName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected org.apache.log4j.Logger LOG
PostDataLoadEncryptionServiceImpl
public PostDataLoadEncryptionServiceImpl()
checkArguments
public void checkArguments(Class<? extends PersistableBusinessObject> businessObjectClass,
Set<String> attributeNames)
- Specified by:
checkArguments
in interface PostDataLoadEncryptionService
checkArguments
public void checkArguments(Class<? extends PersistableBusinessObject> businessObjectClass,
Set<String> attributeNames,
boolean checkOjbEncryptConfig)
- Specified by:
checkArguments
in interface PostDataLoadEncryptionService
createBackupTable
public void createBackupTable(Class<? extends PersistableBusinessObject> businessObjectClass)
- Specified by:
createBackupTable
in interface PostDataLoadEncryptionService
prepClassDescriptor
public void prepClassDescriptor(Class<? extends PersistableBusinessObject> businessObjectClass,
Set<String> attributeNames)
- Specified by:
prepClassDescriptor
in interface PostDataLoadEncryptionService
truncateTable
public void truncateTable(Class<? extends PersistableBusinessObject> businessObjectClass)
- Specified by:
truncateTable
in interface PostDataLoadEncryptionService
encrypt
public void encrypt(PersistableBusinessObject businessObject,
Set<String> attributeNames)
- Specified by:
encrypt
in interface PostDataLoadEncryptionService
restoreClassDescriptor
public void restoreClassDescriptor(Class<? extends PersistableBusinessObject> businessObjectClass,
Set<String> attributeNames)
- Specified by:
restoreClassDescriptor
in interface PostDataLoadEncryptionService
restoreTableFromBackup
public void restoreTableFromBackup(Class<? extends PersistableBusinessObject> businessObjectClass)
- Specified by:
restoreTableFromBackup
in interface PostDataLoadEncryptionService
dropBackupTable
public void dropBackupTable(Class<? extends PersistableBusinessObject> businessObjectClass)
- Specified by:
dropBackupTable
in interface PostDataLoadEncryptionService
doesBackupTableExist
public boolean doesBackupTableExist(String tableName)
- Specified by:
doesBackupTableExist
in interface PostDataLoadEncryptionService
createBackupTable
public void createBackupTable(String tableName)
- Specified by:
createBackupTable
in interface PostDataLoadEncryptionService
truncateTable
public void truncateTable(String tableName)
- Specified by:
truncateTable
in interface PostDataLoadEncryptionService
retrieveUnencryptedColumnValuesFromBackupTable
public List<Map<String,String>> retrieveUnencryptedColumnValuesFromBackupTable(String tableName,
List<String> columnNames,
int numberOfRowsToCommitAfter)
- Specified by:
retrieveUnencryptedColumnValuesFromBackupTable
in interface PostDataLoadEncryptionService
performEncryption
public boolean performEncryption(String tableName,
List<Map<String,String>> rowsToEncryptColumnsNameValueMap)
throws Exception
- Specified by:
performEncryption
in interface PostDataLoadEncryptionService
- Throws:
Exception
getColumnNamesEncryptedValues
public Map<String,List<String>> getColumnNamesEncryptedValues(String tableName,
Map<String,String> columnNamesValues)
restoreTableFromBackup
public void restoreTableFromBackup(String tableName)
- Specified by:
restoreTableFromBackup
in interface PostDataLoadEncryptionService
dropBackupTable
public void dropBackupTable(String tableName)
- Specified by:
dropBackupTable
in interface PostDataLoadEncryptionService
setPostDataLoadEncryptionDao
public void setPostDataLoadEncryptionDao(PostDataLoadEncryptionDao postDataLoadEncryptionDao)
setEncryptionService
public void setEncryptionService(EncryptionService encryptionService)
setBusinessObjectService
public void setBusinessObjectService(BusinessObjectService businessObjectService)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.