1 /*
2 * Copyright 2010 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the
5 * "License"); you may not use this file except in compliance with the
6 * License. You may obtain a copy of the License at
7 *
8 * http://www.osedu.org/licenses/ECL-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 * implied. See the License for the specific language governing
14 * permissions and limitations under the License.
15 */
16
17 package org.kuali.student.enrollment.courseoffering.infc;
18
19 import org.kuali.student.r2.common.infc.ValidationResult;
20
21 import java.util.List;
22
23 /**
24 * AOClusterVerifyResults is a collection of information gleaned from the
25 * verification of an ActivityOfferingCluster
26 *
27 * @author Sri komandur@uw.edu
28 */
29 public interface AOClusterVerifyResults {
30
31 /**
32 * The number of registration groups that exist
33 *
34 * @name Existing RG Count
35 */
36 public Integer getExistingRGCount();
37
38 /**
39 * The number of valid registration groups that exist
40 *
41 * @name Valid RG Count
42 * @impl Invalid RGs: time conflicts and canceled ActivityOfferings
43 */
44 public Integer getValidRGCount();
45
46 /**
47 * Indicates if regeneration is needed
48 *
49 * @name Is Regeneration Needed
50 */
51 public Boolean getIsRegenerationNeeded();
52
53 /**
54 * Validation result messages
55 *
56 * @name Validation Results
57 */
58 public List<? extends ValidationResult> getValidationResults();
59 }