Coverage Report - org.kuali.student.r2.common.util.constants.LuiServiceConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
LuiServiceConstants
0%
0/8
N/A
0
 
 1  
 /*
 2  
  * Copyright 2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 1.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.opensource.org/licenses/ecl1.php
 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.r2.common.util.constants;
 17  
 
 18  
 import org.kuali.student.enrollment.lui.dto.LuiInfo;
 19  
 import org.kuali.student.enrollment.lui.dto.LuiLuiRelationInfo;
 20  
 import org.kuali.student.r2.common.constants.CommonServiceConstants;
 21  
 
 22  
 /**
 23  
  * Lui Service Constants
 24  
  *
 25  
  * @author Kuali Rice Team (kuali-rice@googlegroups.com)
 26  
  */
 27  0
 public class LuiServiceConstants {
 28  
 
 29  
     public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "lui";
 30  0
     public static final String REF_OBJECT_URI_LUI = NAMESPACE + "/" + LuiInfo.class.getSimpleName();
 31  0
     public static final String REF_OBJECT_URI_LUI_LUI_RELATION = NAMESPACE + "/" + LuiLuiRelationInfo.class.getSimpleName();
 32  
     public static final String LUI_KEY_PREFIX = "kuali.lui";
 33  
 
 34  
     /**
 35  
      * Types
 36  
      */
 37  
 //    public static final String COURSE_BUNDLE_TYPE_KEY = "kuali.lui.type.course.bundle";
 38  
     public static final String COURSE_OFFERING_TYPE_KEY = "kuali.lui.type.course.offering";
 39  
      public static final String FORMAT_OFFERING_TYPE_KEY = "kuali.lui.type.format.offering";
 40  
     public static final String REGISTRATION_GROUP_TYPE_KEY = "kuali.lui.type.registration.group";
 41  
 //    public static final String COURSE_FORMAT_OFFERING_TYPE_KEY = "kuali.lui.type.course.format.offering";
 42  
 
 43  
     /**
 44  
      * Activity types
 45  
      */
 46  
     public static final String LECTURE_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.lecture";
 47  
     public static final String LAB_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.lab";
 48  
     public static final String DISCUSSION_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.discussion";
 49  
     public static final String TUTORIAL_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.tutorial";
 50  
     public static final String WEB_LECTURE_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.weblecture";
 51  
     public static final String WEB_DISCUSS_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.webdiscussion";
 52  
     public static final String DIRECTED_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.directed";
 53  
     public static final String STUDIO_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.studio";
 54  
     public static final String CORRESPOND_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.correspond";
 55  
     public static final String ACTIVITY_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.activity";
 56  
     public static final String COLLOQUIUM_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.colloquium";
 57  
     public static final String DEMONSTRATION_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.demonstration";
 58  
     public static final String FIELD_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.field";
 59  
     public static final String HOMEWORK_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.homework";
 60  
     public static final String INDEPEND_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.independ";
 61  
     public static final String INTERNSHIP_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.internship";
 62  
     public static final String PRIVATE_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.private";
 63  
     public static final String RECITATION_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.recitation";
 64  
     public static final String RESEARCH_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.research";
 65  
     public static final String SELF_PACED_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.selfpaced";
 66  
     public static final String COMP_BASED_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.compbased";
 67  
     public static final String VIDEO_CONF_ACTIVITY_OFFERING_TYPE_KEY = "kuali.lui.type.activity.offering.videoconf";
 68  0
     public static final String[] ALL_ACTIVITY_TYPES = {
 69  
         LECTURE_ACTIVITY_OFFERING_TYPE_KEY,
 70  
         LAB_ACTIVITY_OFFERING_TYPE_KEY,
 71  
         DISCUSSION_ACTIVITY_OFFERING_TYPE_KEY,
 72  
         TUTORIAL_ACTIVITY_OFFERING_TYPE_KEY,
 73  
         WEB_LECTURE_ACTIVITY_OFFERING_TYPE_KEY,
 74  
         WEB_DISCUSS_ACTIVITY_OFFERING_TYPE_KEY,
 75  
         DIRECTED_ACTIVITY_OFFERING_TYPE_KEY,
 76  
         STUDIO_ACTIVITY_OFFERING_TYPE_KEY,
 77  
         CORRESPOND_ACTIVITY_OFFERING_TYPE_KEY,
 78  
         ACTIVITY_ACTIVITY_OFFERING_TYPE_KEY,
 79  
         COLLOQUIUM_ACTIVITY_OFFERING_TYPE_KEY,
 80  
         DEMONSTRATION_ACTIVITY_OFFERING_TYPE_KEY,
 81  
         FIELD_ACTIVITY_OFFERING_TYPE_KEY,
 82  
         HOMEWORK_ACTIVITY_OFFERING_TYPE_KEY,
 83  
         INDEPEND_ACTIVITY_OFFERING_TYPE_KEY,
 84  
         INTERNSHIP_ACTIVITY_OFFERING_TYPE_KEY,
 85  
         PRIVATE_ACTIVITY_OFFERING_TYPE_KEY,
 86  
         RECITATION_ACTIVITY_OFFERING_TYPE_KEY,
 87  
         RESEARCH_ACTIVITY_OFFERING_TYPE_KEY,
 88  
         SELF_PACED_ACTIVITY_OFFERING_TYPE_KEY,
 89  
         COMP_BASED_ACTIVITY_OFFERING_TYPE_KEY,
 90  
         VIDEO_CONF_ACTIVITY_OFFERING_TYPE_KEY};
 91  
 
 92  
     /**
 93  
      * States
 94  
      */
 95  
     public static final String COURSE_OFFERING_PROCESS_KEY = "kuali.course.offering.process";
 96  
     public static final String LUI_DRAFT_STATE_KEY = "kuali.lui.state.draft";
 97  
     public static final String LUI_SUBMITTED_STATE_KEY = "kuali.lui.state.submitted";
 98  
     public static final String LUI_APROVED_STATE_KEY = "kuali.lui.state.approved";
 99  
     public static final String LUI_SCHEDULED_STATE_KEY = "kuali.lui.state.scheduled";
 100  
     public static final String LUI_DELETED_STATE_KEY = "kuali.lui.state.deleted";
 101  
     public static final String LUI_OFFERED_STATE_KEY = "kuali.lui.state.offered";
 102  
     public static final String LUI_CANCELED_STATE_KEY = "kuali.lui.state.canceled";
 103  
     public static final String LUI_SUSPENDED_STATE_KEY = "kuali.lui.state.suspended";
 104  0
     public static final String[] COURSE_OFFERING_PROCESS_STATE_KEYS = {LUI_DRAFT_STATE_KEY,
 105  
         LUI_SUBMITTED_STATE_KEY,
 106  
         LUI_APROVED_STATE_KEY,
 107  
         LUI_SCHEDULED_STATE_KEY,
 108  
         LUI_DELETED_STATE_KEY,
 109  
         LUI_OFFERED_STATE_KEY,
 110  
         LUI_CANCELED_STATE_KEY,
 111  
         LUI_SUSPENDED_STATE_KEY
 112  
     };
 113  
 
 114  
     /**
 115  
      *  LUI LUI Relation types
 116  
      */
 117  
     public static final String LUI_LUI_RELATION_ASSOCIATED_TYPE_KEY = "kuali.lui.lui.relation.associated";
 118  
     public static final String LUI_LUI_RELATION_REGISTEREDFORVIA_TYPE_KEY = "kuali.lui.lui.relation.type.registeredforvia";
 119  
     public static final String LUI_LUI_RELATION_DELIVEREDVIA_TYPE_KEY = "kuali.lui.lui.relation.type.deliveredvia";
 120  
     /**
 121  
      * LUI LUI Relation States
 122  
      */
 123  
     public static final String LUI_LUI_RELATION_PROCESS_KEY = "kuali.lui.lui.relationship.process";
 124  
     public static final String LUI_LUI_RELATION_ACTIVE_STATE_KEY = "kuali.lui.lui.relation.state.active";
 125  
     public static final String LUI_LUI_RELATION_INACTIVE_STATE_KEY = "kuali.lui.lui.relation.state.inactive";
 126  0
     public static final String[] LUI_LUI_RELATION_PROCESS_KEYS = {LUI_LUI_RELATION_ACTIVE_STATE_KEY,
 127  
         LUI_LUI_RELATION_INACTIVE_STATE_KEY};
 128  
     
 129  
     /**
 130  
      *  LUI Capacity types
 131  
      */
 132  
     public static final String SEATPOOL_LUI_CAPACITY_TYPE_KEY = "kuali.lui.capacity.type.seatpool";
 133  
     
 134  
     /**
 135  
      * LUI Capacity States
 136  
      */
 137  
     public static final String LUI_CAPACITY_PROCESS_KEY = "kuali.lui.capacity.process";
 138  
     public static final String LUI_CAPACITY_ACTIVE_STATE_KEY = "kuali.lui.capacity.state.active";
 139  
     public static final String LUI_CAPACITY_INACTIVE_STATE_KEY = "kuali.lui.capacity.state.inactive";
 140  0
     public static final String[] LUI_CAPACITY_PROCESS_KEYS = {LUI_CAPACITY_ACTIVE_STATE_KEY,
 141  
         LUI_CAPACITY_INACTIVE_STATE_KEY};
 142  
 
 143  
     /**
 144  
      *  LUI Identifier types
 145  
      */
 146  
     public static final String LUI_IDENTIFIER_OFFICIAL_TYPE_KEY = "kuali.lui.identifier.type.official";
 147  
     public static final String LUI_IDENTIFIER_CROSSLISTED_TYPE_KEY = "kuali.lui.identifier.type.cross-listed";
 148  
 
 149  
     /**
 150  
      * LUI Identifier States
 151  
      */
 152  
     public static final String LUI_IDENTIFIER_PROCESS_KEY = "kuali.lui.identifier.process";
 153  
     public static final String LUI_IDENTIFIER_ACTIVE_STATE_KEY = "kuali.lui.identifier.state.active";
 154  
     public static final String LUI_IDENTIFIER_INACTIVE_STATE_KEY = "kuali.lui.identifier.state.inactive";
 155  0
     public static final String[] LUI_IDENTIFIER_PROCESS_KEYS = {LUI_IDENTIFIER_ACTIVE_STATE_KEY,
 156  
         LUI_IDENTIFIER_INACTIVE_STATE_KEY};
 157  
     
 158  
     /**
 159  
      *  Waitlist types?
 160  
      */
 161  
     public static final String AUTOMATIC_WAITLIST_TYPE_KEY = "kuali.waitlist.type.automatic";
 162  
     public static final String SEMIAUTOMATIC_WAITLIST_TYPE_KEY = "kuali.waitlist.type.semiautomatic";  
 163  
     public static final String MANUAL_WAITLIST_TYPE_KEY = "kuali.waitlist.type.manual";
 164  
     
 165  
     /**
 166  
      *  Registration ordering types?
 167  
      */
 168  
     public static final String ALL_REGISTRATION_ORDERING_TYPE_KEY = "kuali.registration.ordering.type.all";
 169  
 //    public static final String SEQUENCED_REGISTRATION_ORDERING_TYPE_KEY = "kuali.registration.ordering.type.sequenced";   
 170  
     
 171  
     /**
 172  
      * known lu codes
 173  
      */
 174  
     public static final String HONORS_LU_CODE = "kuali.lu.code.honorsOffering";
 175  
 }