|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.uif.component.ConfigurableBase
org.kuali.rice.krad.uif.component.ComponentBase
org.kuali.rice.krad.uif.widget.WidgetBase
org.kuali.rice.krad.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.krad.uif.component.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()
|
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: 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 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 |
| Methods inherited from class org.kuali.rice.krad.uif.widget.WidgetBase |
|---|
getComponentTypeName |
| Methods inherited from class org.kuali.rice.krad.uif.component.ConfigurableBase |
|---|
getPropertyExpression, getPropertyExpressions, setPropertyExpressions |
| 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.Configurable |
|---|
getPropertyExpression, getPropertyExpressions, setPropertyExpressions |
| 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.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)
BindingInfo
bindingInfo - - binding info instance to copy binding path prefix from
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> 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||