View Javadoc

1   package org.kuali.student.lum.program.client;
2   
3   import java.util.Arrays;
4   import java.util.List;
5   
6   
7   /**
8    * @author Igor
9    */
10  public class ProgramConstants {
11      public static final String PROGRAM_MODEL_ID = "programModelId";
12      public static final String CREDENTIAL_PROGRAM_ID = "credentialProgramId";
13      public static final String CREDENTIAL_PROGRAM_TYPE = "credentialProgramType";
14      public static final String ID = "id";
15      public static final String STATE = "state";
16      public static final String TYPE = "type";
17      public static final String MAJOR_LU_TYPE_ID = "kuali.lu.type.MajorDiscipline";
18      public static final String CORE_LU_TYPE_ID = "kuali.lu.type.CoreProgram";
19      public static final String CRED_LU_TYPE_ID = "kuali.lu.type.CoreProgram";
20      public static final String VARIATION_TYPE_KEY = "kuali.lu.type.Variation";
21      public static final String MAJOR_REFERENCE_TYPE_ID = "referenceType.clu";
22      public static final String RUNTIME_DATA = "_runtimeData";
23      public static final String ID_TRANSLATION = "id-translation";
24      public static final String HAS_CORE_PROGRAM = "kuali.lu.lu.relation.type.hasCoreProgram";
25  
26      //Identifying Details
27      public static final String CODE = "code";
28      public static final String PROGRAM_LEVEL = "programLevel";
29      public static final String CREDENTIAL_PROGRAM = "credentialProgramInfo";
30      public static final String CREDENTIAL_PROGRAMS = "credentialPrograms";
31      public static final String PROGRAM_CLASSIFICATION = "universityClassification";
32      public static final String DEGREE_TYPE = "resultOptions";
33  
34      //Dates
35      public static final String START_TERM = "startTerm";
36      public static final String END_INSTITUTIONAL_ADMIT_TERM = "endInstAdmitTerm";
37      public static final String END_PROGRAM_ENTRY_TERM = "endProgramEntryTerm";
38      public static final String END_PROGRAM_ENROLL_TERM = "endTerm";
39      public static final String PROGRAM_APPROVAL_DATE = "approvalDate";
40  
41      //Program Title
42      public static final String LONG_TITLE = "longTitle";
43      public static final String SHORT_TITLE = "shortTitle";
44      public static final String TRANSCRIPT = "transcriptTitle";
45      public static final String DIPLOMA = "diplomaTitle";
46  
47      //Other Information
48      public static final String LOCATION = "campusLocations";
49      public static final String ACCREDITING_AGENCY = "accreditingAgencies";
50      public static final String CIP_2000 = "cip2000Code";
51      public static final String CIP_2010 = "cip2010Code";
52      public static final String HEGIS_CODE = "hegisCode";
53      public static final String INSTITUTION = "institution";
54      public static final String ORG_ID = "orgId";
55  
56      //Managing Bodies
57      public static final String CURRICULUM_OVERSIGHT_DIVISION = "divisionsContentOwner";
58      public static final String CURRICULUM_OVERSIGHT_UNIT = "unitsContentOwner";
59      public static final String STUDENT_OVERSIGHT_DIVISION = "divisionsStudentOversight";
60      public static final String STUDENT_OVERSIGHT_UNIT = "unitsStudentOversight";
61      public static final String DEPLOYMENT_DIVISION = "divisionsDeployment";
62      public static final String DEPLOYMENT_UNIT = "unitsDeployment";
63      public static final String FINANCIAL_RESOURCES_DIVISION = "divisionsFinancialResources";
64      public static final String FINANCIAL_RESOURCES_UNIT = "unitsFinancialResources";
65      public static final String FINANCIAL_CONTROL_DIVISION = "divisionsFinancialControl";
66      public static final String FINANCIAL_CONTROL_UNIT = "unitsFinancialControl";
67  
68      //Program Description and Catalog Details
69      public static final String DESCRIPTION = "descr";
70      public static final String CATALOG_DESCRIPTION = "catalogDescr";
71      public static final String PLAIN_TEXT = "plain";
72      public static final String CORE_FACULTY_MEMBERS = "coreFaculties";
73      public static final String PUBLICATION_TARGETS = "catalogPublicationTargets";
74      public static final String FULL_PART_TIME = "intensity";
75      public static final String DURATION = "stdDuration";
76      public static final String MORE_INFORMATION = "referenceURL";
77  
78      //Learning Objectives
79      public static final String LEARNING_OBJECTIVES = "learningObjectives";
80  
81      //Program Specializations
82      public static final String VARIATIONS = "variations";
83      public static final String PROGRAM_REQUIREMENTS = "programRequirements";
84      public static final String VARIATION_ID = "variationId";
85  
86      //Dynamic attributes
87      public static final String IS_VARIATION_REQUIRED = "isVariationRequired";
88      public static final String LAST_REVIEW_DATE = "lastReviewDate";
89      public static final String DURATION_NOTES = "durationNotes";
90  
91      //History
92      public static final String SCHEDULED_REVIEW_DATE = "nextReviewPeriod";
93      public static final String LAST_UPDATED_DATE = "metaInfo/updateTime";
94  
95      //Versioning
96      public static final String VERSION = "versionInfo/sequenceNumber";
97      public static final String VERSION_IND_ID = "versionInfo/versionIndId";
98      public static final String VERSION_FROM_ID = "versionInfo/versionedFromId";
99      public static final String VERSION_SEQUENCE_NUMBER = "versionInfo/sequenceNumber";
100 
101     public static final String PREV_END_PROGRAM_ENTRY_TERM = "previousVersionInfo/endProgramEntryTerm";
102     public static final String PREV_END_PROGRAM_ENROLL_TERM = "previousVersionInfo/endTerm";
103     public static final String PREV_STATE = "previousVersionInfo/state";
104 
105     //Compound constants
106     public static final String CREDENTIAL_PROGRAM_INSTITUTION_ID = CREDENTIAL_PROGRAM + "/" + INSTITUTION + "/" + RUNTIME_DATA + "/" + ORG_ID + "/" + ID_TRANSLATION;
107     public static final String CREDENTIAL_PROGRAM_TYPE_NAME = CREDENTIAL_PROGRAM + "/" + RUNTIME_DATA + "/" + CREDENTIAL_PROGRAM_TYPE + "/" + ID_TRANSLATION;
108     public static final String CREDENTIAL_PROGRAM_LEVEL = CREDENTIAL_PROGRAM + "/" + PROGRAM_LEVEL;
109     public static final String ACCREDITING_AGENCY_ORG_ID_TRANSLATION = RUNTIME_DATA + "/" + ORG_ID + "/" + ID_TRANSLATION;
110 
111     public static final List<String> RICH_TEXT_KEYS = Arrays.asList("/" + DESCRIPTION, "/" + CATALOG_DESCRIPTION);
112 }