View Javadoc

1   /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  
16  package org.kuali.student.lum.common.client.lu;
17  
18  
19  
20  /**
21   * List of constants used in the Lum UI  
22   * 
23   * @author Kuali Student Team (kuali-student@googlegroups.com)
24   *
25   */
26  public class LUUIConstants {
27  
28  	// FIXME: Duplicated from lum-api LUConstants
29  		    public final static String COURSE_GROUP_NAME = "course";
30  		    public final static String CLU_TYPE_CREDIT_COURSE = "kuali.lu.type.CreditCourse";
31  		    public final static String PROGRAM_GROUP_NAME = "program";    
32  		    public final static String PROPOSAL_TYPE_PROGRAM_CREATE = "kuali.proposal.type.program.create";
33  		    public final static String CLU_TYPE_CREDIT_PROGRAM = "kuali.lu.type.CreditProgram";    
34  		    
35  			// found this in https://test.kuali.org/confluence/display/KULSTU/LuConfig.Types.LuLuRelationType
36  		    public final static String LU_LU_RELATION_TYPE_HAS_COURSE_FORMAT = "luLuRelationType.hasCourseFormat";
37  		    public final static String LU_LU_RELATION_TYPE_CONTAINS = "luLuRelationType.contains";
38  		    public final static String LU_LU_RELATION_TYPE_CROSS_LISTED = "luLuRelationType.alias";
39  		    public final static String LU_LU_RELATION_TYPE_JOINTLY_OFFERED = "luLuRelationType.colocated";
40  			    
41  		    // Dictionary definitions
42  		    public static final String STRUCTURE_CLU_INFO = "org.kuali.student.lum.lu.dto.CluInfo";
43  		    public static final String STRUCTURE_CLU_ID_INFO = "org.kuali.student.lum.lu.dto.CluIdentifierInfo";
44  		    public static final String STRUCTURE_PROPOSAL_INFO = "org.kuali.student.lum.proposal.dto.ProposalInfo";
45  		
46  			public static final String REF_DOC_RELATION_PROPOSAL_TYPE = "kuali.org.RefObjectType.ProposalInfo";
47  	
48      //Section names
49      public static final String COURSE_SECTIONS = "Course Sections";
50      public static final String SECTION_PROPOSAL_INFORMATION = "Proposal Information";
51      public static final String SECTION_AUTHORS_AND_COLLABORATORS = "cluAuthorsAndCollaborators";
52      public static final String SECTION_GOVERNANCE = "Governance";
53      public static final String SECTION_COURSE_LOGISTICS = "Course Logistics";
54  
55      public static final String SECTION_ACADEMIC_CONTENT = "Academic Content";
56      public static final String SECTION_COURSE_INFORMATION = "Course Information";
57      public static final String SECTION_LEARNING_OBJECTIVES = "Learning Objectives";
58      public static final String SECTION_SYLLABUS = "Syllabus";
59      public static final String SECTION_LEARNING_RESULTS = "Learning Results";
60  
61      public static final String SECTION_STUDENT_ELIGIBILITY = "Student Eligibility";
62      public static final String SECTION_COURSE_RESTRICTIONS = "Course Restrictions";
63      public static final String SECTION_PREQS_AND_CREQS = "Pre + Co Requisites";
64      public static final String SECTION_COURSE_REQUISITES = "Course Requisites";
65  
66      public static final String SECTION_ADMINISTRATIVE = "Administrative";
67      public static final String SECTION_CREDITS = "Credits";
68      public static final String SECTION_ACTIVE_DATES = "Active Dates";
69      public static final String SECTION_FINANCIALS = "Financials";
70      public static final String SECTION_PROGRAM_REQUIREMENTS = "Program Requirements";    
71      
72      //Tools
73      public static final String TOOL_COMMENTS_LABEL_KEY = "toolComments";
74      public static final String TOOL_DECISION_LABEL_KEY = "toolDecision";
75      public static final String TOOL_DOCUMENTS_LABEL_KEY = "toolDocuments";
76      public static final String SECTION_ATTACHMENTS = "Attachments";
77      public static final String SECTION_SUPPORTING_DOCUMENTS = "Supporting Documents";
78     
79      //Styles
80      public static final String STYLE_SECTION = "KS-LUM-Section";
81      public static final String STYLE_SECTION_DIVIDER = "KS-LUM-Section-Divider";
82      public static final String STYLE_BOTTOM_DIVIDER = "KS-LUM-Bottom-Divider";
83      public static final String STYLE_TOP_DIVIDER = "KS-LUM-Top-Divider";
84      
85      // Message keys for top-level section label lookup
86      public static final String COURSE_INFORMATION_LABEL_KEY = "cluCourseInformation";
87      public static final String ACADEMIC_CONTENT_LABEL_KEY = "cluAcademicContent";
88      public static final String STUDENT_ELIGIBILITY_LABEL_KEY = "cluStudentEligibility";
89      public static final String ADMINISTRATION_LABEL_KEY = "cluAdministration";
90      
91  
92      public static final String PROPOSAL_TITLE_LABEL_KEY = "cluProposalTitle";
93      public static final String PROPOSAL_DIRECTIONS_LABEL_KEY = "cluProposalDirections";
94      public static final String PROPOSAL_PERSON_LABEL_KEY = "cluProposalPerson";
95      public static final String PROPOSAL_RATIONALE_LABEL_KEY = "cluProposalRationale";
96      public static final String PROPOSAL_TITLE_SECTION_LABEL_KEY = "cluProposalTitleSection";
97      
98      //Authors & Rationale Labels
99      public static final String AUTHORS_RATIONAL = "cluAuthorsRationale";
100        
101     public static final String EDIT_TAB_LABEL_KEY = "cluEditTab";
102     
103     //Summary labels
104     public static final String SUMMARY_LABEL_KEY = "cluSummary";
105     public static final String BRIEF_LABEL_KEY = "cluBrief";
106     public static final String FULL_VIEW_LABEL_KEY = "cluFullView";
107     public static final String PROPOSER_LABEL_KEY = "cluProposer";
108     public static final String DELEGATE_LABEL_KEY = "cluDelegate";
109     public static final String COLLABORATORS_LABEL_KEY = "cluCollaborators";
110     
111     // Governance labels
112     public static final String GOVERNANCE_LABEL_KEY = "cluGovernance";
113     public static final String ACADEMIC_SUBJECT_ORGS_KEY = "cluCurriculumOversight";
114     public static final String CAMPUS_LOCATION_LABEL_KEY = "cluCampusLocation";
115     public static final String ADMIN_ORGS_LABEL_KEY = "cluAdminOrgs";
116     public static final String ADMIN_ORG_LABEL_KEY = "cluAdminOrg";
117     public static final String ALT_ADMIN_ORG_LABEL_KEY = "cluAltAdminOrg";
118 
119     // Active Dates Labels
120     public static final String START_TERM_LABEL_KEY = "cluStartTerm";
121     public static final String END_TERM_LABEL_KEY = "cluEndTerm";
122     public static final String PILOT_COURSE_LABEL_KEY = "cluPilotCourse";
123     public static final String PILOT_COURSE_TEXT_LABEL_KEY = "cluPilotCourseText";
124     
125     public static final String PROPOSAL_PREV_START_TERM = "previousStartTerm";
126     public static final String PROPOSAL_PREV_END_TERM = "previousEndTerm";
127     public static final String FINAL_APPROVAL_DIALOG = "finalApprovalProposalStartTermDialogue";
128     public static final String PROPOSAL_START_TERM = "proposalStartTerm";
129     
130     
131     //Logistics labels
132     public static final String LOGISTICS_LABEL_KEY = "cluLogistics";
133     public static final String INSTRUCTORS_LABEL_KEY = "cluInstructors";
134     public static final String INSTRUCTOR_LABEL_KEY = "cluInstructor";
135     
136     public static final String CREDITS_LABEL_KEY = "cluCredits";
137     public static final String CREDIT_LABEL_KEY = "cluCredit";
138     public static final String CREDIT_VALUE_LABEL_KEY = "cluCreditValue";
139     public static final String MAX_CREDITS_LABEL_KEY = "cluMaxCredits";
140     
141     // Learning Results Labels
142     public static final String LEARNING_RESULTS_LABEL_KEY = "cluLearningResults";
143     public static final String LEARNING_RESULTS_GRADES_ASSESSMENTS_LABEL_KEY = "cluLearningResultGradesAssessments";
144     public static final String LEARNING_RESULTS_STUDENT_REGISTRATION_LABEL_KEY = "cluLearningResultStudentRegistration";
145     public static final String LEARNING_RESULT_ASSESSMENT_SCALE_LABEL_KEY = "cluLearningResultAssessmentScale";
146     public static final String LEARNING_RESULT_OUTCOMES_LABEL_KEY = "cluLearningResultOutcomes";
147     public static final String LEARNING_RESULT_FINAL_EXAM_LABEL_KEY = "cluLearningResultFinalExam";
148     public static final String ADD_LEARNING_RESULT_ASSESSMENT_SCALE_LABEL_KEY = "cluAddLearningResultAssessmentScale";
149 	public static final String LEARNING_RESULT_AUDIT_LABEL_KEY = "cluLearningResultAudit";
150 	public static final String LEARNING_RESULT_AUDIT_TEXT_LABEL_KEY = "cluLearningResultAuditText";
151 	public static final String LEARNING_RESULT_PASS_FAIL_LABEL_KEY = "cluLearningResultPassFail";
152 	public static final String LEARNING_RESULT_PASS_FAIL_TEXT_LABEL_KEY = "cluLearningResultPassFailText";
153     public static final String ADD_LEARNING_RESULT_OUTCOME_LABEL_KEY = "cluAddLearningResultOutcome";
154     public static final String LEARNING_RESULT_OUTCOME_LABEL_KEY = "cluLearningResultOutcome";
155     public static final String LEARNING_RESULT_OUTCOME_TYPE_LABEL_KEY = "cluLearningResultOutcomeType";
156     public static final String LEARNING_RESULT_STUDENT_REGI_OPTIONS_LABEL_KEY = "cluLearningResultsStudentRegiOptions";
157     public static final String CREDIT_OPTION_FIXED_CREDITS_LABEL_KEY = "cluLearningResultsOutcomeFixedCredits";
158     public static final String CREDIT_OPTION_MIN_CREDITS_LABEL_KEY = "cluLearningResultsOutcomeMinCredits";
159     public static final String CREDIT_OPTION_MAX_CREDITS_LABEL_KEY = "cluLearningResultsOutcomeMaxCredits";
160     public static final String CREDIT_HOURS_LABEL_KEY = "cluCreditHours";
161     
162     public static final String SCHEDULING_LABEL_KEY = "cluScheduling";  
163     public static final String FORMATS_LABEL_KEY = "cluFormats";
164     public static final String FORMAT_LABEL_KEY = "cluFormat";
165     public static final String COURSE_ADD_FORMAT_LABEL_KEY = "cluAddFormat";
166     public static final String ADD_ACTIVITY_LABEL_KEY = "cluAddActivity";
167     public static final String ACTIVITY_LITERAL_LABEL_KEY = "cluActivityLiteral";
168     public static final String ACTIVITY_TYPE_LABEL_KEY = "cluActivityType";
169     public static final String CONTACT_HOURS_LABEL_KEY = "cluContactHours";
170     public static final String CONTACT_HOURS_FREQUENCY_LABEL_KEY = "cluContactFrequency";
171     public static final String CLASS_SIZE_LABEL_KEY = "cluClassSize";
172 
173     //Information labels
174     public static final String INFORMATION_LABEL_KEY = "cluInformation";
175     
176     public static final String IDENTIFIERS_LABEL_KEY = "cluIdentifiers";
177     public static final String IDENTIFIER_LABEL_KEY = "cluIdentifier";
178     public static final String ALT_IDENTIFIER_LABEL_KEY = "cluAltIdentifier";
179     public static final String DIVISION_LABEL_KEY = "cluDivision";
180     public static final String SUFFIX_CODE_LABEL_KEY = "cluSuffixCode";
181     public static final String CODE_LABEL_KEY = "cluCode";
182     public static final String TITLE_LITERAL_LABEL_KEY = "cluTitleLiteral";
183     public static final String TITLE_LABEL_KEY = "cluTitle";
184     public static final String COURSE_TITLE_LABEL_KEY = "courseTitle";
185     public static final String SUBJECT_CODE_LABEL_KEY = "cluSubjectCode";
186     public static final String LEVEL_LABEL_KEY = "cluLevel";
187     
188     public static final String SHORT_TITLE_LABEL_KEY = "cluShortTitle";
189     public static final String DESCRIPTION_LABEL_KEY = "cluDescription";
190     public static final String DESCRIPTION_LABEL_LABEL_KEY = "cluDescriptionLabel";
191     public static final String STATUS_LABEL_KEY = "cluStatus";
192     
193     public static final String CROSS_LISTED_LABEL_KEY = "cluCrosslisted";
194     public static final String CROSS_LISTED_ITEM_LABEL_KEY = "cluCrosslistedItem";
195     public static final String CROSS_LISTED_ALT_LABEL_KEY = "cluCrosslistedAlt";
196     public static final String ADD_CROSS_LISTED_LABEL_KEY = "cluAddCrosslisted";
197 
198     public static final String CL_V_J_LABEL_KEY = "cluCrossListedVersionJoin";
199     public static final String JOINT_OFFER_ITEM_LABEL_KEY = "cluJointOfferItem";
200     public static final String JOINT_OFFERINGS_LABEL_KEY = "cluJointOfferings";
201     public static final String JOINT_OFFERINGS_SECTION_TITLE_LABEL_KEY = "cluJointOfferingsSectionTitle";
202     public static final String JOINT_OFFERINGS_ALT_LABEL_KEY = "cluJointOfferingsAlt";
203     public static final String EVALUATION_TYPE_LABEL_KEY = "cluEvaluationType";
204     public static final String TERM_LITERAL_LABEL_KEY = "cluTermLiteral";
205     public static final String DURATION_LITERAL_LABEL_KEY = "cluDurationLiteral";
206     public static final String FINAL_EXAM_LABEL_KEY = "cluFinalExam";
207     public static final String FINAL_EXAM_STATUS_LABEL_KEY = "cluFinalExamStatus";
208     public static final String FINAL_EXAM_RATIONALE_LABEL_KEY = "cluFinalExamRationale";
209 
210     public static final String VERSION_CODE_LABEL_KEY = "cluVersionCode";
211     public static final String VERSION_CODES_LABEL_KEY = "cluVersionCodes";
212     public static final String ADD_VERSION_CODE_LABEL_KEY = "cluAddVersionCode";
213     public static final String COURSE_NUMBER_LABEL_KEY = "cluCourseNumber";
214     public static final String COURSE_NUMBER_OR_TITLE_LABEL_KEY = "cluCourseNumberOrTitle";
215     public static final String ADD_EXISTING_LABEL_KEY = "cluAddExisting";
216     public static final String CROSSLISTED_AND_JOINTS_LABEL_KEY = "crossListedAndJoints";
217 
218     
219     //Learning Objectives  labels
220     public static final String LEARNING_OBJECTIVES_LABEL_KEY = "cluLearningObjectives";
221     public static final String LEARNING_OBJECTIVE_LABEL_KEY = "cluLearningObjective";
222     public static final String LEARNING_OBJECTIVE_LO_NAME_KEY = "cluLOName";
223     public static final String LEARNING_OBJECTIVE_ADD_LABEL_KEY = "cluAddLOs";    
224     public static final String LEARNING_OBJECTIVE_WORD_SEARCH_KEY = "cluLOWordSearch";
225     public static final String LEARNING_OBJECTIVE_CLUCODE_SEARCH_KEY = "cluLOCluCodeSearch";
226     public static final String LO_SEARCH_LINK_KEY = "cluLOSearch";
227     public static final String LO_SEARCH_AGAIN_LINK_KEY = "cluLOSearchAgain";
228     public static final String LO_INSTRUCTIONS_KEY = "cluLOInstructions";
229     public static final String LO_CATEGORY_KEY = "cluLOCategory";
230     public static final String LO_CATEGORY_BROWSE_LABEL_KEY = "cluLOCategoryBrowse";
231     public static final String LO_CATEGORY_BROWSE_POPUP_LABEL_KEY = "cluLOCategoryBrowsePopup";
232 
233     
234     //    public static final String SYLLABUS_LABEL_KEY = "cluSyllabus";
235 
236     //Requisites labels
237     public static final String RESTRICTIONS_LABEL_KEY = "cluCourseRestrictions";
238     public static final String REQUISITES_LABEL_KEY = "cluCourseRequisites";
239     public static final String PREQS_LABEL_KEY = "cluPreRequisites";
240     public static final String CREQS_LABEL_KEY = "cluCoRequisites";
241     public static final String AREQS_LABEL_KEY = "cluAntiRequisites";
242     public static final String EREQS_LABEL_KEY = "cluEnrollRequisites";
243     //Active Dates labels
244     public static final String EFFECTIVE_DATE_LABEL_KEY = "cluEffectiveDate";
245     public static final String ACTIVE_DATES_LABEL_KEY = "cluActiveDates";
246     public static final String START_DATE_LABEL_KEY = "cluStartDate";
247     public static final String START_LABEL_KEY = "cluStart";
248     public static final String END_DATE_LABEL_KEY = "cluEndDate";
249     public static final String EXPIRATION_DATE_LABEL_KEY = "cluExpirationDate";
250     public static final String CREATED_DATE_LABEL_KEY = "cluCreatedDate";
251     public static final String LAST_CHANGED_DATE_LABEL_KEY       = "cluLastChangedDate";
252 
253     //Financials labels
254     public static final String FINANCIALS_LABEL_KEY = "cluFinancials";
255     public static final String FEE_TYPE_LABEL_KEY = "cluFeeType";
256     public static final String FEE_AMOUNT_LABEL_KEY = "cluFeeAmount";
257     public static final String FEE_DESC_LABEL_KEY = "cluFeeDescription";
258     public static final String INTERNAL_FEE_NOTIFICATION_LABEL_KEY = "cluInternalFeeNotification";
259     public static final String CURRENCY_SYMBOL_LABEL_KEY = "cluCurrencySymbol";
260     public static final String TAXABLE_SYMBOL_LABEL_KEY = "cluTaxable";
261 
262     //  Program Requirements  labels
263     public static final String PROGRAM_REQUIREMENTS_LABEL_KEY = "cluProgramRequirements";
264     public static final String GENERAL_REQS_LABEL_KEY = "cluGeneralRequirements";
265     public static final String DEPT_REQS_LABEL_KEY = "cluDeptRequirements";
266     public static final String DEPT_LABEL_KEY = "cluDept";
267 
268     //  View Course labels
269     public static final String CURRENT_VIEW_LABEL_KEY = "cluCurrentView";
270     public static final String COURSE_DETAILS_LABEL_KEY = "cluCourseDetails";
271     public static final String STATE_LABEL_KEY = "cluState";
272     public static final String TYPE_LABEL_KEY = "cluType";
273     public static final String PRIMARY_INSTRUCTOR_LABEL_KEY = "cluPrimaryInstructor";
274     public static final String DISCLOSURE_PANEL_LABEL_KEY = "cluDisclosurePanelHeading";
275     public static final String TERMS_OFFERED_LABEL_KEY = "cluTermsOffered";
276     public static final String DURATION_TYPE_LABEL_KEY = "cluDurationType";
277     public static final String DURATION_QUANTITY_LABEL_KEY = "cluDurationQuantity";
278     public static final String COURSE_FORMATS_DURATION_TYPE_LABEL_KEY = "cluCourseFormatsDurationType"; 
279     public static final String FIRST_OFFERING_KEY = "cluFirstOffering";
280 
281     // Financial labels
282     public static final String COURSE_FEE_TITLE = "cluCourseFeesTitle";
283     public static final String JUSTIFICATION_FEE ="cluJustificationOfFees";
284     public static final String FINANCIAL_INFORMATION ="cluFinancialInformation";
285     public static final String REVENUE = "cluRevenue";
286     public static final String AMOUNT = "cluAmount";
287     public static final String EXPENDITURE = "cluExpenditure";
288     public static final String VARIABLE_RATE ="cluVariableRate";
289     public static final String FIXED_RATE = "cluFixedRate";
290     public static final String MULTIPLE_RATE = "cluMultipleRate";
291     public static final String PER_CREDIT_RATE = "cluPerCreditRate";
292     public static final String LAB_FEE = "cluLabFee";
293     public static final String MATERIAL_FEE = "cluMaterialFee";
294     public static final String STUDIO_FEE = "cluStudioFee";
295     public static final String FIELD_TRIP_FEE = "cluFieldTripFee";
296     public static final String FIELD_STUDY_FEE= "cluFieldStudyFee";
297     public static final String ADMINISTRATIVE_FEE = "cluAdministrativeFee";
298     public static final String COOP_FEE = "cluCoopFee";
299     public static final String GREENS_FEE = "cluGreensFee";
300     public static final String ADD_A_FEE = "cluAddAfee";
301     public static final String TO = "cluTo";
302     public static final String RATE_TYPE = "cluRateType";
303     public static final String ADD_ANOTHER_FEE = "cluAddAnotherFee";     
304     public static final String FEE = "cluFee";
305     public static final String ORGANIZATION = "cluOrganization";
306     public static final String ADD_ANOTHER_ORGANIZATION = "cluAddAnotherOrganization";
307     public static final String PERCENTAGE = "cluPercentage";
308 
309     //Dependency Constants
310     public static final String DEP_TYPE_CROSS_LISTED = "crossListed";
311     public static final String DEP_TYPE_JOINT = "joint";
312     public static final String DEP_TYPE_COURSE_SET = "cluSet";
313     public static final String DEP_SECTION_COURSE = "course";
314     public static final String DEP_SECTION_PROGRAM = "program";
315     public static final String DEP_SECTION_COURSE_SET = "courseSet";
316 
317     //Retirement section constants
318     public static final String RETIREMENT_LABEL_KEY = "retirement";
319 	public static final String RETIREMENT_RATIONALE_LABEL_KEY = "courseRetireRationale";
320 	public static final String LAST_TERM_OFFERED_LABEL_KEY = "courseLastTermOffered";
321 	public static final String LAST_PUBLICATION_YEAR_LABEL_KEY = "coursePublicationYear";
322 	public static final String SPECIAL_CIRCUMSTANCES_LABEL_KEY = "courseSpecialCircumstances";
323 	    
324 	//Retire by Proposal Fields
325 	public static final String PROPOSED_PROPOSAL_TITLE_LABEL_KEY = "courseProposedProposalTitle";  // there is no new field for this one, just new labeling.
326     public static final String OTHER_COMMENTS_LABEL_KEY = "courseOtherComments";
327     public static final String PROPOSED_END_TERM_LABEL_KEY = "courseProposedEndTerm";
328     public static final String PROPOSED_LAST_TERM_OFFERED_LABEL_KEY = "courseProposedLastTermOffered";
329     public static final String PROPOSED_LAST_COURSE_CATALOG_YEAR_LABEL_KEY = "courseProposedLastCatalogYear";
330     public static final String PROPOSED_RETIRE_INFORMATION_LABEL_KEY = "courseProposedRetireInformation";
331 
332 }
333