1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.devtools.pdle;
17
18 import org.kuali.rice.krad.bo.PersistableBusinessObject;
19
20 import java.util.Set;
21
22 public interface PostDataLoadEncryptionService {
23
24 static final String POST_DATA_LOAD_ENCRYPTION_SERVICE = "postDataLoadEncryptionService";
25
26 void checkArguments(Class<? extends PersistableBusinessObject> businessObjectClass, Set<String> attributeNames);
27
28 void checkArguments(Class<? extends PersistableBusinessObject> businessObjectClass, Set<String> attributeNames, boolean checkOjbEncryptConfig);
29
30 void createBackupTable(Class<? extends PersistableBusinessObject> businessObjectClass);
31
32 void prepClassDescriptor(Class<? extends PersistableBusinessObject> businessObjectClass, Set<String> attributeNames);
33
34 void truncateTable(Class<? extends PersistableBusinessObject> businessObjectClass);
35
36 void encrypt(PersistableBusinessObject businessObject, Set<String> attributeNames);
37
38 void restoreClassDescriptor(Class<? extends PersistableBusinessObject> businessObjectClass, Set<String> attributeNames);
39
40 void restoreTableFromBackup(Class<? extends PersistableBusinessObject> businessObjectClass);
41
42 void dropBackupTable(Class<? extends PersistableBusinessObject> businessObjectClass);
43 }