01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in
05: * compliance with the License. You may obtain a copy of the License at
06: *
07: * http://www.opensource.org/licenses/ecl1.php
08: *
09: * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS
10: * IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
11: * language governing permissions and limitations under the License.
12: */
13: package org.kuali.core.service;
14:
15: import java.util.Set;
16:
17: import org.kuali.core.bo.PersistableBusinessObject;
18:
19: public interface PostDataLoadEncryptionService {
20: public void checkArguments(Class businessObjectClass,
21: Set<String> attributeNames);
22:
23: public void createBackupTable(Class businessObjectClass);
24:
25: public void prepClassDescriptor(Class businessObjectClass,
26: Set<String> attributeNames);
27:
28: public void truncateTable(Class businessObjectClass);
29:
30: public void encrypt(PersistableBusinessObject businessObject,
31: Set<String> attributeNames);
32:
33: public void restoreClassDescriptor(Class businessObjectClass,
34: Set<String> attributeNames);
35:
36: public void restoreTableFromBackup(Class businessObjectClass);
37:
38: public void dropBackupTable(Class businessObjectClass);
39: }
|