Coverage Report - org.kuali.student.r2.common.util.constants.ProcessServiceConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
ProcessServiceConstants
0%
0/8
N/A
0
 
 1  
 /**
 2  
  * Copyright 2011 The Kuali Foundation Licensed under the Educational Community
 3  
  * License, Version 2.0 (the "License"); you may not use this file except in
 4  
  * compliance with the License. You may obtain a copy of the License at
 5  
  * http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or
 6  
  * agreed to in writing, software distributed under the License is distributed
 7  
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 8  
  * express or implied. See the License for the specific language governing
 9  
  * permissions and limitations under the License.
 10  
  */
 11  
 package org.kuali.student.r2.common.util.constants;
 12  
 
 13  
 import org.kuali.student.r2.common.constants.CommonServiceConstants;
 14  
 import org.kuali.student.r2.core.process.dto.CheckInfo;
 15  
 import org.kuali.student.r2.core.process.dto.InstructionInfo;
 16  
 import org.kuali.student.r2.core.process.dto.ProcessCategoryInfo;
 17  
 import org.kuali.student.r2.core.process.dto.ProcessInfo;
 18  
 
 19  
 /**
 20  
  * This class holds the constants used by the Process service.
 21  
  * 
 22  
  * @author tom
 23  
  */
 24  0
 public class ProcessServiceConstants {
 25  
 
 26  
     /**
 27  
      * Reference Object URI's
 28  
      */
 29  
     public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "process";
 30  0
     public static final String REF_OBJECT_URI_PROCESS_CATEGORY = NAMESPACE + "/" + ProcessCategoryInfo.class.getSimpleName();
 31  0
     public static final String REF_OBJECT_URI_PROCESS = NAMESPACE + "/" + ProcessInfo.class.getSimpleName();
 32  0
     public static final String REF_OBJECT_URI_CHECK = NAMESPACE + "/" + CheckInfo.class.getSimpleName();
 33  0
     public static final String REF_OBJECT_URI_INSTRUCTION = NAMESPACE + "/" + InstructionInfo.class.getSimpleName();
 34  
     /**
 35  
      * ProcessCategory types
 36  
      */
 37  
     public static final String PROCESS_CATEGORY_TYPE_KEY_CATEGORY = "kuali.process.category.type";
 38  
     /**
 39  
      * Process types
 40  
      */
 41  
     public static final String PROCESS_TYPE_KEY = "kuali.process.process.type";
 42  
     /**
 43  
      * Check types
 44  
      */
 45  
     public static final String HOLD_CHECK_TYPE_KEY = "kuali.process.check.type.hold";
 46  
     public static final String START_DATE_CHECK_TYPE_KEY = "kuali.process.check.type.milestone.startdate";
 47  
     public static final String DEADLINE_CHECK_TYPE_KEY = "kuali.process.check.type.milestone.deadline";
 48  
     public static final String TIME_PERIOD_CHECK_TYPE_KEY = "kuali.process.check.type.milestone.period";
 49  
     public static final String PROCESS_CHECK_TYPE_KEY = "kuali.process.check.type.process";
 50  
     public static final String DIRECT_RULE_CHECK_TYPE_KEY = "kuali.process.check.type.rule.direct";
 51  
     public static final String INDIRECT_RULE_CHECK_TYPE_KEY = "kuali.process.check.type.rule.indirect";
 52  
     public static final String EQUAL_VALUE_CHECK_TYPE_KEY = "kuali.process.check.type.value.equals";
 53  
     public static final String MAXIMUM_VALUE_CHECK_TYPE_KEY = "kuali.process.check.type.value.max";
 54  
     public static final String MINIMUM_VALUE_CHECK_TYPE_KEY = "kuali.process.check.type.value.min";
 55  
     /**
 56  
      * Instruction types
 57  
      */
 58  
     public static final String INSTRUCTION_TYPE_KEY = "kuali.process.instruction.type ";
 59  
     /**
 60  
      * States for Process Categories
 61  
      */
 62  
     public static final String PROCESS_CATEGORY_LIFECYCLE_KEY = "kuali.process.process.category.lifecycle";
 63  
     /***
 64  
      * Process Category Types
 65  
      */
 66  
     public static final String PROCESS_CATEGORY_STUDENT_ELIGIBILITY = "IS_STUDENT_ELIGIBLE_FOR_REGISTRATION";
 67  
     /**
 68  
      * Dummy Process Owner Organization
 69  
      */
 70  
     public static final String PROCESS_OWNING_ORG_GRAD_SCHOOL = "GRAD_SCHOOL_ORG";
 71  
     /**
 72  
      * States for Processes
 73  
      */
 74  
     public static final String PROCESS_LIFECYCLE_KEY = "kuali.process.process.lifecycle";
 75  
     public static final String PROCESS_ENABLED_STATE_KEY = "kuali.process.process.state.enabled";
 76  
     public static final String PROCESS_DISABLED_STATE_KEY = "kuali.process.process.state.disabled";
 77  
     public static final String PROCESS_INACTIVE_STATE_KEY = "kuali.process.process.state.inactive";
 78  0
     public static final String[] PROCESS_LIFECYCLE_KEYS = {PROCESS_ENABLED_STATE_KEY, PROCESS_DISABLED_STATE_KEY, PROCESS_INACTIVE_STATE_KEY};
 79  
     /**
 80  
      * States for Checks
 81  
      */
 82  
     public static final String CHECK_LIFECYCLE_KEY = "kuali.process.check.lifecycle";
 83  
     public static final String PROCESS_CHECK_STATE_ENABLED = "kuali.process.check.state.enabled";
 84  
     public static final String PROCESS_CHECK_STATE_DISABLED = "kuali.process.check.state.disabled";
 85  
     public static final String PROCESS_CHECK_STATE_INACTIVE = "kuali.process.check.state.inactive";
 86  0
     public static final String[] CHECK_LIFECYCLE_KEYS = {PROCESS_CHECK_STATE_ENABLED, PROCESS_CHECK_STATE_DISABLED, PROCESS_CHECK_STATE_INACTIVE};
 87  
     /**
 88  
      * States for Instructions
 89  
      */
 90  
     public static final String INSTRUCTION_LIFECYCLE_KEY = "kuali.process.instruction.lifecycle";
 91  
     public static final String INSTRUCTION_ENABLED_STATE_KEY = "kuali.process.instruction.state.enabled";
 92  
     public static final String INSTRUCTION_DISABLED_STATE_KEY = "kuali.process.instruction.state.disabled";
 93  0
     public static final String[] INSTRUCTION_LIFECYCLE_KEYS = {INSTRUCTION_ENABLED_STATE_KEY, INSTRUCTION_DISABLED_STATE_KEY};
 94  
     /**
 95  
      * known process keys
 96  
      */
 97  
     public static final String PROCESS_KEY_BASIC_ELIGIBILITY = "kuali.process.registration.basic.eligibility";
 98  
     public static final String PROCESS_KEY_ELIGIBILITY_FOR_TERM = "kuali.process.registration.eligibility.for.term";
 99  
     public static final String PROCESS_KEY_HOLDS_CLEARED = "kuali.process.registration.holds.cleared";
 100  
     public static final String PROCESS_KEY_ACKNOWLEDGEMENTS_CONFIRMED = "kuali.process.registration.acknowledgements.confirmed";
 101  
     public static final String PROCESS_KEY_ELIGIBLE_FOR_COURSE = "kuali.process.registration.eligible.for.course";
 102  
     public static final String PROCESS_KEY_ELIGIBLE_FOR_COURSES = "kuali.process.registration.eligible.for.courses";
 103  
     public static final String PROCESS_KEY_REGISTER_FOR_COURSES = "kuali.process.registration.register.for.courses";
 104  
     public static final String PROCESS_KEY_VIEW_GRADES = "kuali.process.acad.record.view.grades";
 105  
     public static final String PROCESS_KEY_VIEW_GRADES_FOR_TERM = "kuali.process.acad.record.view.grades.for.term";
 106  
     public static final String PROCESS_KEY_VIEW_COURSE_GRADE = "kuali.process.acad.record.view.course.grade";
 107  
     /**
 108  
      * known check keys
 109  
      */
 110  
     public static final String CHECK_KEY_IS_ALIVE = "kuali.check.is.alive";
 111  
     public static final String CHECK_KEY_HAS_BEEN_ADMITTED = "kuali.check.has.been.admitted";
 112  
     public static final String CHECK_KEY_HAS_CONFIRMED_INTEND_TO_ATTEND = "kuali.check.has.confirmed.intend.to.attend";
 113  
     public static final String CHECK_KEY_HAS_NOT_BEEN_EXPELLED = "kuali.check.has.not.been.expelled";
 114  
     public static final String CHECK_KEY_HAS_OVERDUE_LIBRARY_BOOK = "kuali.check.has.overdue.library.book";
 115  
     public static final String CHECK_KEY_HAS_UNPAID_LIBRARY_FINE = "kuali.check.has.unpaid.library.fine";
 116  
     public static final String CHECK_KEY_HAS_NOT_PAID_BILL_FROM_PRIOR_TERM = "kuali.check.has.not.paid.bill.from.prior.term";
 117  
     public static final String CHECK_KEY_HAS_ACKNOWLEDGED_RIAA = "kuali.check.has.acknowledged.riaa";
 118  
     public static final String CHECK_KEY_HAS_ACKNOWLEDGED_HONOR_CODE = "kuali.check.has.acknowledged.honor.code";
 119  
     public static final String CHECK_KEY_HAS_VERIFIED_EMERGENCY_CONTACT_DATA = "kuali.check.has.verified.emergency.contact.data";
 120  
     public static final String CHECK_KEY_HAS_APPLIED_TO_GRADUATE = "kuali.check.has.applied.to.graduate";
 121  
     public static final String CHECK_KEY_STUDENT_HAS_BASIC_ELIGIBILITY = "kuali.check.student.has.basic.eligibility";
 122  
     public static final String CHECK_KEY_IS_STUDENT_EXPECTED_IN_TERM = "kuali.check.is.student.expected.in.term";
 123  
     public static final String CHECK_KEY_REGISTRATION_PERIOD_IS_OPEN = "kuali.check.registration.period.is.open";
 124  
     public static final String CHECK_KEY_REGISTRATION_PERIOD_IS_NOT_CLOSED = "kuali.check.registration.period.is.not.closed";
 125  
     public static final String CHECK_KEY_REGISTRATION_HOLDS_CLEARED = "kuali.check.registration.holds.cleared";
 126  
     public static final String CHECK_KEY_ACKNOWLEDGEMENTS_CONFIRMED = "kuali.check.acknowledgements.confirmed";
 127  
     public static final String CHECK_KEY_MAX_TOTAL_CREDITS_ALLOWED = "kuali.check.max.total.credits.allowed";
 128  
     public static final String CHECK_KEY_INTERNATIONAL_STUDENT_CHECK_IN = "kuali.check.international.student.check.in";
 129  
     public static final String CHECK_KEY_IS_NOT_SUMMER_TERM = "kuali.check.is.not.summer.term";
 130  
     public static final String CHECK_KEY_MANDATORY_ADVISING_CHECK = "kuali.check.mandatory.advising.check";
 131  
     public static final String CHECK_KEY_UNRESOLVED_INCOMPLETE_GRADES = "kuali.check.unresolved.incomplete.grades";
 132  
     public static final String CHECK_KEY_ELIGIBILITY_FOR_TERM = "kuali.check.eligibility.for.term";
 133  
     public static final String CHECK_KEY_HAS_THE_NECESSARY_PREREQ = "kuali.check.has.the.necessary.prereq";
 134  
     public static final String CHECK_KEY_IS_ELIGIBLE_FOR_THE_COURSE_OFFERING = "kuali.check.is.eligible.for.the.course.offering";
 135  
     public static final String CHECK_KEY_NORTH_STUDENTS_MAX_SOUTH_CREDITS = "kuali.check.north.students.max.south.credits";
 136  
     public static final String CHECK_KEY_SOUTH_STUDENTS_MAX_NORTH_CREDITS = "kuali.check.south.students.max.north.credits";
 137  
     public static final String CHECK_KEY_STUDENT_HAS_ELIGIBILITY_FOR_EACH_COURSE = "kuali.check.student.has.eligibility.for.each.course";
 138  
     public static final String CHECK_KEY_DOES_NOT_EXCEED_CREDIT_LIMIT = "kuali.check.does.not.exceed.credit.limit";
 139  
     public static final String CHECK_KEY_DOES_NOT_MEET_CREDIT_MINIMUM = "kuali.check.does.not.meet.credit.minimum";
 140  
     public static final String CHECK_KEY_DOES_NOT_HAVE_A_TIME_CONFLICT = "kuali.check.does.not.have.a.time.conflict";
 141  
     public static final String CHECK_KEY_TOO_MANY_COURSES_DURING_INITIAL_REGISTRATION_PERIOD = "kuali.check.too.many.courses.during.initial.registration.period";
 142  
     public static final String CHECK_KEY_STUDENT_IS_ELIGIBLE_FOR_THE_COURSES = "kuali.check.student.is.eligible.for.the.courses";
 143  
     public static final String CHECK_KEY_IS_STUDENTS_REGISTRATION_WINDOW = "kuali.check.is.students.registration.window";
 144  
     public static final String CHECK_KEY_COURSE_HAS_ROOM_FOR_STUDENT_IN_A_SEATPOOL = "kuali.check.course.has.room.for.student.in.a.seatpool";
 145  
     public static final String CHECK_KEY_GRADES_HAVE_BEEN_SUBMITTED_FOR_COURSE = "kuali.check.grades.have.been.submitted.for.course";
 146  
     public static final String CHECK_KEY_HAS_COMPLETED_COURSE_EVALUATION = "kuali.check.has.completed.course.evaluation";
 147  
 }