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 = "stateKey";
16      public static final String TYPE = "typeKey";
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 CRED_LU_TYPE_PREFIX = "kuali.lu.type.credential";
21      public static final String VARIATION_TYPE_KEY = "kuali.lu.type.Variation";
22      public static final String MAJOR_REFERENCE_TYPE_ID = "referenceType.clu";
23      public static final String RUNTIME_DATA = "_runtimeData";
24      public static final String ID_TRANSLATION = "id-translation";
25      public static final String HAS_CORE_PROGRAM = "kuali.lu.lu.relation.type.hasCoreProgram";
26  
27      //Identifying Details
28      public static final String CODE = "code";
29      public static final String PROGRAM_LEVEL = "programLevel";
30      public static final String CREDENTIAL_PROGRAM = "credentialProgramInfo";
31      public static final String CREDENTIAL_PROGRAMS = "credentialPrograms";
32      public static final String PROGRAM_CLASSIFICATION = "universityClassification";
33      public static final String DEGREE_TYPE = "resultOptions";
34  
35      //Dates
36      public static final String START_TERM = "startTerm";
37      public static final String END_INSTITUTIONAL_ADMIT_TERM = "endInstAdmitTerm";
38      public static final String END_PROGRAM_ENTRY_TERM = "endProgramEntryTerm";
39      public static final String END_PROGRAM_ENROLL_TERM = "endTerm";
40      public static final String PROGRAM_APPROVAL_DATE = "approvalDate";
41  
42      // Proposal Information
43      public static final String PROPOSAL_ID = "proposal/id";
44      public static final String PROPOSAL_REFERENCE_TYPE_ID = "referenceType.clu.proposal.program";
45      public static final String PROPOSAL_TITLE_PATH = "proposal/name";
46      public static final String PROPOSAL_TYPE_OF_MODIFICATON_PATH = "proposal/typeOfModification";
47      public static final String PROPOSAL_ABSTRACT_PATH = "proposal/abstract";
48      public static final String PROPOSAL_RATIONALE_PATH = "proposal/rationale/plain";
49      public static final String PROPOSAL_PREV_START_TERM_PATH = "proposal/prevStartTerm";  
50      
51      //Change Impact
52      public static final String PROPOSAL_RELATED_COURSE_CHANGES_PATH = "proposal/relatedCourseChanges";
53      public static final String PROPOSAL_IMPACTED_UNITS_PATH = "proposal/impactedUnits";
54      public static final String PROPOSAL_IMPACTED_ARTICULATION_TRANSFER_PATH = "proposal/impactedArticulationTransferPrograms";
55      public static final String PROPOSAL_STUDENT_TRANSITION_PLANS_PATH = "proposal/studentTransitionPlans";
56      
57      //Program Title
58      public static final String LONG_TITLE = "longTitle";
59      public static final String SHORT_TITLE = "shortTitle";
60      public static final String TRANSCRIPT = "transcriptTitle";
61      public static final String DIPLOMA = "diplomaTitle";
62  
63      //Other Information
64      public static final String LOCATION = "campusLocations";
65      public static final String ACCREDITING_AGENCY = "accreditingAgencies";
66      public static final String CIP_2000 = "cip2000Code";
67      public static final String CIP_2010 = "cip2010Code";
68      public static final String HEGIS_CODE = "hegisCode";
69      public static final String INSTITUTION = "institution";
70      public static final String ORG_ID = "orgId";
71  
72      //Managing Bodies
73      public static final String CURRICULUM_OVERSIGHT_DIVISION = "divisionsContentOwner";
74      public static final String CURRICULUM_OVERSIGHT_UNIT = "unitsContentOwner";
75      public static final String STUDENT_OVERSIGHT_DIVISION = "divisionsStudentOversight";
76      public static final String STUDENT_OVERSIGHT_UNIT = "unitsStudentOversight";
77      public static final String DEPLOYMENT_DIVISION = "divisionsDeployment";
78      public static final String DEPLOYMENT_UNIT = "unitsDeployment";
79      public static final String FINANCIAL_RESOURCES_DIVISION = "divisionsFinancialResources";
80      public static final String FINANCIAL_RESOURCES_UNIT = "unitsFinancialResources";
81      public static final String FINANCIAL_CONTROL_DIVISION = "divisionsFinancialControl";
82      public static final String FINANCIAL_CONTROL_UNIT = "unitsFinancialControl";
83  
84      //Program Description and Catalog Details
85      public static final String DESCRIPTION = "descr";
86      public static final String CATALOG_DESCRIPTION = "catalogDescr";
87      public static final String PLAIN_TEXT = "plain";
88      public static final String CORE_FACULTY_MEMBERS = "coreFaculties";
89      public static final String PUBLICATION_TARGETS = "catalogPublicationTargets";
90      public static final String FULL_PART_TIME = "intensity";
91      public static final String DURATION = "stdDuration";
92      public static final String MORE_INFORMATION = "referenceURL";
93  
94      //Learning Objectives
95      public static final String LEARNING_OBJECTIVES = "learningObjectives";
96  
97      //Program Specializations
98      public static final String VARIATIONS = "variations";
99      public static final String PROGRAM_REQUIREMENTS = "programRequirements";
100     public static final String VARIATION_ID = "variationId";
101 
102     //Dynamic attributes
103     public static final String IS_VARIATION_REQUIRED = "isVariationRequired";
104     public static final String LAST_REVIEW_DATE = "lastReviewDate";
105     public static final String DURATION_NOTES = "durationNotes";
106 
107     //History
108     public static final String SCHEDULED_REVIEW_DATE = "nextReviewPeriod";
109     public static final String LAST_UPDATED_DATE = "meta/updateTime";
110 
111     //Versioning
112     public static final String VERSION = "version/sequenceNumber";
113     public static final String VERSION_IND_ID = "version/versionIndId";
114     public static final String VERSION_FROM_ID = "version/versionedFromId";
115     public static final String VERSION_SEQUENCE_NUMBER = "version/sequenceNumber";
116 
117     public static final String PREV_END_PROGRAM_ENTRY_TERM = "prevEndProgramEntryTerm";
118     public static final String PREV_END_PROGRAM_ENROLL_TERM = "prevEndTerm";
119     public static final String PREV_END_INST_ADMIN_TERM = "prevEndInstAdmitTerm";
120     public static final String PREV_START_TERM = "prevStartTerm";
121 
122     //Compound constants
123     public static final String CREDENTIAL_PROGRAM_INSTITUTION_ID = CREDENTIAL_PROGRAM + "/" + INSTITUTION + "/" + RUNTIME_DATA + "/" + ORG_ID + "/" + ID_TRANSLATION;
124     public static final String CREDENTIAL_PROGRAM_TYPE_NAME = CREDENTIAL_PROGRAM + "/" + RUNTIME_DATA + "/" + CREDENTIAL_PROGRAM_TYPE + "/" + ID_TRANSLATION;
125     public static final String CREDENTIAL_PROGRAM_LEVEL = CREDENTIAL_PROGRAM + "/" + PROGRAM_LEVEL;
126     public static final String ACCREDITING_AGENCY_ORG_ID_TRANSLATION = RUNTIME_DATA + "/" + ORG_ID + "/" + ID_TRANSLATION;
127     public static final String CREDENTIAL_RUNTIME_PROGRAM_LEVEL = CREDENTIAL_PROGRAM + "/" + RUNTIME_DATA + "/"
128             + PROGRAM_LEVEL + "/" + ID_TRANSLATION;
129 
130     public static final List<String> RICH_TEXT_KEYS = Arrays.asList("/" + DESCRIPTION, "/" + CATALOG_DESCRIPTION);
131 }