1 package org.kuali.rice.kim.impl.data;
2
3 import java.util.List;
4
5 /**
6 * A simple service for checking integrity of KIM data and for performing automatic repair of the data if issues are
7 * found.
8 *
9 * @author Eric Westfall
10 */
11 public interface DataIntegrityService {
12
13 /**
14 * Performs and integrity check on KIM data, returning a list of messages.
15 *
16 * @return a list of messages detailing the results of the integrity check
17 */
18 List<String> checkIntegrity();
19
20 /**
21 * Executes any automatic repair of data integrity issues on KIM data, returning a list of messages.
22 *
23 * @return a list of messages detailing the results of the data repair
24 */
25 List<String> repair();
26
27 }