org.kuali.rice.krad.uif.view
Class LookupView

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.DictionaryBeanBase
      extended by org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
          extended by org.kuali.rice.krad.uif.component.ComponentBase
              extended by org.kuali.rice.krad.uif.container.ContainerBase
                  extended by org.kuali.rice.krad.uif.view.View
                      extended by org.kuali.rice.krad.uif.view.FormView
                          extended by org.kuali.rice.krad.uif.view.LookupView
All Implemented Interfaces:
Serializable, Cloneable, DictionaryBean, UifDictionaryBean, Component, ScriptEventSupport, Container, Helpable, org.springframework.core.Ordered

public class LookupView
extends FormView

View type for lookups

Supports doing a search against a data object class or performing a more advanced query. The view type is primarily made up of two groups, the search (or criteria) group and the results group. Many options are supported on the view to enable/disable certain features, like what actions are available on the search results.

Works in conjunction with LookupableImpl which customizes the view and carries out the business functionality

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  boolean defaultSortAscending
           
 
Fields inherited from class org.kuali.rice.krad.uif.view.View
viewIndex
 
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered
INITIAL_ORDER_VALUE
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
LookupView()
           
 
Method Summary
 void applyConditionalLogicForFieldDisplay()
           
protected
<T> void
copyProperties(T component)
          Copies the properties over for the copy method
 List<Component> getComponentPrototypes()
          List of components that are maintained by the component as prototypes for creating other component instances
 List<Component> getCriteriaFields()
           
 Group getCriteriaGroup()
           
 Class<?> getDataObjectClassName()
          Class name for the object the lookup applies to
 List<String> getDefaultSortAttributeNames()
           
 String getMaintenanceUrlMapping()
          String that maps to the maintenance controller for the maintenance document (if any) associated with the lookup data object class
 Integer getMultipleValuesSelectResultSetLimit()
          Retrieves the maximum number of records that will be listed as a result of the multiple values select lookup search
 Message getRangedToMessage()
          The Message to render between the two range fields for ranged criteria fields
 FieldGroup getRangeFieldGroupPrototype()
          The field group prototype that will be copied and used for range fields
 List<Component> getResultFields()
           
 Integer getResultSetLimit()
          Retrieves the maximum number of records that will be listed as a result of the lookup search
 CollectionGroup getResultsGroup()
           
 String getReturnTarget()
           
 boolean hasMultipleValuesSelectResultSetLimit()
          Indicates whether a multiple values select result set limit has been specified for the view
 boolean hasResultSetLimit()
          Indicates whether a result set limit has been specified for the view
protected  void initializeGroups()
           
 boolean isAutoAddActiveCriteria()
          Indicates whether the 'active' criteria field must be added automatically for Inactivatable BO's
 boolean isDefaultSortAscending()
           
 boolean isHideReturnLinks()
           
 boolean isMultipleValuesSelect()
          Indicates whether multiple values select should be enabled for the lookup
 boolean isRenderHeader()
          Indicates whether the lookup header should be rendered
 boolean isRenderLookupCriteria()
          Indicates whether the lookup criteria group should be rendered
 boolean isRenderSearchButtons()
          Indicates that the action buttons like search in the criteria section should be rendered
 boolean isReturnByScript()
           
 boolean isShowMaintenanceLinks()
           
 boolean isSuppressActions()
           
 boolean isTriggerOnChange()
          Indicates that the search must execute on changing of a value in all lookup input fields
 void performApplyModel(View view, Object model, Component parent)
          The following updates are done here: Invoke expression evaluation on view theme Invoke theme to configure defaults
 void performFinalize(View view, Object model, Component parent)
          The following is performed: Adds to its document ready script the setupValidator js function for setting up the validator for this view
 void performInitialization(View view, Object model)
          The following initialization is performed: Set the abstractTypeClasses map for the lookup object path
 void setAutoAddActiveCriteria(boolean autoAddActiveCriteria)
          Setter for the flag that indicates whether the 'active' criteria field must be added automatically for Inactivatable BO's
 void setCriteriaFields(List<Component> criteriaFields)
           
 void setCriteriaGroup(Group criteriaGroup)
           
 void setDataObjectClassName(Class<?> dataObjectClassName)
          Setter for the object class name
 void setDefaultSortAscending(boolean defaultSortAscending)
           
 void setDefaultSortAttributeNames(List<String> defaultSortAttributeNames)
           
 void setHideReturnLinks(boolean hideReturnLinks)
           
 void setMaintenanceUrlMapping(String maintenanceUrlMapping)
          Setter for the URL mapping string that will be used to build up maintenance action URLs
 void setMultipleValuesSelect(boolean multipleValuesSelect)
          Setter for the multiple values select indicator
 void setMultipleValuesSelectResultSetLimit(Integer multipleValuesSelectResultSetLimit)
          Setter for the multiple values select result set limit
 void setRangedToMessage(Message rangedToMessage)
          Setter for the Message rendered between the two range fields for ranged criteria fields
 void setRangeFieldGroupPrototype(FieldGroup rangeFieldGroupPrototype)
          Setter for the range FieldGroup prototype
 void setRenderHeader(boolean renderHeader)
          Setter for the header render flag
 void setRenderLookupCriteria(boolean renderLookupCriteria)
          Setter for the lookup criteria group render flag
 void setRenderSearchButtons(boolean renderSearchButtons)
          Setter for the render search buttons flag
 void setResultFields(List<Component> resultFields)
           
 void setResultSetLimit(Integer resultSetLimit)
          Setter for the result list limit
 void setResultsGroup(CollectionGroup resultsGroup)
           
 void setReturnByScript(boolean returnByScript)
          Setter for the flag to indicate that lookups will return the value by script and not a post
 void setReturnTarget(String returnTarget)
           
 void setShowMaintenanceLinks(boolean showMaintenanceLinks)
           
 void setSuppressActions(boolean suppressActions)
           
 void setTriggerOnChange(boolean triggerOnChange)
          Setter for the trigger search on change flag
 
Methods inherited from class org.kuali.rice.krad.uif.view.FormView
getFormPostUrl, isRenderForm, isValidateClientSide, isValidateServerSide, setFormPostUrl, setRenderForm, setValidateClientSide, setValidateServerSide
 
Methods inherited from class org.kuali.rice.krad.uif.view.View
assignComponentId, assignComponentIds, assignPageIds, completeValidation, getActionFlags, getAdditionalCssFiles, getAdditionalScriptFiles, getApplicationFooter, getApplicationHeader, getAuthorizer, getBreadcrumbItem, getBreadcrumbOptions, getBreadcrumbs, getComponentsForLifecycle, getComponentTypeName, getCurrentPage, getCurrentPageId, getDefaultBindingObjectPath, getDialogs, getEditModes, getEntryPageId, getExpressionVariables, getFormClass, getGrowls, getIdSequence, getItems, getNamespaceCode, getNavigation, getNavigationBlockUI, getNextId, getObjectPathToConcreteClassMapping, getPage, getParentLocation, getPathBasedBreadcrumbs, getPreLoadScript, getPresentationController, getRefreshBlockUI, getSessionPolicy, getStateMapping, getStateObjectBindingPath, getSupportedComponents, getTheme, getTopGroup, getViewHelperService, getViewHelperServiceClass, getViewIndex, getViewMenuGroupName, getViewMenuLink, getViewName, getViewRequestParameters, getViewStatus, getViewTemplates, getViewTypeName, index, isApplyDirtyCheck, isDisableBrowserCache, isDisableNativeAutocomplete, isFinal, isGrowlMessagingEnabled, isInitialized, isMergeWithPageItems, isPersistFormToSession, isSinglePageView, isStickyApplicationFooter, isStickyApplicationHeader, isStickyBreadcrumbs, isStickyFooter, isStickyHeader, isStickyTopGroup, isSupportsRequestOverrideOfReadOnlyFields, isTranslateCodesOnReadOnlyDisplay, isUnifiedHeader, isUseLibraryCssClasses, setActionFlags, setAdditionalCssFiles, setAdditionalScriptFiles, setApplicationFooter, setApplicationHeader, setApplyDirtyCheck, setAuthorizer, setAuthorizerClass, setBreadcrumbItem, setBreadcrumbOptions, setBreadcrumbs, setCurrentPageId, setDefaultBindingObjectPath, setDialogs, setDisableBrowserCache, setDisableNativeAutocomplete, setEditModes, setEntryPageId, setExpressionVariables, setFormClass, setGrowlMessagingEnabled, setGrowls, setIdSequence, setItems, setMergeWithPageItems, setNamespaceCode, setNavigation, setNavigationBlockUI, setObjectPathToConcreteClassMapping, setPage, setParentLocation, setPathBasedBreadcrumbs, setPersistFormToSession, setPreLoadScript, setPresentationController, setPresentationControllerClass, setRefreshBlockUI, setSessionPolicy, setSinglePageView, setStateMapping, setStateObjectBindingPath, setStickyApplicationFooter, setStickyApplicationHeader, setStickyBreadcrumbs, setStickyFooter, setStickyHeader, setStickyTopGroup, setSupportsRequestOverrideOfReadOnlyFields, setTheme, setTopGroup, setTranslateCodesOnReadOnlyDisplay, setUnifiedHeader, setUseLibraryCssClasses, setViewHelperService, setViewHelperServiceClass, setViewMenuGroupName, setViewMenuLink, setViewName, setViewRequestParameters, setViewStatus, setViewTemplates, setViewTypeName, sortItems
 
Methods inherited from class org.kuali.rice.krad.uif.container.ContainerBase
getDefaultItemPosition, getFooter, getHeader, getHeaderText, getHelp, getHelpTitle, getInstructionalMessage, getInstructionalText, getLayoutManager, getValidationMessages, setDefaultItemPosition, setFooter, setHeader, setHeaderText, setHelp, setInstructionalMessage, setInstructionalText, setLayoutManager, setRenderFooter, setTooltipOfComponent, setValidationMessages
 
Methods inherited from class org.kuali.rice.krad.uif.component.ComponentBase
addCellCssClass, addDataAttribute, addDataAttributeIfNonEmpty, addStyleClass, appendToStyle, copy, getAdditionalComponentsToRefresh, getAdditionalComponentsToRefreshJs, getAdditionalCssClasses, getAlign, getBaseId, getCellCssClasses, getCellStyle, getCellStyleClassesAsString, getCellWidth, getColSpan, getComponentModifiers, getComponentSecurity, getComponentSecurityClass, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getCssClasses, getDataAttributes, getEventHandlerScript, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getLibraryCssClasses, getMethodToCallOnRefresh, getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getOrder, getPostRenderContent, getPreRenderContent, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshTimer, getRefreshWhenChangedPropertyNames, getRenderedHtmlOutput, getRequired, getRowSpan, getSimpleDataAttributes, getStyle, getStyleClassesAsString, getTemplate, getTemplateName, getTemplateOptions, getTemplateOptionsJSString, getTitle, getToolTip, getValign, getWidth, isDisableSessionPersistence, isDisclosedByAction, isForceSessionPersistence, isHidden, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefreshedByAction, isRender, isResetDataOnRefresh, isRetrieveViaAjax, isSelfRendered, isSkipInTabOrder, pushAllToContext, pushObjectToContext, pushToPropertyReplacerContext, setAdditionalComponentsToRefresh, setAdditionalCssClasses, setAlign, setBaseId, setCellCssClasses, setCellStyle, setCellWidth, setColSpan, setComponentModifiers, setComponentSecurity, setConditionalRefresh, setContext, setCssClasses, setDataAttributes, setDisableSessionPersistence, setDisclosedByAction, setFinalizeMethodAdditionalArguments, setFinalizeMethodInvoker, setFinalizeMethodToCall, setForceSessionPersistence, setHidden, setId, setLibraryCssClasses, setMethodToCallOnRefresh, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setPostRenderContent, setPreRenderContent, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefreshedByAction, setRefreshTimer, setRefreshWhenChangedPropertyNames, setRender, setRenderedHtmlOutput, setRequired, setResetDataOnRefresh, setRetrieveViaAjax, setRowSpan, setSelfRendered, setSkipInTabOrder, setStyle, setTemplate, setTemplateName, setTemplateOptions, setTemplateOptionsJSString, setTitle, setToolTip, setValign, setWidth
 
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph
 
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
getComponentCode, setComponentCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.uif.component.Component
addCellCssClass, addDataAttribute, addStyleClass, appendToStyle, copy, getAdditionalComponentsToRefresh, getAdditionalComponentsToRefreshJs, getAdditionalCssClasses, getAlign, getBaseId, getCellCssClasses, getCellStyle, getCellWidth, getColSpan, getComponentModifiers, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getCssClasses, getDataAttributes, getEventHandlerScript, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getLibraryCssClasses, getOrder, getPostRenderContent, getPreRenderContent, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshTimer, getRefreshWhenChangedPropertyNames, getRenderedHtmlOutput, getRequired, getRowSpan, getSimpleDataAttributes, getStyle, getTemplate, getTemplateName, getTemplateOptions, getTemplateOptionsJSString, getTitle, getToolTip, getValign, getWidth, isDisableSessionPersistence, isDisclosedByAction, isForceSessionPersistence, isHidden, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefreshedByAction, isRender, isResetDataOnRefresh, isRetrieveViaAjax, isSelfRendered, pushAllToContext, pushObjectToContext, setAdditionalComponentsToRefresh, setAdditionalCssClasses, setAlign, setBaseId, setCellCssClasses, setCellStyle, setCellWidth, setColSpan, setComponentModifiers, setComponentSecurity, setConditionalRefresh, setContext, setCssClasses, setDataAttributes, setDisableSessionPersistence, setDisclosedByAction, setForceSessionPersistence, setHidden, setId, setLibraryCssClasses, setOrder, setPostRenderContent, setPreRenderContent, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefreshedByAction, setRefreshTimer, setRefreshWhenChangedPropertyNames, setRender, setRenderedHtmlOutput, setRequired, setResetDataOnRefresh, setRetrieveViaAjax, setRowSpan, setSelfRendered, setStyle, setTemplate, setTemplateName, setTemplateOptions, setTemplateOptionsJSString, setTitle, setToolTip, setValign, setWidth
 
Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph
 
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
getComponentCode
 
Methods inherited from interface org.kuali.rice.krad.uif.component.ScriptEventSupport
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript
 

Field Detail

defaultSortAscending

protected boolean defaultSortAscending
Constructor Detail

LookupView

public LookupView()
Method Detail

performInitialization

public void performInitialization(View view,
                                  Object model)
The following initialization is performed:

Specified by:
performInitialization in interface Component
Overrides:
performInitialization in class View
Parameters:
view - - view instance in which the component belongs
model - - object instance containing the view data
See Also:
ContainerBase.performInitialization(org.kuali.rice.krad.uif.view.View, java.lang.Object)

initializeGroups

protected void initializeGroups()

performApplyModel

public void performApplyModel(View view,
                              Object model,
                              Component parent)
Description copied from class: View
The following updates are done here:

Specified by:
performApplyModel in interface Component
Overrides:
performApplyModel in class View
Parameters:
view - - view instance to which the component belongs
model - - Top level object containing the data (could be the form or a top level business object, dto)
See Also:
ContainerBase.performApplyModel(View, Object, org.kuali.rice.krad.uif.component.Component)

performFinalize

public void performFinalize(View view,
                            Object model,
                            Component parent)
Description copied from class: View
The following is performed:

Specified by:
performFinalize in interface Component
Overrides:
performFinalize in class View
Parameters:
view - - view instance that should be finalized for rendering
model - - top level object containing the data
parent - - parent component
See Also:
ContainerBase.performFinalize(org.kuali.rice.krad.uif.view.View, Object, org.kuali.rice.krad.uif.component.Component)

getComponentPrototypes

public List<Component> getComponentPrototypes()
Description copied from interface: Component
List of components that are maintained by the component as prototypes for creating other component instances

Prototypes are held for configuring how a component should be created during the lifecycle. An example of this are the fields in a collection group that are created for each collection record. They only participate in the initialize phase.

Specified by:
getComponentPrototypes in interface Component
Overrides:
getComponentPrototypes in class ContainerBase
Returns:
List child component prototypes
See Also:
Component.getComponentPrototypes()

applyConditionalLogicForFieldDisplay

public void applyConditionalLogicForFieldDisplay()

getDataObjectClassName

public Class<?> getDataObjectClassName()
Class name for the object the lookup applies to

The object class name is used to pick up a dictionary entry which will feed the attribute field definitions and other configuration. In addition it is to configure the Lookupable which will carry out the lookup action

Returns:
lookup data object class

setDataObjectClassName

public void setDataObjectClassName(Class<?> dataObjectClassName)
Setter for the object class name

Parameters:
dataObjectClassName -

isHideReturnLinks

public boolean isHideReturnLinks()
Returns:
the hideReturnLinks

setHideReturnLinks

public void setHideReturnLinks(boolean hideReturnLinks)
Parameters:
hideReturnLinks - the hideReturnLinks to set

isSuppressActions

public boolean isSuppressActions()
Returns:
the suppressActions

setSuppressActions

public void setSuppressActions(boolean suppressActions)
Parameters:
suppressActions - the suppressActions to set

isShowMaintenanceLinks

public boolean isShowMaintenanceLinks()
Returns:
the showMaintenanceLinks

setShowMaintenanceLinks

public void setShowMaintenanceLinks(boolean showMaintenanceLinks)
Parameters:
showMaintenanceLinks - the showMaintenanceLinks to set

isMultipleValuesSelect

public boolean isMultipleValuesSelect()
Indicates whether multiple values select should be enabled for the lookup

When set to true, the select field is enabled for the lookup results group that allows the user to select one or more rows for returning

Returns:
true if multiple values should be enabled, false otherwise

setMultipleValuesSelect

public void setMultipleValuesSelect(boolean multipleValuesSelect)
Setter for the multiple values select indicator

Parameters:
multipleValuesSelect -

getCriteriaGroup

public Group getCriteriaGroup()

setCriteriaGroup

public void setCriteriaGroup(Group criteriaGroup)

getResultsGroup

public CollectionGroup getResultsGroup()

setResultsGroup

public void setResultsGroup(CollectionGroup resultsGroup)

getCriteriaFields

public List<Component> getCriteriaFields()

setCriteriaFields

public void setCriteriaFields(List<Component> criteriaFields)

getResultFields

public List<Component> getResultFields()

setResultFields

public void setResultFields(List<Component> resultFields)

getDefaultSortAttributeNames

public List<String> getDefaultSortAttributeNames()

setDefaultSortAttributeNames

public void setDefaultSortAttributeNames(List<String> defaultSortAttributeNames)

isDefaultSortAscending

public boolean isDefaultSortAscending()

setDefaultSortAscending

public void setDefaultSortAscending(boolean defaultSortAscending)

getResultSetLimit

public Integer getResultSetLimit()
Retrieves the maximum number of records that will be listed as a result of the lookup search

Returns:
Integer result set limit

setResultSetLimit

public void setResultSetLimit(Integer resultSetLimit)
Setter for the result list limit

Parameters:
resultSetLimit - Integer specifying limit

hasResultSetLimit

public boolean hasResultSetLimit()
Indicates whether a result set limit has been specified for the view

Returns:
true if this instance has a result set limit

getMultipleValuesSelectResultSetLimit

public Integer getMultipleValuesSelectResultSetLimit()
Retrieves the maximum number of records that will be listed as a result of the multiple values select lookup search

Returns:
multiple values select result set limit

setMultipleValuesSelectResultSetLimit

public void setMultipleValuesSelectResultSetLimit(Integer multipleValuesSelectResultSetLimit)
Setter for the multiple values select result set limit

Parameters:
multipleValuesSelectResultSetLimit - Integer specifying limit

hasMultipleValuesSelectResultSetLimit

public boolean hasMultipleValuesSelectResultSetLimit()
Indicates whether a multiple values select result set limit has been specified for the view

Returns:
true if this instance has a multiple values select result set limit

setReturnTarget

public void setReturnTarget(String returnTarget)
Parameters:
returnTarget - the returnTarget to set

getReturnTarget

public String getReturnTarget()
Returns:
the returnTarget

isReturnByScript

public boolean isReturnByScript()
Returns:
the returnByScript

setReturnByScript

public void setReturnByScript(boolean returnByScript)
Setter for the flag to indicate that lookups will return the value by script and not a post

Parameters:
returnByScript - the returnByScript flag

getMaintenanceUrlMapping

public String getMaintenanceUrlMapping()
String that maps to the maintenance controller for the maintenance document (if any) associated with the lookup data object class

Mapping will be used to build the maintenance action links (such as edit, copy, and new). If not given, the default maintenance mapping will be used

Returns:
mapping string

setMaintenanceUrlMapping

public void setMaintenanceUrlMapping(String maintenanceUrlMapping)
Setter for the URL mapping string that will be used to build up maintenance action URLs

Parameters:
maintenanceUrlMapping -

isRenderSearchButtons

public boolean isRenderSearchButtons()
Indicates that the action buttons like search in the criteria section should be rendered

Returns:
boolean

setRenderSearchButtons

public void setRenderSearchButtons(boolean renderSearchButtons)
Setter for the render search buttons flag

Parameters:
renderSearchButtons -

isRenderLookupCriteria

public boolean isRenderLookupCriteria()
Indicates whether the lookup criteria group should be rendered

Defaults to true. Can be set as bean property or passed as a request parameter in the lookup url.

Returns:
boolean

setRenderLookupCriteria

public void setRenderLookupCriteria(boolean renderLookupCriteria)
Setter for the lookup criteria group render flag

Parameters:
renderLookupCriteria -

isRenderHeader

public boolean isRenderHeader()
Indicates whether the lookup header should be rendered

Defaults to true. Can be set as bean property or passed as a request parameter in the lookup url.

Returns:
boolean

setRenderHeader

public void setRenderHeader(boolean renderHeader)
Setter for the header render flag

Overrides:
setRenderHeader in class ContainerBase
Parameters:
renderHeader -

isTriggerOnChange

public boolean isTriggerOnChange()
Indicates that the search must execute on changing of a value in all lookup input fields

Returns:
boolean

setTriggerOnChange

public void setTriggerOnChange(boolean triggerOnChange)
Setter for the trigger search on change flag

Parameters:
triggerOnChange -

getRangeFieldGroupPrototype

public FieldGroup getRangeFieldGroupPrototype()
The field group prototype that will be copied and used for range fields

Returns:
FieldGroup

setRangeFieldGroupPrototype

public void setRangeFieldGroupPrototype(FieldGroup rangeFieldGroupPrototype)
Setter for the range FieldGroup prototype

Parameters:
rangeFieldGroupPrototype -

isAutoAddActiveCriteria

public boolean isAutoAddActiveCriteria()
Indicates whether the 'active' criteria field must be added automatically for Inactivatable BO's

Returns:
boolean

setAutoAddActiveCriteria

public void setAutoAddActiveCriteria(boolean autoAddActiveCriteria)
Setter for the flag that indicates whether the 'active' criteria field must be added automatically for Inactivatable BO's

Parameters:
autoAddActiveCriteria -

getRangedToMessage

public Message getRangedToMessage()
The Message to render between the two range fields for ranged criteria fields

Returns:

setRangedToMessage

public void setRangedToMessage(Message rangedToMessage)
Setter for the Message rendered between the two range fields for ranged criteria fields

Parameters:
rangedToMessage -

copyProperties

protected <T> void copyProperties(T component)
Description copied from class: ComponentBase
Copies the properties over for the copy method

Overrides:
copyProperties in class FormView
Parameters:
component - base bean
See Also:
ComponentBase.copy()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.