| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| SocRolloverResult |
|
| 1.0;1 |
| 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 | package org.kuali.student.enrollment.courseofferingset.infc; | |
| 17 | ||
| 18 | import java.util.List; | |
| 19 | import org.kuali.student.r2.common.infc.IdNamelessEntity; | |
| 20 | import org.kuali.student.r2.common.infc.RichText; | |
| 21 | ||
| 22 | /** | |
| 23 | * Read only object that holds the results of a rollover process | |
| 24 | * | |
| 25 | * @author nwright | |
| 26 | */ | |
| 27 | public interface SocRolloverResult | |
| 28 | extends IdNamelessEntity { | |
| 29 | ||
| 30 | /** | |
| 31 | * The id of the source soc | |
| 32 | * | |
| 33 | * @name Source Soc Id | |
| 34 | * @readOnly | |
| 35 | * @required | |
| 36 | * @impl set during the #rolloverSoc operation | |
| 37 | */ | |
| 38 | public String getSourceSocId(); | |
| 39 | ||
| 40 | /** | |
| 41 | * Academic target term of the courses that were rolled over | |
| 42 | * | |
| 43 | * @name Target Term Id | |
| 44 | * @readOnly | |
| 45 | * @required | |
| 46 | * @impl set during the #rolloverSoc operation | |
| 47 | */ | |
| 48 | public String getTargetTermId(); | |
| 49 | ||
| 50 | /** | |
| 51 | * Option Keys specified to control the rollover process | |
| 52 | * | |
| 53 | * @name Option Keys | |
| 54 | * @readOnly | |
| 55 | * @required | |
| 56 | * @impl set during the #rolloverSoc operation | |
| 57 | */ | |
| 58 | public List<String> getOptionKeys(); | |
| 59 | ||
| 60 | /** | |
| 61 | * The id of the target Soc | |
| 62 | * | |
| 63 | * Note: this Soc could have already existed or it may have been created | |
| 64 | * based on the source soc but for the new term. | |
| 65 | * | |
| 66 | * @name Target Soc Id | |
| 67 | * @readOnly | |
| 68 | * @required | |
| 69 | * @impl set during the #rolloverSoc operation | |
| 70 | */ | |
| 71 | public String getTargetSocId(); | |
| 72 | ||
| 73 | /** | |
| 74 | * Number of items processed | |
| 75 | * | |
| 76 | * @name Items Processed | |
| 77 | * @impl set during the #rolloverSoc operation | |
| 78 | */ | |
| 79 | public Integer getItemsProcessed(); | |
| 80 | ||
| 81 | /** | |
| 82 | * Number of items expected to be processed | |
| 83 | * | |
| 84 | * @name Items Expected | |
| 85 | * @impl set during the #rolloverSoc operation | |
| 86 | */ | |
| 87 | public Integer getItemsExpected(); | |
| 88 | ||
| 89 | /** | |
| 90 | * Messages describing details of the status. | |
| 91 | * | |
| 92 | * Often left null if the status is that it is complete. | |
| 93 | * | |
| 94 | * @name Message | |
| 95 | * @impl set during the #rolloverSoc operation | |
| 96 | */ | |
| 97 | public RichText getMessage(); | |
| 98 | ||
| 99 | /** | |
| 100 | * Number of course offerings created | |
| 101 | * | |
| 102 | * @name Course Offerings Created | |
| 103 | * @readOnly | |
| 104 | * @impl set during the #rolloverSoc operation | |
| 105 | */ | |
| 106 | public Integer getCourseOfferingsCreated(); | |
| 107 | ||
| 108 | /** | |
| 109 | * Number of course offerings skipped (not rolled over) | |
| 110 | * | |
| 111 | * @name Course Offerings Skipped | |
| 112 | * @readOnly | |
| 113 | * @impl set during the #rolloverSoc operation | |
| 114 | */ | |
| 115 | public Integer getCourseOfferingsSkipped(); | |
| 116 | ||
| 117 | /** | |
| 118 | * Number of activity offerings created | |
| 119 | * | |
| 120 | * @name Activity Offerings Created | |
| 121 | * @readOnly | |
| 122 | * @impl set during the #rolloverSoc operation | |
| 123 | */ | |
| 124 | public Integer getActivityOfferingsCreated(); | |
| 125 | ||
| 126 | /** | |
| 127 | * Number of activity offerings skipped (not rolled over) | |
| 128 | * | |
| 129 | * @name Activity Offerings Skipped | |
| 130 | * @readOnly | |
| 131 | * @impl set during the #rolloverSoc operation | |
| 132 | */ | |
| 133 | public Integer getActivityOfferingsSkipped(); | |
| 134 | ||
| 135 | /** | |
| 136 | * Get the target term Id | |
| 137 | * | |
| 138 | * @name Source Term Id | |
| 139 | * @readOnly | |
| 140 | * @impl set during the #rolloverSoc operation | |
| 141 | */ | |
| 142 | public String getSourceTermId(); | |
| 143 | } |