org.kuali.student.lum.lu.ui.course.client.configuration
Class CourseProposalConfigurer
java.lang.Object
org.kuali.student.common.ui.client.configurable.mvc.Configurer
org.kuali.student.lum.lu.ui.course.client.configuration.AbstractCourseConfigurer
org.kuali.student.lum.lu.ui.course.client.configuration.CourseProposalConfigurer
- All Implemented Interfaces:
- AffiliatedOrgInfoConstants, CreditCourseActivityConstants, CreditCourseConstants, CreditCourseDurationConstants, CreditCourseExpenditureInfoConstants, CreditCourseFormatConstants, CreditCourseRevenueInfoConstants, FeeInfoConstants
- Direct Known Subclasses:
- CourseAdminConfigurer, CourseAdminRetireConfigurer, CourseAdminWithoutVersionConfigurer, CourseRetireByProposalConfigurer
public class CourseProposalConfigurer
- extends AbstractCourseConfigurer
This is the configuration factory class for creating a proposal.
- Author:
- Kuali Student Team
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.CreditCourseConstants |
_RUNTIME_DATA, ADMIN_ORGS, AUDIT, CAMPUS_LOCATIONS, COPY_OF_COURSE_ID, COURSE_CODE, COURSE_NUMBER_INSTRUCTIONS, COURSE_NUMBER_SUFFIX, COURSE_SPECIFIC_LOS, COURSE_SPECIFIC_LRTS, COURSE_TITLE, CREDIT_OPTION_FIXED_CREDITS, CREDIT_OPTION_MAX_CREDITS, CREDIT_OPTION_MIN_CREDITS, CREDIT_OPTIONS, CROSS_LISTINGS, CROSSLISTED_AND_JOINTS, CURRICULUM_OVERSIGHT_ORGS_, DEPARTMENT, DESCRIPTION, DURATION, EFFECTIVE_DATE, END_TERM, EXPENDITURE_INFO, EXPIRATION_DATE, FEES, FINAL_EXAM, FINAL_EXAM_RATIONALE, FINAL_RESULTS, FIRST_EXPECTED_OFFERING, FORMATS, GRADING_OPTIONS, ID, INSTRUCTORS, JOINTS, LAST_PUBLICATION_YEAR, LAST_TERM_OFFERED, OTHER_COMMENTS, OUTCOME_OPTIONS, PASS_FAIL, PILOT_COURSE, PREV_END_TERM, PREV_START_TERM, PRIMARY_INSTRUCTOR, PROPOSAL_DESCRIPTION, PROPOSED_END_TERM, PROPOSED_LAST_COURSE_CATALOG_YEAR, PROPOSED_LAST_TERM_OFFERED, PROPOSED_RATIONALE, RETIREMENT_RATIONALE, REVENUE_INFO, SPECIAL_CIRCUMSTANCES, START_TERM, STATE, SUBJECT_AREA, TERMS_OFFERED, TRANSCRIPT_TITLE, TYPE, VERSION_CURRENT_VERSION_END, VERSION_CURRENT_VERSION_START, VERSION_IND_ID, VERSION_INFO, VERSION_SEQ_NUMBER, VERSIONS |
Method Summary |
void |
addCluStartSection(CourseProposalController layout)
|
protected void |
addFeeMultiplicityFields(Section section,
String path,
String addItemlabelMessageKey,
String itemLabelMessageKey,
List<CourseProposalConfigurer.MultiplicityFieldConfig> fieldConfigs,
Map<SwapCompositeCondition,List<SwapCompositeConditionFieldConfig>> swappableFieldsDefinition,
List<String> deletionParentKeys)
|
protected MultiplicitySection |
addMultiplicityFields(Section section,
String path,
String addItemlabelMessageKey,
String itemLabelMessageKey,
List<CourseProposalConfigurer.MultiplicityFieldConfig> fieldConfigs,
Map<SwapCompositeCondition,List<SwapCompositeConditionFieldConfig>> swappableFieldsDefinition,
List<String> deletionParentKeys,
int defaultItemsCreated)
|
protected MultiplicityFieldConfiguration |
buildMultiplicityFD(String fieldKey,
String labelKey,
String parentPath)
|
protected FieldDescriptor |
buildMultiplicityParentFieldDescriptor(String fieldKey,
String messageKey,
String parentPath)
|
void |
configure(CourseProposalController layout)
Sets up all the views, sections, and views of the CourseProposalController. |
protected VerticalSection |
generateActiveDateEndSection()
|
protected Section |
generateActiveDatesSection(Section section)
|
protected VerticalSection |
generateActiveDateStartSection()
|
protected VerticalSection |
generateCourseFormatsSection()
|
Section |
generateCourseInfoSection(Section section)
|
protected VerticalSection |
generateCourseInfoShortTitleSection()
|
Section |
generateCourseLogisticsSection(Section section)
|
protected GroupSection |
generateCourseNumberSection()
|
protected View |
generateCourseRequisitesSection(Controller layout,
boolean showSaveButtons)
|
protected CollapsableSection |
generateCrossListed_Ver_Joint_Section()
|
protected VerticalSection |
generateDescriptionRationaleSection()
|
protected VerticalSection |
generateDurationSection()
|
protected VerticalSection |
generateFinalExamSection()
|
protected Section |
generateFinancialsSection(Section section)
|
protected Section |
generateGovernanceSection(Section section)
|
protected Section |
generateGradesAssessmentsSection()
|
protected VerticalSection |
generateInstructorsSection()
|
protected VerticalSection |
generateLearningObjectivesNestedSection()
|
protected SectionView |
generateLearningObjectivesSection()
|
protected Section |
generateLearningResultsSection()
|
protected VerticalSection |
generateLongTitleSection()
|
MessageKeyInfo |
generateMessageInfo(String labelKey)
Generates a message info to be used in your field descriptor to get the label for the field. |
protected Section |
generateOutcomesSection()
|
protected VerticalSection |
generateSchedulingSection()
|
protected VerticalSection |
generateShortTitleSection()
|
protected Section |
generateStudentRegistrationOptionsSection()
|
protected KSButton |
getContinueButton(CourseProposalController layout)
|
String |
getCourseTitlePath()
|
protected Metadata |
getMetaData(String fieldKey)
|
String |
getProposalHeaderTitle(DataModel model)
|
String |
getProposalPath()
|
String |
getProposalTitlePath()
|
String |
getSectionTitle(DataModel model)
|
CourseSummaryConfigurer |
getSummaryConfigurer()
|
Class<? extends Enum<?>> |
getViewsEnum()
|
protected VerticalSection |
initSection(SectionTitle title,
boolean withDivider)
|
protected VerticalSectionView |
initSectionView(Enum<?> viewEnum,
String labelKey)
|
protected SwapCondition |
makeCondition(QueryPath fieldPath,
String messageLabelKey,
String value)
|
protected void |
progressiveEnableAndRequireSection(boolean enableAndRequire,
Section section)
|
void |
setStatementTypes(List<StatementTypeInfo> stmtTypes)
|
protected void |
setupExpenditureSection(Section parentSection)
|
protected MultiplicityConfiguration |
setupMultiplicityConfig(MultiplicityConfiguration.MultiplicityType multiplicityType,
MultiplicityConfiguration.StyleType styleType,
String path,
String addItemlabelMessageKey,
String itemLabelMessageKey,
List<CourseProposalConfigurer.MultiplicityFieldConfig> fieldConfigs,
Map<SwapCompositeCondition,List<SwapCompositeConditionFieldConfig>> swappableFieldsDefinition,
List<String> deletionParentKeys)
|
protected void |
setupRevenueSection(Section parentSection)
|
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.Configurer |
addField, addField, addField, addField, addField, addReadOnlyField, addReadOnlyField, addReadOnlyField, addReadOnlyField, addReadOnlyField, getH1Title, getH2Title, getH3Title, getH4Title, getH5Title, getLabel, getLabel, getModelDefinition, getNextState, getState, setModelDefinition, setNextState, setState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WITH_DIVIDER
protected boolean WITH_DIVIDER
NO_DIVIDER
protected boolean NO_DIVIDER
PROPOSAL_PATH
public static final String PROPOSAL_PATH
- See Also:
- Constant Field Values
PROPOSAL_TITLE_PATH
public static final String PROPOSAL_TITLE_PATH
- See Also:
- Constant Field Values
COURSE_TITLE_PATH
public static final String COURSE_TITLE_PATH
- See Also:
- Constant Field Values
documentTool
protected DocumentTool documentTool
summaryConfigurer
protected CourseSummaryConfigurer summaryConfigurer
stmtTypes
protected List<StatementTypeInfo> stmtTypes
COURSE
public static final String COURSE
- See Also:
- Constant Field Values
CourseProposalConfigurer
public CourseProposalConfigurer()
setStatementTypes
public void setStatementTypes(List<StatementTypeInfo> stmtTypes)
configure
public void configure(CourseProposalController layout)
- Sets up all the views, sections, and views of the CourseProposalController. This should be called
once for initialization and setup per CourseProposalController instance.
- Parameters:
layout
-
getContinueButton
protected KSButton getContinueButton(CourseProposalController layout)
addCluStartSection
public void addCluStartSection(CourseProposalController layout)
generateCourseRequisitesSection
protected View generateCourseRequisitesSection(Controller layout,
boolean showSaveButtons)
generateActiveDatesSection
protected Section generateActiveDatesSection(Section section)
generateActiveDateEndSection
protected VerticalSection generateActiveDateEndSection()
generateActiveDateStartSection
protected VerticalSection generateActiveDateStartSection()
generateGovernanceSection
protected Section generateGovernanceSection(Section section)
generateCourseInfoSection
public Section generateCourseInfoSection(Section section)
generateCourseNumberSection
protected GroupSection generateCourseNumberSection()
generateCrossListed_Ver_Joint_Section
protected CollapsableSection generateCrossListed_Ver_Joint_Section()
addFeeMultiplicityFields
protected void addFeeMultiplicityFields(Section section,
String path,
String addItemlabelMessageKey,
String itemLabelMessageKey,
List<CourseProposalConfigurer.MultiplicityFieldConfig> fieldConfigs,
Map<SwapCompositeCondition,List<SwapCompositeConditionFieldConfig>> swappableFieldsDefinition,
List<String> deletionParentKeys)
setupMultiplicityConfig
protected MultiplicityConfiguration setupMultiplicityConfig(MultiplicityConfiguration.MultiplicityType multiplicityType,
MultiplicityConfiguration.StyleType styleType,
String path,
String addItemlabelMessageKey,
String itemLabelMessageKey,
List<CourseProposalConfigurer.MultiplicityFieldConfig> fieldConfigs,
Map<SwapCompositeCondition,List<SwapCompositeConditionFieldConfig>> swappableFieldsDefinition,
List<String> deletionParentKeys)
addMultiplicityFields
protected MultiplicitySection addMultiplicityFields(Section section,
String path,
String addItemlabelMessageKey,
String itemLabelMessageKey,
List<CourseProposalConfigurer.MultiplicityFieldConfig> fieldConfigs,
Map<SwapCompositeCondition,List<SwapCompositeConditionFieldConfig>> swappableFieldsDefinition,
List<String> deletionParentKeys,
int defaultItemsCreated)
getMetaData
protected Metadata getMetaData(String fieldKey)
buildMultiplicityFD
protected MultiplicityFieldConfiguration buildMultiplicityFD(String fieldKey,
String labelKey,
String parentPath)
buildMultiplicityParentFieldDescriptor
protected FieldDescriptor buildMultiplicityParentFieldDescriptor(String fieldKey,
String messageKey,
String parentPath)
generateCourseInfoShortTitleSection
protected VerticalSection generateCourseInfoShortTitleSection()
generateLongTitleSection
protected VerticalSection generateLongTitleSection()
generateDescriptionRationaleSection
protected VerticalSection generateDescriptionRationaleSection()
generateCourseLogisticsSection
public Section generateCourseLogisticsSection(Section section)
generateLearningResultsSection
protected Section generateLearningResultsSection()
generateOutcomesSection
protected Section generateOutcomesSection()
generateStudentRegistrationOptionsSection
protected Section generateStudentRegistrationOptionsSection()
generateGradesAssessmentsSection
protected Section generateGradesAssessmentsSection()
generateCourseFormatsSection
protected VerticalSection generateCourseFormatsSection()
generateSchedulingSection
protected VerticalSection generateSchedulingSection()
generateDurationSection
protected VerticalSection generateDurationSection()
generateFinalExamSection
protected VerticalSection generateFinalExamSection()
progressiveEnableAndRequireSection
protected void progressiveEnableAndRequireSection(boolean enableAndRequire,
Section section)
generateInstructorsSection
protected VerticalSection generateInstructorsSection()
generateLearningObjectivesSection
protected SectionView generateLearningObjectivesSection()
generateLearningObjectivesNestedSection
protected VerticalSection generateLearningObjectivesNestedSection()
generateShortTitleSection
protected VerticalSection generateShortTitleSection()
initSectionView
protected VerticalSectionView initSectionView(Enum<?> viewEnum,
String labelKey)
initSection
protected VerticalSection initSection(SectionTitle title,
boolean withDivider)
generateMessageInfo
public MessageKeyInfo generateMessageInfo(String labelKey)
- Description copied from class:
Configurer
- Generates a message info to be used in your field descriptor to get the label for the field.
Used by the field descriptor with the application context to determine the label to show based on
the labelKey
- Overrides:
generateMessageInfo
in class Configurer
- Parameters:
labelKey
- key of the message - must match a message in your messages (stored in the db)
- Returns:
generateFinancialsSection
protected Section generateFinancialsSection(Section section)
setupRevenueSection
protected void setupRevenueSection(Section parentSection)
setupExpenditureSection
protected void setupExpenditureSection(Section parentSection)
makeCondition
protected SwapCondition makeCondition(QueryPath fieldPath,
String messageLabelKey,
String value)
getCourseTitlePath
public String getCourseTitlePath()
- Specified by:
getCourseTitlePath
in class AbstractCourseConfigurer
getProposalPath
public String getProposalPath()
- Specified by:
getProposalPath
in class AbstractCourseConfigurer
getProposalTitlePath
public String getProposalTitlePath()
- Specified by:
getProposalTitlePath
in class AbstractCourseConfigurer
getViewsEnum
public Class<? extends Enum<?>> getViewsEnum()
- Specified by:
getViewsEnum
in class AbstractCourseConfigurer
getSectionTitle
public String getSectionTitle(DataModel model)
- Specified by:
getSectionTitle
in class AbstractCourseConfigurer
getProposalHeaderTitle
public String getProposalHeaderTitle(DataModel model)
- Specified by:
getProposalHeaderTitle
in class AbstractCourseConfigurer
getSummaryConfigurer
public CourseSummaryConfigurer getSummaryConfigurer()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.