org.kuali.rice.krad.labs.inquiry
Class LabsInquiryCustomLinkInquirable

java.lang.Object
  extended by org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
      extended by org.kuali.rice.krad.inquiry.InquirableImpl
          extended by org.kuali.rice.krad.labs.inquiry.LabsInquiryCustomLinkInquirable
All Implemented Interfaces:
Serializable, Inquirable, ViewHelperService

public class LabsInquiryCustomLinkInquirable
extends InquirableImpl

Demonstrates the ability to customize links.

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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
dataObjectClass, SUPER_CLASS_TRANSLATOR_LIST
 
Constructor Summary
LabsInquiryCustomLinkInquirable()
           
 
Method Summary
 void buildInquirableLink(Object dataObject, String propertyName, Inquiry inquiry)
          Invoked by the ViewHelperService to build a link to the inquiry
 
Methods inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
copy, getAlternateKeysForClass, getDataDictionaryService, getDataObjectAuthorizationService, getDataObjectClass, getEncryptionService, getKualiModuleService, getLegacyDataAdapter, retrieveDataObject, retrieveKeySetFromMap, setDataObjectClass
 
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, getConfigurationService, getDataObjectService, getDefaultValueForField, getExpressionEvaluatorFactory, getViewDictionaryService, linkAddedLine, logAndThrowRuntime, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performCustomViewFinalize, performCustomViewInitialization, performDeleteLineValidation, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, retrieveEditModesAndActionFlags, setConfigurationService, setDataDictionaryService, setDataObjectService, setExpressionEvaluatorFactory, setLegacyDataAdapter, setViewContext, setViewDictionaryService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabsInquiryCustomLinkInquirable

public LabsInquiryCustomLinkInquirable()
Method Detail

buildInquirableLink

public void buildInquirableLink(Object dataObject,
                                String propertyName,
                                Inquiry inquiry)
Description copied from interface: Inquirable
Invoked by the ViewHelperService to build a link to the inquiry

Note this is used primarily for custom Inquirable implementations to customize the inquiry class or parameters for an inquiry. Instead of building the full inquiry link, implementations can make a callback to org.kuali.rice.krad.uif.widget.Inquiry.buildInquiryLink(Object, String, Class, Map) given an inquiry class and parameters to build the link field.

Specified by:
buildInquirableLink in interface Inquirable
Overrides:
buildInquirableLink in class InquirableImpl
Parameters:
dataObject - - parent object for the inquiry property
propertyName - - name of the property the inquiry is being built for
inquiry - - instance of the inquiry widget being built for the property
See Also:
Inquirable.buildInquirableLink(java.lang.Object, java.lang.String, org.kuali.rice.krad.uif.widget.Inquiry)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.