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 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      //Program Title
43      public static final String LONG_TITLE = "longTitle";
44      public static final String SHORT_TITLE = "shortTitle";
45      public static final String TRANSCRIPT = "transcriptTitle";
46      public static final String DIPLOMA = "diplomaTitle";
47  
48      //Other Information
49      public static final String LOCATION = "campusLocations";
50      public static final String ACCREDITING_AGENCY = "accreditingAgencies";
51      public static final String CIP_2000 = "cip2000Code";
52      public static final String CIP_2010 = "cip2010Code";
53      public static final String HEGIS_CODE = "hegisCode";
54      public static final String INSTITUTION = "institution";
55      public static final String ORG_ID = "orgId";
56  
57      //Managing Bodies
58      public static final String CURRICULUM_OVERSIGHT_DIVISION = "divisionsContentOwner";
59      public static final String CURRICULUM_OVERSIGHT_UNIT = "unitsContentOwner";
60      public static final String STUDENT_OVERSIGHT_DIVISION = "divisionsStudentOversight";
61      public static final String STUDENT_OVERSIGHT_UNIT = "unitsStudentOversight";
62      public static final String DEPLOYMENT_DIVISION = "divisionsDeployment";
63      public static final String DEPLOYMENT_UNIT = "unitsDeployment";
64      public static final String FINANCIAL_RESOURCES_DIVISION = "divisionsFinancialResources";
65      public static final String FINANCIAL_RESOURCES_UNIT = "unitsFinancialResources";
66      public static final String FINANCIAL_CONTROL_DIVISION = "divisionsFinancialControl";
67      public static final String FINANCIAL_CONTROL_UNIT = "unitsFinancialControl";
68  
69      //Program Description and Catalog Details
70      public static final String DESCRIPTION = "descr";
71      public static final String CATALOG_DESCRIPTION = "catalogDescr";
72      public static final String PLAIN_TEXT = "plain";
73      public static final String CORE_FACULTY_MEMBERS = "coreFaculties";
74      public static final String PUBLICATION_TARGETS = "catalogPublicationTargets";
75      public static final String FULL_PART_TIME = "intensity";
76      public static final String DURATION = "stdDuration";
77      public static final String MORE_INFORMATION = "referenceURL";
78  
79      //Learning Objectives
80      public static final String LEARNING_OBJECTIVES = "learningObjectives";
81  
82      //Program Specializations
83      public static final String VARIATIONS = "variations";
84      public static final String PROGRAM_REQUIREMENTS = "programRequirements";
85      public static final String VARIATION_ID = "variationId";
86  
87      //Dynamic attributes
88      public static final String IS_VARIATION_REQUIRED = "isVariationRequired";
89      public static final String LAST_REVIEW_DATE = "lastReviewDate";
90      public static final String DURATION_NOTES = "durationNotes";
91  
92      //History
93      public static final String SCHEDULED_REVIEW_DATE = "nextReviewPeriod";
94      public static final String LAST_UPDATED_DATE = "metaInfo/updateTime";
95  
96      //Versioning
97      public static final String VERSION = "versionInfo/sequenceNumber";
98      public static final String VERSION_IND_ID = "versionInfo/versionIndId";
99      public static final String VERSION_FROM_ID = "versionInfo/versionedFromId";
100     public static final String VERSION_SEQUENCE_NUMBER = "versionInfo/sequenceNumber";
101 
102     public static final String PREV_END_PROGRAM_ENTRY_TERM = "previousVersionInfo/endProgramEntryTerm";
103     public static final String PREV_END_PROGRAM_ENROLL_TERM = "previousVersionInfo/endTerm";
104     public static final String PREV_STATE = "previousVersionInfo/state";
105 
106     //Compound constants
107     public static final String CREDENTIAL_PROGRAM_INSTITUTION_ID = CREDENTIAL_PROGRAM + "/" + INSTITUTION + "/" + RUNTIME_DATA + "/" + ORG_ID + "/" + ID_TRANSLATION;
108     public static final String CREDENTIAL_PROGRAM_TYPE_NAME = CREDENTIAL_PROGRAM + "/" + RUNTIME_DATA + "/" + CREDENTIAL_PROGRAM_TYPE + "/" + ID_TRANSLATION;
109     public static final String CREDENTIAL_PROGRAM_LEVEL = CREDENTIAL_PROGRAM + "/" + PROGRAM_LEVEL;
110     public static final String ACCREDITING_AGENCY_ORG_ID_TRANSLATION = RUNTIME_DATA + "/" + ORG_ID + "/" + ID_TRANSLATION;
111 
112     public static final List<String> RICH_TEXT_KEYS = Arrays.asList("/" + DESCRIPTION, "/" + CATALOG_DESCRIPTION);
113 }