public class Inquiry extends WidgetBase
| Modifier and Type | Field and Description |
|---|---|
static String |
INQUIRY_TITLE_PREFIX |
INITIAL_ORDER_VALUE| Constructor and Description |
|---|
Inquiry() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildInquiryLink(Object dataObject,
String propertyName,
Class<?> inquiryObjectClass,
Map<String,String> inquiryParms)
Builds the inquiry link based on the given inquiry class and parameters
|
String |
createTitleText(Class<?> dataObjectClass)
Gets text to prepend to the inquiry link title
|
String |
getBaseInquiryUrl() |
List<Component> |
getComponentsForLifecycle()
List of components that are contained within the component and should be sent through
the lifecycle
|
String |
getDataObjectClassName() |
LinkField |
getInquiryLinkField() |
Map<String,String> |
getInquiryParameters() |
String |
getViewName() |
boolean |
isForceInquiry() |
void |
performFinalize(View view,
Object model,
Component parent)
The following finalization is done here:
progressiveRender and conditionalRefresh variables are processed if set
If any of the style properties were given, sets the style string on
the style property
Set the skipInTabOrder flag for nested components
|
void |
setBaseInquiryUrl(String baseInquiryUrl) |
void |
setDataObjectClassName(String dataObjectClassName) |
void |
setForceInquiry(boolean forceInquiry) |
void |
setInquiryLinkField(LinkField inquiryLinkField) |
void |
setInquiryParameters(Map<String,String> inquiryParameters) |
void |
setupLink(View view,
Object model,
DataField field)
Get parent object and field name and build the inquiry link
This was moved from the performFinalize because overlapping and to be used
by DirectInquiry
|
void |
setViewName(String viewName) |
void |
updateInquiryParameters(BindingInfo bindingInfo)
Adjusts the path on the inquiry parameter property to match the binding
path prefix of the given
BindingInfo |
getComponentTypeNameaddStyleClass, appendToStyle, getAlign, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getComponentPrototypes, getComponentSecurity, getComponentSecurityClass, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getEventCode, getFactoryId, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshDiscloseMethodToCall, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRequired, getRowSpan, getStyle, getStyleClasses, getStyleClassesAsString, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnClose, getSupportsOnDblClick, getSupportsOnDocumentReady, getSupportsOnFocus, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnLoad, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnSubmit, getSupportsOnUnload, getTemplate, getTitle, getValign, getWidth, isHidden, isPersistInSession, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRefreshedByAction, isRender, isResetDataOnRefresh, isSelfRendered, isSkipInTabOrder, performApplyModel, performInitialization, pushAllToContext, pushObjectToContext, pushToPropertyReplacerContext, setAlign, setColSpan, setComponentModifiers, setComponentOptions, setComponentOptionsJSString, setComponentSecurity, setConditionalRefresh, setContext, setFactoryId, setFinalizeMethodAdditionalArguments, setFinalizeMethodInvoker, setFinalizeMethodToCall, setHidden, setId, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setPersistInSession, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshDiscloseMethodToCall, setRefreshedByAction, setRefreshWhenChanged, setRender, setRenderOutput, setRequired, setResetDataOnRefresh, setRowSpan, setSelfRendered, setSkipInTabOrder, setStyle, setStyleClasses, setTemplate, setTitle, setValign, setWidthgetPropertyExpression, getPropertyExpressions, setPropertyExpressionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStyleClass, appendToStyle, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getComponentPrototypes, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getFactoryId, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRequired, getRowSpan, getStyle, getStyleClasses, getTemplate, getTitle, isHidden, isPersistInSession, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRefreshedByAction, isRender, isResetDataOnRefresh, isSelfRendered, performApplyModel, performInitialization, pushAllToContext, pushObjectToContext, setColSpan, setComponentModifiers, setComponentOptions, setComponentOptionsJSString, setComponentSecurity, setConditionalRefresh, setContext, setFactoryId, setHidden, setId, setOrder, setPersistInSession, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshedByAction, setRefreshWhenChanged, setRender, setRenderOutput, setRequired, setResetDataOnRefresh, setRowSpan, setSelfRendered, setStyle, setStyleClasses, setTemplate, setTitlegetPropertyExpression, getPropertyExpressions, setPropertyExpressionsgetOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnClose, getSupportsOnDblClick, getSupportsOnDocumentReady, getSupportsOnFocus, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnLoad, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnSubmit, getSupportsOnUnload, setOnBlurScript, setOnDocumentReadyScript, setOnLoadScriptpublic static final String INQUIRY_TITLE_PREFIX
public Inquiry()
public void performFinalize(View view, Object model, Component parent)
ComponentBaseperformFinalize in interface ComponentperformFinalize in class ComponentBaseview - - view instance that should be finalized for renderingmodel - - top level object containing the dataparent - - parent componentComponentBase.performFinalize(org.kuali.rice.krad.uif.view.View,
java.lang.Object, org.kuali.rice.krad.uif.component.Component)public void setupLink(View view, Object model, DataField field)
view - - Container Viewmodel - - modelfield - - The parent Attribute fieldpublic void updateInquiryParameters(BindingInfo bindingInfo)
BindingInfobindingInfo - - binding info instance to copy binding path prefix frompublic void buildInquiryLink(Object dataObject, String propertyName, Class<?> inquiryObjectClass, Map<String,String> inquiryParms)
dataObject - - parent object that contains the data (used to pull inquiry
parameters)propertyName - - name of the property the inquiry is set oninquiryObjectClass - - class of the object the inquiry should point toinquiryParms - - map of key field mappings for the inquirypublic String createTitleText(Class<?> dataObjectClass)
dataObjectClass - - data object class being inquired intopublic List<Component> getComponentsForLifecycle()
Component
Used by ViewHelperService for the various lifecycle
callbacks
getComponentsForLifecycle in interface ComponentgetComponentsForLifecycle in class ComponentBaseComponentBase.getComponentsForLifecycle()public String getBaseInquiryUrl()
public void setBaseInquiryUrl(String baseInquiryUrl)
public String getDataObjectClassName()
public void setDataObjectClassName(String dataObjectClassName)
public String getViewName()
public void setViewName(String viewName)
public boolean isForceInquiry()
public void setForceInquiry(boolean forceInquiry)
public Map<String,String> getInquiryParameters()
public void setInquiryParameters(Map<String,String> inquiryParameters)
public LinkField getInquiryLinkField()
public void setInquiryLinkField(LinkField inquiryLinkField)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.