|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.uif.core.ComponentBase
org.kuali.rice.kns.uif.widget.WidgetBase
org.kuali.rice.kns.uif.widget.Inquiry
public class Inquiry
Widget for rendering an Inquiry link on a field's value
| Field Summary | |
|---|---|
static String |
INQUIRY_TITLE_PREFIX
|
| Fields inherited from interface org.kuali.rice.kns.uif.core.Ordered |
|---|
INITIAL_ORDER_VALUE |
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Constructor Summary | |
|---|---|
Inquiry()
|
|
| Method Summary | |
|---|---|
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()
|
String |
getBindingPrefix()
|
String |
getConditionalReadOnly()
Expression language string for conditionally setting the readOnly property |
String |
getDataObjectClassName()
|
ActionField |
getDirectInquiryActionField()
|
LinkField |
getInquiryLinkField()
|
Map<String,String> |
getInquiryParameters()
|
List<Component> |
getNestedComponents()
List of components that are contained within the component |
String |
getViewName()
|
boolean |
isBindToMap()
|
boolean |
isForceInquiry()
|
boolean |
isReadOnly()
Indicates whether the component can be edited |
void |
performFinalize(View view,
Object model,
Component parent)
The following finalization is done here: If any of the style properties were given, sets the style string on the style property Setup the decorator chain (if component has decorators) for rendering |
void |
setBaseInquiryUrl(String baseInquiryUrl)
|
void |
setBindingPrefix(String bindingPrefix)
|
void |
setBindToMap(boolean bindToMap)
|
void |
setConditionalReadOnly(String conditionalReadOnly)
Setter for the conditional readOnly string |
void |
setDataObjectClassName(String dataObjectClassName)
|
void |
setDirectInquiryActionField(ActionField directInquiryActionField)
|
void |
setForceInquiry(boolean forceInquiry)
|
void |
setInquiryLinkField(LinkField inquiryLinkField)
|
void |
setInquiryParameters(Map<String,String> inquiryParameters)
|
void |
setInquiryParameters(String inquiryParameterString)
|
void |
setReadOnly(boolean readOnly)
Setter for the read only indicator |
void |
setViewName(String viewName)
|
| Methods inherited from class org.kuali.rice.kns.uif.widget.WidgetBase |
|---|
getComponentTypeName |
| 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.kns.uif.core.Component |
|---|
addStyleClass, appendToStyle, getColSpan, getComponentModifiers, getComponentOptions, getContext, getId, getOrder, getPropertiesForReferenceCopy, getPropertyReplacers, getRequired, getRowSpan, getStyle, getStyleClasses, getTemplate, getTitle, isHidden, isRender, performApplyModel, performInitialization, pushObjectToContext, setColSpan, setComponentModifiers, setComponentOptions, setContext, setHidden, setId, setOrder, setPropertyReplacers, setRender, setRequired, setRowSpan, setStyle, setStyleClasses, setTemplate, setTitle |
| Field Detail |
|---|
public static final String INQUIRY_TITLE_PREFIX
| Constructor Detail |
|---|
public Inquiry()
| Method Detail |
|---|
public void performFinalize(View view,
Object model,
Component parent)
ComponentBase
performFinalize 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.kns.uif.container.View,
java.lang.Object, org.kuali.rice.kns.uif.core.Component)
public 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 into
public List<Component> getNestedComponents()
Component
Used by ViewHelperService for the various lifecycle
callbacks
getNestedComponents in interface ComponentgetNestedComponents in class ComponentBaseComponentBase.getNestedComponents()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 void setInquiryParameters(String inquiryParameterString)
public LinkField getInquiryLinkField()
public void setInquiryLinkField(LinkField inquiryLinkField)
public ActionField getDirectInquiryActionField()
public void setDirectInquiryActionField(ActionField directInquiryActionField)
directInquiryActionField - the directInquiryActionField to setpublic String getConditionalReadOnly()
Component
getConditionalReadOnly in interface ComponentgetConditionalReadOnly in class ComponentBaseComponent.getConditionalReadOnly()public void setConditionalReadOnly(String conditionalReadOnly)
Component
setConditionalReadOnly in interface ComponentsetConditionalReadOnly in class ComponentBaseconditionalReadOnly - the conditionalReadOnly to setComponent.setConditionalReadOnly(java.lang.String)public boolean isReadOnly()
Component
When readOnly the controls and widgets of Field components
will not be rendered. If the Field has an underlying value it will be
displayed readOnly to the user.
For a Container component, the readOnly setting will apply
to all contained components (making a section readOnly makes all fields
within the section readOnly)
isReadOnly in interface ComponentisReadOnly in class ComponentBaseComponent.isReadOnly()public void setReadOnly(boolean readOnly)
Component
setReadOnly in interface ComponentsetReadOnly in class ComponentBasereadOnly - the readOnly to setComponent.setReadOnly(boolean)public String getBindingPrefix()
public void setBindingPrefix(String bindingPrefix)
bindingPrefix - the bindingPrefix to setpublic void setBindToMap(boolean bindToMap)
bindToMap - the bindToMap to setpublic boolean isBindToMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||