Package org.kuali.rice.kns.inquiry
Class KualiInquirableImpl
java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.inquiry.InquirableImpl
org.kuali.rice.kns.inquiry.KualiInquirableImpl
- All Implemented Interfaces:
Serializable,Inquirable,Inquirable,ViewHelperService
Deprecated.
Kuali inquirable implementation. Implements methods necessary to retrieve the
business object and render the ui.
NOTE: this class is not thread safe. When using this class or any subclasses
in Spring, make sure that this is not a singleton service, or serious errors
may occur.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BusinessObjectAuthorizationServiceDeprecated.protected BusinessObjectDictionaryServiceDeprecated.protected BusinessObjectMetaDataServiceDeprecated.protected EncryptionServiceDeprecated.Deprecated.static final StringDeprecated.protected LookupServiceDeprecated.Fields inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
dataObjectClass, SUPER_CLASS_TRANSLATOR_LIST -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructor, initializes services from spring -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalSections(List columns, BusinessObject bo) Deprecated.protected StringcreateTitleText(Class<?> dataObjectClass) Deprecated.getBusinessObject(Map fieldValues) Deprecated.protected BusinessObjectAuthorizationServiceDeprecated.Deprecated.protected BusinessObjectDictionaryServiceDeprecated.protected BusinessObjectMetaDataServiceDeprecated.protected EncryptionServiceDeprecated.Deprecated.protected HtmlData.AnchorHtmlDataDeprecated.protected HtmlData.AnchorHtmlDatagetHyperLink(Class inquiryClass, Map<String, String> fieldList, String inquiryUrl, String displayText) Deprecated.Deprecated.getInquiryUrl(BusinessObject businessObject, String attributeName, boolean forceInquiry) Deprecated.protected HtmlData.AnchorHtmlDatagetInquiryUrlForPrimaryKeys(Class clazz, Object businessObject, List<String> primaryKeys, String displayText) Deprecated.protected ConfigurationServiceDeprecated.protected LookupServiceDeprecated.Deprecated.booleangetShowInactiveRecords(String collectionName) Deprecated.getTitle()Deprecated.retrieveDataObject(Map fieldValues) Deprecated.TODO: generics do not match between call to module service and call to lookup servicevoidsetBusinessObjectAuthorizationService(BusinessObjectAuthorizationService businessObjectAuthorizationService) Deprecated.voidsetBusinessObjectClass(Class businessObjectClass) Deprecated.voidsetBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService) Deprecated.voidsetBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService) Deprecated.voidsetEncryptionService(EncryptionService encryptionService) Deprecated.voidsetLookupService(LookupService lookupService) Deprecated.voidsetShowInactiveRecords(String collectionName, boolean showInactive) Deprecated.Methods inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
buildInquirableLink, canViewInquiryNoteAttachment, getAlternateKeysForClass, getDataDictionaryService, getDataObjectAuthorizationService, getDataObjectClass, getKualiModuleService, getLegacyDataAdapter, getPermissionService, retrieveKeySetFromMap, setDataObjectClassMethods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, containsDuplicateLine, extractNewValuesAndAssign, extractSingleValue, filterByReturnedFieldConversions, getConfigurationService, getCurrentPersonContactId, 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, setViewDictionaryServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.inquiry.Inquirable
buildInquirableLink, canViewInquiryNoteAttachment, getDataObjectClass, setDataObjectClass
-
Field Details
-
lookupService
Deprecated. -
businessObjectAuthorizationService
Deprecated. -
businessObjectDictionaryService
Deprecated. -
businessObjectMetaDataService
Deprecated. -
encryptionService
Deprecated. -
inactiveRecordDisplay
Deprecated. -
INQUIRY_TITLE_PREFIX
Deprecated.- See Also:
-
-
Constructor Details
-
KualiInquirableImpl
public KualiInquirableImpl()Deprecated.Default constructor, initializes services from spring
-
-
Method Details
-
retrieveDataObject
Deprecated.TODO: generics do not match between call to module service and call to lookup service- Specified by:
retrieveDataObjectin interfaceInquirable- Overrides:
retrieveDataObjectin classInquirableImpl- See Also:
-
getBusinessObject
Deprecated.Return a business object by searching with map, the map keys should be a property name of the business object, with the map value as the value to search for.- Specified by:
getBusinessObjectin interfaceInquirable
-
getSections
Deprecated.Objects extending KualiInquirableBase must specify the Section objects used to display the inquiry result.- Specified by:
getSectionsin interfaceInquirable
-
getInquiryUrl
@Deprecated public HtmlData getInquiryUrl(BusinessObject businessObject, String attributeName, boolean forceInquiry) Deprecated.Helper method to build an inquiry url for a result field.- Specified by:
getInquiryUrlin interfaceInquirable- Parameters:
bo- the business object instance to build the urls forpropertyName- the property which links to an inquirable- Returns:
- String url to inquiry
-
getHyperLink
@Deprecated protected HtmlData.AnchorHtmlData getHyperLink(Class inquiryClass, Map<String, String> fieldList, String inquiryUrl) Deprecated. -
createTitleText
Deprecated.Gets text to prepend to the inquiry link title- Parameters:
dataObjectClass- - data object class being inquired into- Returns:
- String title prepend text
-
addAdditionalSections
Deprecated.- Specified by:
addAdditionalSectionsin interfaceInquirable
-
getHtmlMenuBar
Deprecated.- Specified by:
getHtmlMenuBarin interfaceInquirable- See Also:
-
getTitle
Deprecated.- Specified by:
getTitlein interfaceInquirable- See Also:
-
setBusinessObjectClass
Deprecated.- Specified by:
setBusinessObjectClassin interfaceInquirable- Parameters:
businessObjectClass- The dataObjectClass to set.
-
getBusinessObjectClass
Deprecated.- Returns:
- Returns the dataObjectClass.
-
getInactiveRecordDisplay
Deprecated.Description copied from interface:InquirableReturns the Map used to control the state of inactive record collection display. Exposed for setting from the maintenance jsp.- Specified by:
getInactiveRecordDisplayin interfaceInquirable- See Also:
-
getShowInactiveRecords
Deprecated.Description copied from interface:InquirableIndicates whether inactive records for the given collection should be display.- Specified by:
getShowInactiveRecordsin interfaceInquirable- Parameters:
collectionName- - name of the collection (or sub-collection) to check inactive record display setting- Returns:
- true if inactive records should be displayed, false otherwise
- See Also:
-
setShowInactiveRecords
Deprecated.Description copied from interface:InquirableIndicates to maintainble whether or not inactive records should be displayed for the given collection name.- Specified by:
setShowInactiveRecordsin interfaceInquirable- Parameters:
collectionName- - name of the collection (or sub-collection) to set inactive record display settingshowInactive- - true to display inactive, false to not display inactive records- See Also:
-
getLookupService
Deprecated. -
setLookupService
Deprecated. -
getBusinessObjectDictionaryService
Deprecated. -
setBusinessObjectDictionaryService
public void setBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService) Deprecated. -
getEncryptionService
Deprecated.- Overrides:
getEncryptionServicein classInquirableImpl
-
setEncryptionService
Deprecated. -
getKualiConfigurationService
Deprecated. -
getBusinessObjectMetaDataService
Deprecated. -
setBusinessObjectMetaDataService
public void setBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService) Deprecated. -
getBusinessObjectAuthorizationService
Deprecated. -
setBusinessObjectAuthorizationService
public void setBusinessObjectAuthorizationService(BusinessObjectAuthorizationService businessObjectAuthorizationService) Deprecated. -
getInquiryUrlForPrimaryKeys
@Deprecated protected HtmlData.AnchorHtmlData getInquiryUrlForPrimaryKeys(Class clazz, Object businessObject, List<String> primaryKeys, String displayText) Deprecated. -
getHyperLink
@Deprecated protected HtmlData.AnchorHtmlData getHyperLink(Class inquiryClass, Map<String, String> fieldList, String inquiryUrl, String displayText) Deprecated.
-
InquirableImpl.