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

java.lang.Object
  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 Object
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
           
protected  String groupName
           
private  BlockingTask loadDataTask
           
protected  DataModelDefinition modelDefinition
           
private  String modelId
           
private static String OPTIONAL
           
static String PROPOSAL
           
static String PROPOSAL_TITLE_PATH
           
private  boolean showingValidation
           
protected  String state
           
private  List<StatementTypeInfo> stmtTypes
           
private  SummaryTableSection tableSection
           
protected  String type
           
private  List<com.google.gwt.user.client.ui.Anchor> validateLinks
           
private  List<ValidationResultInfo> validationInfos
           
 
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, 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
 
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 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 generateCourseInformationForProposal()
           
 SummaryTableFieldBlock generateCourseLogisticsSection()
           
 VerticalSectionView generateCourseSummarySection()
           
 SummaryTableFieldBlock generateFeesSection()
           
 SummaryTableFieldBlock generateGovernanceSection()
           
 SummaryTableFieldBlock generateLearningObjectivesSection()
           
protected  MessageKeyInfo generateMessageInfo(String labelKey)
           
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)
           
protected  String getLabel(String labelKey)
           
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)
           
protected  VerticalSectionView initSectionView(Enum<?> viewEnum, String labelKey)
           
 
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

validationInfos

private List<ValidationResultInfo> validationInfos

showingValidation

private boolean showingValidation

OPTIONAL

private static final String OPTIONAL
See Also:
Constant Field Values

type

protected String type

state

protected String state

groupName

protected String groupName

modelDefinition

protected DataModelDefinition modelDefinition

stmtTypes

private List<StatementTypeInfo> stmtTypes

controller

private Controller controller

tableSection

private SummaryTableSection tableSection

modelId

private String modelId

loadDataTask

private BlockingTask loadDataTask

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)

getLabel

protected String getLabel(String labelKey)

generateMessageInfo

protected MessageKeyInfo generateMessageInfo(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()

generateCourseInformation

public SummaryTableFieldBlock generateCourseInformation()

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)

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()


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