org.kuali.rice.kim.inquiry
Class PermissionInquirableImpl
java.lang.Object
org.kuali.rice.kns.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.kns.inquiry.KualiInquirableImpl
org.kuali.rice.kim.inquiry.RoleMemberInquirableImpl
org.kuali.rice.kim.inquiry.PermissionInquirableImpl
- All Implemented Interfaces:
- 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)
Fields inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl |
businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, dataObjectClass, encryptionService, inactiveRecordDisplay, INQUIRY_TITLE_PREFIX, kualiConfigurationService, lookupService, persistenceStructureService, SUPER_CLASS_TRANSLATOR_LIST |
Methods inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl |
addAdditionalSections, createTitleText, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataObjectClass, getEncryptionService, getHtmlMenuBar, getHyperLink, getHyperLink, getInactiveRecordDisplay, getInquiryUrlForPrimaryKeys, getKualiConfigurationService, getLookupService, getPersistenceStructureService, getSections, getShowInactiveRecords, getTitle, setBusinessObjectAuthorizationService, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setDataObjectClass, setEncryptionService, setKualiConfigurationService, setLookupService, setPersistenceStructureService, setShowInactiveRecords |
Methods inherited from class org.kuali.rice.kns.uif.service.impl.ViewHelperServiceImpl |
applyDefaultValues, applyDefaultValuesForCollectionLine, buildInquiryLink, findNestedDictionaryAttribute, getCommonContext, getDataDictionaryService, getDictionaryModelClass, getExpressionEvaluatorService, getPreModelContext, getViewDictionaryService, initializeAttributeFieldFromDataDictionary, invokeAuthorizerPresentationController, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processBeforeAddLine, processCollectionAddLine, processCollectionDeleteLine, runComponentModifiers, setDataDictionaryService, setExpressionEvaluatorService, setViewContext, setViewDictionaryService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
permissionService
private static transient PermissionService permissionService
PermissionInquirableImpl
public PermissionInquirableImpl()
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.kns.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 KualiInquirableImpl
- Parameters:
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 property- See Also:
Inquirable.buildInquirableLink(java.lang.Object,
java.lang.String, org.kuali.rice.kns.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.
- Specified by:
getInquiryUrl
in interface Inquirable
- Overrides:
getInquiryUrl
in class KualiInquirableImpl
- Returns:
- String url to inquiry
getAttributesInquiryUrl
protected HtmlData getAttributesInquiryUrl(BusinessObject businessObject,
String attributeName)
getAssignedRoleInquiryUrl
protected HtmlData getAssignedRoleInquiryUrl(BusinessObject businessObject)
getDataObject
public Object getDataObject(Map fieldValues)
- Description copied from class:
KualiInquirableImpl
- TODO: generics do not match between call to module service and call to
lookup service
- Specified by:
getDataObject
in interface Inquirable
- Overrides:
getDataObject
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.getDataObject(java.util.Map)
getBusinessObject
public BusinessObject getBusinessObject(Map fieldValues)
- This overridden method ...
- Specified by:
getBusinessObject
in interface Inquirable
- Overrides:
getBusinessObject
in class KualiInquirableImpl
- See Also:
KualiInquirableImpl.getBusinessObject(java.util.Map)
getPermissionService
public PermissionService getPermissionService()
getPermissionsSearchResultsCopy
private PermissionImpl getPermissionsSearchResultsCopy(KimPermissionImpl permissionSearchResult)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.