public class TravelCompanyCategoryInquirable extends InquirableImpl implements Inquirable
TravelCompanyCategory
. This is a very limited implementation to make the
demonstration page work. Rather than query, it creates an instance of the data object manually.dataObjectClass, SUPER_CLASS_TRANSLATOR_LIST
Constructor and Description |
---|
TravelCompanyCategoryInquirable() |
Modifier and Type | Method and Description |
---|---|
void |
buildInquirableLink(Object dataObject,
String propertyName,
Inquiry inquiry)
Invoked by the
ViewHelperService to build a link to the
inquiry |
Object |
retrieveDataObject(Map<String,String> fieldValues)
Finds primary and alternate key sets configured for the configured data object class and
then attempts to find a set with matching key/value pairs from the request, if a set is
found then calls the module service (for EBOs) or business object service to retrieve
the data object
|
void |
setDataObjectClass(Class<?> dataObjectClass) |
getAlternateKeysForClass, getDataDictionaryService, getDataObjectAuthorizationService, getDataObjectClass, getEncryptionService, getKualiModuleService, getLegacyDataAdapter, retrieveKeySetFromMap
addCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, containsDuplicateLine, extractNewValuesAndAssign, extractSingleValue, filterByReturnedFieldConversions, getConfigurationService, getDataObjectService, getDefaultValueForField, getExpressionEvaluatorFactory, getViewDictionaryService, isDuplicateLine, linkAddedLine, logAndThrowRuntime, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performCustomViewFinalize, performCustomViewInitialization, performDeleteLineValidation, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterEditLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionDeleteLine, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, retrieveEditModesAndActionFlags, setConfigurationService, setDataDictionaryService, setDataObjectService, setElementContext, setExpressionEvaluatorFactory, setLegacyDataAdapter, setViewContext, setViewDictionaryService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataObjectClass
public TravelCompanyCategoryInquirable()
public void setDataObjectClass(Class<?> dataObjectClass)
InquirableImpl
setDataObjectClass
in interface Inquirable
setDataObjectClass
in class InquirableImpl
Inquirable.getDataObjectClass()
public Object retrieveDataObject(Map<String,String> fieldValues)
InquirableImpl
Note at this point on business objects are supported by the default implementation
Responsible for retrieving the data object from its data source (database, service call, etc) based on the given map of field name/value pairsGiven map can contain more than fields (primary key or other) necessary for retrieving the data object. Method will use the fields necessary based on the metadata for the data object class configured on the inquirable
retrieveDataObject
in interface Inquirable
retrieveDataObject
in class InquirableImpl
fieldValues
- - a map of string field names and valuespublic void buildInquirableLink(Object dataObject, String propertyName, Inquiry inquiry)
Inquirable
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
buildInquirableLink
in interface Inquirable
buildInquirableLink
in class InquirableImpl
dataObject
- - parent object for the inquiry propertypropertyName
- - name of the property the inquiry is being built forinquiry
- - instance of the inquiry widget being built for the propertyInquirable.buildInquirableLink(java.lang.Object,
java.lang.String, org.kuali.rice.krad.uif.widget.Inquiry)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.