org.kuali.rice.kim.inquiry
Class RoleInquirableImpl

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.kns.inquiry.KualiInquirableImpl
              extended by org.kuali.rice.kim.inquiry.RoleInquirableImpl
All Implemented Interfaces:
Inquirable, ViewHelperService

public class RoleInquirableImpl
extends KualiInquirableImpl

This is a description of what this class does - bhargavp don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
protected  String NAMESPACE_CODE
           
protected  String ROLE_ID
           
protected  String ROLE_NAME
           
 
Fields inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl
businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, encryptionService, inactiveRecordDisplay, INQUIRY_TITLE_PREFIX, lookupService, persistenceStructureService
 
Fields inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
dataObjectClass, SUPER_CLASS_TRANSLATOR_LIST
 
Constructor Summary
RoleInquirableImpl()
           
 
Method Summary
 void buildInquirableLink(Object dataObject, String propertyName, Inquiry inquiry)
          Invoked by the ViewHelperService to build a link to the inquiry
 HtmlData getInquiryUrl(BusinessObject businessObject, String attributeName, boolean forceInquiry)
          Helper method to build an inquiry url for a result field.
 
Methods inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl
addAdditionalSections, createTitleText, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getEncryptionService, getHtmlMenuBar, getHyperLink, getHyperLink, getInactiveRecordDisplay, getInquiryUrlForPrimaryKeys, getKualiConfigurationService, getLookupService, getPersistenceStructureService, getSections, getShowInactiveRecords, getTitle, retrieveDataObject, setBusinessObjectAuthorizationService, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setEncryptionService, setKualiConfigurationService, setLookupService, setPersistenceStructureService, setShowInactiveRecords
 
Methods inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
getAlternateKeysForClass, getConfigurationService, getDataDictionaryService, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getKualiModuleService, retrieveKeySetFromMap, setBusinessObjectService, setConfigurationService, setDataDictionaryService, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setKualiModuleService
 
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
applyDefaultValues, applyDefaultValuesForCollectionLine, buildInquiryLink, findNestedDictionaryAttribute, getCommonContext, getDictionaryModelClass, getExpressionEvaluatorService, getPreModelContext, getViewDictionaryService, initializeAttributeFieldFromDataDictionary, invokeAuthorizerPresentationController, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processBeforeAddLine, processCollectionAddLine, processCollectionDeleteLine, runComponentModifiers, setExpressionEvaluatorService, setViewContext, setViewDictionaryService
 
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.inquiry.Inquirable
setDataObjectClass
 

Field Detail

ROLE_NAME

protected final String ROLE_NAME
See Also:
Constant Field Values

ROLE_ID

protected final String ROLE_ID
See Also:
Constant Field Values

NAMESPACE_CODE

protected final String NAMESPACE_CODE
See Also:
Constant Field Values
Constructor Detail

RoleInquirableImpl

public RoleInquirableImpl()
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)

getInquiryUrl

public HtmlData getInquiryUrl(BusinessObject businessObject,
                              String attributeName,
                              boolean forceInquiry)
Description copied from class: KualiInquirableImpl
Helper method to build an inquiry url for a result field.

Overrides:
getInquiryUrl in class KualiInquirableImpl
Returns:
String url to inquiry


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.