org.kuali.student.lum.lu.ui.course.client.configuration
Class CourseSummaryConfigurer

java.lang.Object
  extended by org.kuali.student.common.ui.client.configurable.mvc.Configurer
      extended by org.kuali.student.lum.lu.ui.course.client.configuration.CourseSummaryConfigurer
All Implemented Interfaces:
AcademicSubjectOrgInfoConstants, MetaInfoConstants, AffiliatedOrgInfoConstants, CreditCourseActivityConstants, CreditCourseConstants, CreditCourseDurationConstants, CreditCourseExpenditureInfoConstants, CreditCourseFormatConstants, CreditCourseProposalConstants, CreditCourseProposalInfoConstants, CreditCourseRevenueInfoConstants, FeeInfoConstants, LearningObjectiveConstants

public class CourseSummaryConfigurer
extends Configurer
implements CreditCourseProposalConstants, CreditCourseProposalInfoConstants, CreditCourseConstants, CreditCourseFormatConstants, CreditCourseActivityConstants, MetaInfoConstants, CreditCourseDurationConstants, FeeInfoConstants, LearningObjectiveConstants, AcademicSubjectOrgInfoConstants, AffiliatedOrgInfoConstants, CreditCourseRevenueInfoConstants, CreditCourseExpenditureInfoConstants


Nested Class Summary
private  class CourseSummaryConfigurer.EditHandler
           
 
Field Summary
private  Controller controller
           
static String COURSE
           
private  String modelId
           
private static String OPTIONAL
           
static String PROPOSAL
           
static String PROPOSAL_TITLE_PATH
           
private  boolean showingValidation
           
private  List<StatementTypeInfo> stmtTypes
           
private  SummaryTableSection tableSection
           
private  List<com.google.gwt.user.client.ui.Anchor> validateLinks
           
private  List<ValidationResultInfo> validationInfos
           
 
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.Configurer
groupName, modelDefinition, nextState, state, type
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.CreditCourseProposalConstants
SEARCH, STATE, TYPE
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.CreditCourseProposalInfoConstants
_RUNTIME_DATA, ID, META_INFO, PROPOSER_PERSON, RATIONALE, REFERENCE_TYPE, REFERENCES, TITLE
 
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, LAST_PUBLICATION_YEAR, LAST_TERM_OFFERED, OUTCOME_OPTIONS, PASS_FAIL, PILOT_COURSE, PREV_END_TERM, PREV_START_TERM, PRIMARY_INSTRUCTOR, PROPOSAL_DESCRIPTION, 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
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.CreditCourseFormatConstants
_RUNTIME_DATA, ACTIVITIES, ID, STATE
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.CreditCourseActivityConstants
_RUNTIME_DATA, ACTIVITY_TYPE, CONTACT_HOURS, DEFAULT_ENROLLMENT_ESTIMATE, DURATION, ID, STATE
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.base.MetaInfoConstants
CREATE_ID, CREATE_TIME, UPDATE_ID, UPDATE_TIME, VERSION_IND
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.CreditCourseDurationConstants
QUANTITY, TERM_TYPE
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.FeeInfoConstants
FEE_RECORDS, FIXED_RATE_FEE, MULTIPLE_RATE_FEE, PER_CREDIT_FEE, REVENUE, VARIABLE_RATE_FEE
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.LearningObjectiveConstants
DESC, ID, LEARNING_OBJECTIVES
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.base.AcademicSubjectOrgInfoConstants
ORG_ID
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.AffiliatedOrgInfoConstants
EFFECTIVE_DATE, ORG_ID, PERCENTAGE
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.CreditCourseRevenueInfoConstants
FEE_TYPE, ID, REVENUE_ORG, TOTAL_PERCENTAGE
 
Fields inherited from interface org.kuali.student.lum.lu.assembly.data.client.constants.orch.CreditCourseExpenditureInfoConstants
EXPENDITURE_ORG, TOTAL_PERCENTAGE
 
Constructor Summary
CourseSummaryConfigurer(String type, String state, String groupName, DataModelDefinition modelDefinition, List<StatementTypeInfo> stmtTypes, Controller controller, String modelId)
           
 
Method Summary
private  FieldDescriptorReadOnly addRequisiteField(com.google.gwt.user.client.ui.FlowPanel panel, StatementTypeInfo stmtType)
           
private  FieldDescriptorReadOnly addRequisiteFieldComp(com.google.gwt.user.client.ui.FlowPanel panel, StatementTypeInfo stmtType)
           
private  FieldDescriptorReadOnly buildFieldDescriptor(String fieldKey, String messageKey, String parentPath)
           
private  FieldDescriptorReadOnly buildFieldDescriptor(String fieldKey, String messageKey, String parentPath, com.google.gwt.user.client.ui.Widget widget, ModelWidgetBinding<?> binding)
           
private  MultiplicityFieldConfiguration buildMultiplicityFD(String fieldKey, String labelKey, String parentPath)
           
 SummaryTableFieldBlock generateActiveDatesSection()
           
 VerticalSectionView generateCourseBriefSection()
           
 VerticalSectionView generateCourseCatalogSection()
           
 SummaryTableFieldBlock generateCourseInformation()
           
 SummaryTableFieldBlock generateCourseInformationCrossListing()
           
 SummaryTableFieldBlock generateCourseInformationForProposal()
           
 SummaryTableFieldBlock generateCourseInformationForProposalCrossListed()
           
 SummaryTableFieldBlock generateCourseLogisticsSection()
           
 VerticalSectionView generateCourseSummarySection()
           
 SummaryTableFieldBlock generateFeesSection()
           
 SummaryTableFieldBlock generateGovernanceSection()
           
 SummaryTableFieldBlock generateLearningObjectivesSection()
           
private  SummaryTableFieldBlock generateProposalDocumentsSection()
           
 VerticalSectionView generateProposalSummarySection(boolean canEditSections)
           
 SummaryTableFieldBlock generateRequirementsSection()
           
private  WarnContainer generateWorkflowWidgetContainer(com.google.gwt.user.client.ui.Widget w)
           
protected  SummaryTableFieldRow getFieldRow(String fieldKey, MessageKeyInfo messageKey)
           
protected  SummaryTableFieldRow getFieldRow(String fieldKey, MessageKeyInfo messageKey, boolean optional)
           
protected  SummaryTableFieldRow getFieldRow(String fieldKey, MessageKeyInfo messageKey, com.google.gwt.user.client.ui.Widget widget, com.google.gwt.user.client.ui.Widget widget2, String parentPath, ModelWidgetBinding<?> binding, boolean optional)
           
private  MultiplicityConfiguration getMultiplicityConfig(String path, String itemLabelMessageKey, List<List<String>> fieldKeysAndLabels)
           
private  MultiplicityConfiguration getMultiplicityConfig(String path, String itemLabelMessageKey, List<List<String>> fieldKeysAndLabels, Map<String,ModelWidgetBinding> customBindings)
           
 SummaryTableSection getTableSection()
           
protected  VerticalSectionView initSectionView(Enum<?> viewEnum, String labelKey)
           
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.Configurer
addField, addField, addField, addField, addField, addReadOnlyField, addReadOnlyField, addReadOnlyField, addReadOnlyField, addReadOnlyField, generateMessageInfo, getH1Title, getH2Title, getH3Title, getH4Title, getH5Title, 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
 

Field Detail

PROPOSAL

public static final String PROPOSAL
See Also:
Constant Field Values

COURSE

public static final String COURSE
See Also:
Constant Field Values

PROPOSAL_TITLE_PATH

public static final String PROPOSAL_TITLE_PATH
See Also:
Constant Field Values

OPTIONAL

private static final String OPTIONAL
See Also:
Constant Field Values

validationInfos

private List<ValidationResultInfo> validationInfos

showingValidation

private boolean showingValidation

stmtTypes

private List<StatementTypeInfo> stmtTypes

controller

private Controller controller

tableSection

private SummaryTableSection tableSection

modelId

private String modelId

validateLinks

private List<com.google.gwt.user.client.ui.Anchor> validateLinks
Constructor Detail

CourseSummaryConfigurer

public CourseSummaryConfigurer(String type,
                               String state,
                               String groupName,
                               DataModelDefinition modelDefinition,
                               List<StatementTypeInfo> stmtTypes,
                               Controller controller,
                               String modelId)
Method Detail

initSectionView

protected VerticalSectionView initSectionView(Enum<?> viewEnum,
                                              String labelKey)

getFieldRow

protected SummaryTableFieldRow getFieldRow(String fieldKey,
                                           MessageKeyInfo messageKey)

getFieldRow

protected SummaryTableFieldRow getFieldRow(String fieldKey,
                                           MessageKeyInfo messageKey,
                                           boolean optional)

getFieldRow

protected SummaryTableFieldRow getFieldRow(String fieldKey,
                                           MessageKeyInfo messageKey,
                                           com.google.gwt.user.client.ui.Widget widget,
                                           com.google.gwt.user.client.ui.Widget widget2,
                                           String parentPath,
                                           ModelWidgetBinding<?> binding,
                                           boolean optional)

generateProposalSummarySection

public VerticalSectionView generateProposalSummarySection(boolean canEditSections)

generateProposalDocumentsSection

private SummaryTableFieldBlock generateProposalDocumentsSection()

generateWorkflowWidgetContainer

private WarnContainer generateWorkflowWidgetContainer(com.google.gwt.user.client.ui.Widget w)

generateCourseSummarySection

public VerticalSectionView generateCourseSummarySection()

generateCourseInformationForProposal

public SummaryTableFieldBlock generateCourseInformationForProposal()

generateCourseInformationForProposalCrossListed

public SummaryTableFieldBlock generateCourseInformationForProposalCrossListed()

generateCourseInformation

public SummaryTableFieldBlock generateCourseInformation()

generateCourseInformationCrossListing

public SummaryTableFieldBlock generateCourseInformationCrossListing()

generateGovernanceSection

public SummaryTableFieldBlock generateGovernanceSection()

generateCourseLogisticsSection

public SummaryTableFieldBlock generateCourseLogisticsSection()

generateLearningObjectivesSection

public SummaryTableFieldBlock generateLearningObjectivesSection()

generateActiveDatesSection

public SummaryTableFieldBlock generateActiveDatesSection()

generateFeesSection

public SummaryTableFieldBlock generateFeesSection()

generateRequirementsSection

public SummaryTableFieldBlock generateRequirementsSection()

addRequisiteField

private FieldDescriptorReadOnly addRequisiteField(com.google.gwt.user.client.ui.FlowPanel panel,
                                                  StatementTypeInfo stmtType)

addRequisiteFieldComp

private FieldDescriptorReadOnly addRequisiteFieldComp(com.google.gwt.user.client.ui.FlowPanel panel,
                                                      StatementTypeInfo stmtType)

getMultiplicityConfig

private MultiplicityConfiguration getMultiplicityConfig(String path,
                                                        String itemLabelMessageKey,
                                                        List<List<String>> fieldKeysAndLabels)

getMultiplicityConfig

private MultiplicityConfiguration getMultiplicityConfig(String path,
                                                        String itemLabelMessageKey,
                                                        List<List<String>> fieldKeysAndLabels,
                                                        Map<String,ModelWidgetBinding> customBindings)

buildMultiplicityFD

private MultiplicityFieldConfiguration buildMultiplicityFD(String fieldKey,
                                                           String labelKey,
                                                           String parentPath)

buildFieldDescriptor

private FieldDescriptorReadOnly buildFieldDescriptor(String fieldKey,
                                                     String messageKey,
                                                     String parentPath)

buildFieldDescriptor

private FieldDescriptorReadOnly buildFieldDescriptor(String fieldKey,
                                                     String messageKey,
                                                     String parentPath,
                                                     com.google.gwt.user.client.ui.Widget widget,
                                                     ModelWidgetBinding<?> binding)

generateCourseBriefSection

public VerticalSectionView generateCourseBriefSection()

generateCourseCatalogSection

public VerticalSectionView generateCourseCatalogSection()

getTableSection

public SummaryTableSection getTableSection()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.