org.kuali.student.lum.lu.ui.course.client.configuration
Class CourseConfigurer
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.CourseConfigurer
- All Implemented Interfaces:
- ContentConfigurer, AffiliatedOrgInfoConstants, CreditCourseActivityConstants, CreditCourseConstants, CreditCourseDurationConstants, CreditCourseExpenditureInfoConstants, CreditCourseFormatConstants, CreditCourseRevenueInfoConstants, FeeInfoConstants
public class CourseConfigurer
- 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_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, 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, OUTCOME_OPTIONS, PASS_FAIL, PILOT_COURSE, PRIMARY_INSTRUCTOR, PROPOSAL_DESCRIPTION, REVENUE_INFO, 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<MultiplicityFieldConfig> fieldConfigs,
Map<SwapCompositeCondition,List<SwapCompositeConditionFieldConfig>> swappableFieldsDefinition,
List<String> deletionParentKeys)
|
protected MultiplicitySection |
addMultiplicityFields(Section section,
String path,
String addItemlabelMessageKey,
String itemLabelMessageKey,
List<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 SectionView |
generateActiveDatesSection()
|
protected VerticalSection |
generateActiveDateStartSection()
|
protected VerticalSection |
generateCourseFormatsSection()
|
SectionView |
generateCourseInfoSection()
|
protected VerticalSection |
generateCourseInfoShortTitleSection()
|
SectionView |
generateCourseLogisticsSection()
|
protected GroupSection |
generateCourseNumberSection()
|
protected View |
generateCourseRequisitesSection(Controller layout)
|
protected CollapsableSection |
generateCrossListed_Ver_Joint_Section()
|
protected VerticalSection |
generateDescriptionRationaleSection()
|
protected VerticalSection |
generateDurationSection()
|
protected VerticalSection |
generateFinalExamSection()
|
protected SectionView |
generateFinancialsSection()
|
protected SectionView |
generateGovernanceSection()
|
protected Section |
generateGradesAssessmentsSection()
|
protected VerticalSection |
generateInstructorsSection()
|
protected VerticalSection |
generateLearningObjectivesNestedSection()
|
protected SectionView |
generateLearningObjectivesSection()
|
protected Section |
generateLearningResultsSection()
|
protected VerticalSection |
generateLongTitleSection()
|
protected 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)
|
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)
|
void |
setModelDefinition(DataModelDefinition modelDefinition)
|
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<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, getModelDefinition, setModelDefinition |
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
CLU_PROPOSAL_MODEL
public static final String CLU_PROPOSAL_MODEL
- See Also:
- Constant Field Values
documentTool
protected DocumentTool documentTool
PROPOSAL
public static final String PROPOSAL
- See Also:
- Constant Field Values
COURSE
public static final String COURSE
- See Also:
- Constant Field Values
stmtTypes
protected List<StatementTypeInfo> stmtTypes
CourseConfigurer
public CourseConfigurer()
setModelDefinition
public void setModelDefinition(DataModelDefinition modelDefinition)
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)
generateActiveDatesSection
protected SectionView generateActiveDatesSection()
generateActiveDateEndSection
protected VerticalSection generateActiveDateEndSection()
generateActiveDateStartSection
protected VerticalSection generateActiveDateStartSection()
generateGovernanceSection
protected SectionView generateGovernanceSection()
generateCourseInfoSection
public SectionView generateCourseInfoSection()
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<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<MultiplicityFieldConfig> fieldConfigs,
Map<SwapCompositeCondition,List<SwapCompositeConditionFieldConfig>> swappableFieldsDefinition,
List<String> deletionParentKeys)
addMultiplicityFields
protected MultiplicitySection addMultiplicityFields(Section section,
String path,
String addItemlabelMessageKey,
String itemLabelMessageKey,
List<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 SectionView generateCourseLogisticsSection()
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()
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
protected 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 SectionView generateFinancialsSection()
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
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.