org.kuali.rice.kim.inquiry
Class PermissionInquirableImpl

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.RoleMemberInquirableImpl
                  extended by org.kuali.rice.kim.inquiry.PermissionInquirableImpl
All Implemented Interfaces:
Serializable, Inquirable, ViewHelperService

public class PermissionInquirableImpl
extends RoleMemberInquirableImpl

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)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kim.inquiry.RoleMemberInquirableImpl
ASSIGNED_TO_ROLES, ATTRIBUTE_DATA_ID, DETAIL_OBJECTS, NAME, NAME_TO_DISPLAY, NAMESPACE_CODE, ROLE_ID, TEMPLATE_NAME, TEMPLATE_NAMESPACE_CODE
 
Fields inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl
businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, encryptionService, inactiveRecordDisplay, INQUIRY_TITLE_PREFIX, lookupService
 
Fields inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
dataObjectClass, SUPER_CLASS_TRANSLATOR_LIST
 
Constructor Summary
PermissionInquirableImpl()
           
 
Method Summary
 void buildInquirableLink(Object dataObject, String propertyName, Inquiry inquiry)
          Invoked by the ViewHelperService to build a link to the inquiry
protected  HtmlData getAssignedRoleInquiryUrl(BusinessObject businessObject)
           
protected  HtmlData getAttributesInquiryUrl(BusinessObject businessObject, String attributeName)
           
 BusinessObject getBusinessObject(Map fieldValues)
          This overridden method ...
 HtmlData getInquiryUrl(BusinessObject businessObject, String attributeName, boolean forceInquiry)
          Helper method to build an inquiry url for a result field.
 PermissionService getPermissionService()
           
 Object retrieveDataObject(Map fieldValues)
          TODO: generics do not match between call to module service and call to lookup service
 
Methods inherited from class org.kuali.rice.kim.inquiry.RoleMemberInquirableImpl
getBusinessObjectService, getKimAttributeLabelFromDD, getRoleImpl, setBusinessObjectService
 
Methods inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl
addAdditionalSections, createTitleText, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getEncryptionService, getHtmlMenuBar, getHyperLink, getHyperLink, getInactiveRecordDisplay, getInquiryUrlForPrimaryKeys, getKualiConfigurationService, getLookupService, getSections, getShowInactiveRecords, getTitle, setBusinessObjectAuthorizationService, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setEncryptionService, setLookupService, setShowInactiveRecords
 
Methods inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
getAlternateKeysForClass, getDataDictionaryService, getDataObjectAuthorizationService, getDataObjectClass, getKualiModuleService, getLegacyDataAdapter, retrieveKeySetFromMap, setDataObjectClass
 
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildExportTableData, buildExportTableRow, buildGrowlScript, buildInquiryLink, getConfigurationService, getDefaultValueForField, getExportTableFormatOptions, getViewDictionaryService, logAndThrowRuntime, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performCustomViewFinalize, performCustomViewInitialization, performDeleteLineValidation, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, retrieveEditModesAndActionFlags, setConfigurationService, setDataDictionaryService, setLegacyDataAdapter, 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
 

Constructor Detail

PermissionInquirableImpl

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

getAttributesInquiryUrl

protected HtmlData getAttributesInquiryUrl(BusinessObject businessObject,
                                           String attributeName)

getAssignedRoleInquiryUrl

protected HtmlData getAssignedRoleInquiryUrl(BusinessObject businessObject)

retrieveDataObject

public Object retrieveDataObject(Map fieldValues)
Description copied from class: KualiInquirableImpl
TODO: generics do not match between call to module service and call to lookup service

Specified by:
retrieveDataObject in interface Inquirable
Overrides:
retrieveDataObject in class KualiInquirableImpl
Parameters:
fieldValues - - a map of string field names and values
Returns:
the data object or null if not found
See Also:
Inquirable.retrieveDataObject(java.util.Map)

getBusinessObject

public BusinessObject getBusinessObject(Map fieldValues)
This overridden method ...

Overrides:
getBusinessObject in class KualiInquirableImpl
See Also:
org.kuali.rice.krad.inquiry.KualiInquirableImpl#getBusinessObject(java.util.Map)

getPermissionService

public PermissionService getPermissionService()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.