org.kuali.student.lum.lu.ui.tools.client.configuration
Class CluSetsConfigurer

java.lang.Object
  extended by org.kuali.student.lum.lu.ui.tools.client.configuration.CluSetsConfigurer

public class CluSetsConfigurer
extends Object


Nested Class Summary
 class CluSetsConfigurer.CluSetEditOptionList
           
static class CluSetsConfigurer.CluSetSections
           
(package private)  class CluSetsConfigurer.ModelIdPlaceHolder
           
static class CluSetsConfigurer.Picker
           
private  class CluSetsConfigurer.TranslatedStringList
           
 
Field Summary
private  Map<String,CluSetsConfigurer.CluSetEditOptionList> cluSetEditOptionsMap
           
static String CREATE_CLUSET_MGT_MODEL
           
static String EDIT_CLUSET_MGT_MODEL
           
static String EDIT_SEARCH_CLUSET_MGT_MODEL
           
private  String editSearchCluSetId
           
private  DataModelDefinition modelDefinition
           
static String VIEW_CLUSET_MGT_MODEL
           
static String VIEW_SEARCH_CLUSET_MGT_MODEL
           
private  String viewSearchCluSetId
           
private  boolean WITH_DIVIDER
           
 
Constructor Summary
CluSetsConfigurer()
           
 
Method Summary
private  void addClusetDetailsSections(SectionView parentView, String modelId)
           
private  FieldDescriptor addField(CluSetsConfigurer.ModelIdPlaceHolder modelIdObj, Section section, String fieldKey)
           
private  FieldDescriptor addField(CluSetsConfigurer.ModelIdPlaceHolder modelIdObj, Section section, String fieldKey, MessageKeyInfo messageKey)
           
private  FieldDescriptor addField(CluSetsConfigurer.ModelIdPlaceHolder modelIdObj, Section section, String fieldKey, MessageKeyInfo messageKey, com.google.gwt.user.client.ui.Widget widget)
           
private  FieldDescriptor addField(CluSetsConfigurer.ModelIdPlaceHolder modelId, Section section, String fieldKey, MessageKeyInfo messageKey, com.google.gwt.user.client.ui.Widget widget, String parentPath)
           
protected  FieldDescriptor addField(Section section, String fieldKey)
           
protected  FieldDescriptor addField(Section section, String fieldKey, MessageKeyInfo messageKey)
           
protected  FieldDescriptor addField(Section section, String fieldKey, MessageKeyInfo messageKey, String parentPath)
           
protected  FieldDescriptor addField(Section section, String fieldKey, MessageKeyInfo messageKey, com.google.gwt.user.client.ui.Widget widget)
           
protected  FieldDescriptor addField(Section section, String fieldKey, MessageKeyInfo messageKey, com.google.gwt.user.client.ui.Widget widget, String parentPath)
           
private  CluSetsConfigurer.Picker configureSearch(String fieldKey)
           
private  SectionView createCluSetSection()
           
private  SectionView editCluSetSection()
           
private static LookupMetadata findLookupMetadata(String selectedLookupName, List<LookupMetadata> lookupMetadatas)
           
protected  MessageKeyInfo generateMessageInfo(String labelKey)
           
 String getEditSearchCluSetId()
           
private  SectionTitle getH3Title(String labelKey)
           
private  String getLabel(String labelKey)
           
 String getViewSearchCluSetId()
           
private  boolean hasClus(Data clusData)
           
private  boolean hasCluSetRange(Data cluSetRangeData)
           
private  boolean hasCluSets(Data clusetData)
           
private  boolean hasData(String queryPath, Data queryData)
           
private  VerticalSectionView initNestedSectionView(Enum<?> viewEnum, String labelKey, String modelId)
           
private static VerticalSection initSection(SectionTitle title, boolean withDivider)
           
private  VerticalSectionView initVerticalSectionView(Enum<?> viewEnum, String labelKey, String modelId)
           
private static boolean nullSafeEquals(Object obj1, Object obj2)
           
private  void selectCluSetOption(DataModel model, CluSetsConfigurer.CluSetEditOptionList cluSetEditOptions, String queryPath, String selectionId)
           
private  void selectCluSetOptionList(DataModel model, CluSetsConfigurer.CluSetEditOptionList cluSetEditOptions)
           
 void setEditSearchCluSetId(String searchCluSetId)
           
 void setModelDefinition(DataModelDefinition modelDefinition)
           
 void setViewSearchCluSetId(String viewSearchCluSetId)
           
private  SectionView viewCluSetSection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WITH_DIVIDER

private boolean WITH_DIVIDER

CREATE_CLUSET_MGT_MODEL

public static final String CREATE_CLUSET_MGT_MODEL
See Also:
Constant Field Values

EDIT_CLUSET_MGT_MODEL

public static final String EDIT_CLUSET_MGT_MODEL
See Also:
Constant Field Values

VIEW_CLUSET_MGT_MODEL

public static final String VIEW_CLUSET_MGT_MODEL
See Also:
Constant Field Values

EDIT_SEARCH_CLUSET_MGT_MODEL

public static final String EDIT_SEARCH_CLUSET_MGT_MODEL
See Also:
Constant Field Values

VIEW_SEARCH_CLUSET_MGT_MODEL

public static final String VIEW_SEARCH_CLUSET_MGT_MODEL
See Also:
Constant Field Values

editSearchCluSetId

private String editSearchCluSetId

viewSearchCluSetId

private String viewSearchCluSetId

cluSetEditOptionsMap

private Map<String,CluSetsConfigurer.CluSetEditOptionList> cluSetEditOptionsMap

modelDefinition

private DataModelDefinition modelDefinition
Constructor Detail

CluSetsConfigurer

public CluSetsConfigurer()
Method Detail

setModelDefinition

public void setModelDefinition(DataModelDefinition modelDefinition)

addClusetDetailsSections

private void addClusetDetailsSections(SectionView parentView,
                                      String modelId)

nullSafeEquals

private static boolean nullSafeEquals(Object obj1,
                                      Object obj2)

findLookupMetadata

private static LookupMetadata findLookupMetadata(String selectedLookupName,
                                                 List<LookupMetadata> lookupMetadatas)

createCluSetSection

private SectionView createCluSetSection()

hasCluSetRange

private boolean hasCluSetRange(Data cluSetRangeData)

hasClus

private boolean hasClus(Data clusData)

hasCluSets

private boolean hasCluSets(Data clusetData)

hasData

private boolean hasData(String queryPath,
                        Data queryData)

selectCluSetOptionList

private void selectCluSetOptionList(DataModel model,
                                    CluSetsConfigurer.CluSetEditOptionList cluSetEditOptions)

selectCluSetOption

private void selectCluSetOption(DataModel model,
                                CluSetsConfigurer.CluSetEditOptionList cluSetEditOptions,
                                String queryPath,
                                String selectionId)

editCluSetSection

private SectionView editCluSetSection()

viewCluSetSection

private SectionView viewCluSetSection()

initVerticalSectionView

private VerticalSectionView initVerticalSectionView(Enum<?> viewEnum,
                                                    String labelKey,
                                                    String modelId)

initNestedSectionView

private VerticalSectionView initNestedSectionView(Enum<?> viewEnum,
                                                  String labelKey,
                                                  String modelId)

initSection

private static VerticalSection initSection(SectionTitle title,
                                           boolean withDivider)

getLabel

private String getLabel(String labelKey)

getH3Title

private SectionTitle getH3Title(String labelKey)

configureSearch

private CluSetsConfigurer.Picker configureSearch(String fieldKey)

addField

private FieldDescriptor addField(CluSetsConfigurer.ModelIdPlaceHolder modelIdObj,
                                 Section section,
                                 String fieldKey)

addField

private FieldDescriptor addField(CluSetsConfigurer.ModelIdPlaceHolder modelIdObj,
                                 Section section,
                                 String fieldKey,
                                 MessageKeyInfo messageKey)

addField

private FieldDescriptor addField(CluSetsConfigurer.ModelIdPlaceHolder modelIdObj,
                                 Section section,
                                 String fieldKey,
                                 MessageKeyInfo messageKey,
                                 com.google.gwt.user.client.ui.Widget widget)

addField

protected FieldDescriptor addField(Section section,
                                   String fieldKey)

addField

protected FieldDescriptor addField(Section section,
                                   String fieldKey,
                                   MessageKeyInfo messageKey)

addField

protected FieldDescriptor addField(Section section,
                                   String fieldKey,
                                   MessageKeyInfo messageKey,
                                   com.google.gwt.user.client.ui.Widget widget)

addField

protected FieldDescriptor addField(Section section,
                                   String fieldKey,
                                   MessageKeyInfo messageKey,
                                   String parentPath)

addField

protected FieldDescriptor addField(Section section,
                                   String fieldKey,
                                   MessageKeyInfo messageKey,
                                   com.google.gwt.user.client.ui.Widget widget,
                                   String parentPath)

addField

private FieldDescriptor addField(CluSetsConfigurer.ModelIdPlaceHolder modelId,
                                 Section section,
                                 String fieldKey,
                                 MessageKeyInfo messageKey,
                                 com.google.gwt.user.client.ui.Widget widget,
                                 String parentPath)

getEditSearchCluSetId

public String getEditSearchCluSetId()

setEditSearchCluSetId

public void setEditSearchCluSetId(String searchCluSetId)

getViewSearchCluSetId

public String getViewSearchCluSetId()

setViewSearchCluSetId

public void setViewSearchCluSetId(String viewSearchCluSetId)

generateMessageInfo

protected MessageKeyInfo generateMessageInfo(String labelKey)


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