org.kuali.rice.kim.impl.responsibility
Class ResponsibilityInquirableImpl
java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.inquiry.InquirableImpl
org.kuali.rice.kns.inquiry.KualiInquirableImpl
org.kuali.rice.kim.inquiry.RoleMemberInquirableImpl
org.kuali.rice.kim.impl.responsibility.ResponsibilityInquirableImpl
- All Implemented Interfaces:
- Inquirable, ViewHelperService
public class ResponsibilityInquirableImpl
- extends RoleMemberInquirableImpl
Methods inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl |
addAdditionalSections, createTitleText, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getEncryptionService, getHtmlMenuBar, getHyperLink, getHyperLink, getInactiveRecordDisplay, getInquiryUrlForPrimaryKeys, getKualiConfigurationService, getLookupService, getPersistenceStructureService, getSections, getShowInactiveRecords, getTitle, 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 |
KIM_RESPONSIBILITY_REQUIRED_ATTRIBUTE_ID
protected final String KIM_RESPONSIBILITY_REQUIRED_ATTRIBUTE_ID
- See Also:
- Constant Field Values
RESPONSIBILITY_ID
protected final String RESPONSIBILITY_ID
- See Also:
- Constant Field Values
responsibilityService
private static transient ResponsibilityService responsibilityService
ResponsibilityInquirableImpl
public ResponsibilityInquirableImpl()
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 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.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)
- Description copied from class:
KualiInquirableImpl
- 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.
- Overrides:
getBusinessObject
in class KualiInquirableImpl
getResponsibilityService
public ResponsibilityService getResponsibilityService()
getResponsibilitiesSearchResultsCopy
private org.kuali.rice.kim.impl.responsibility.ResponsibilityBo getResponsibilitiesSearchResultsCopy(org.kuali.rice.kim.impl.responsibility.ResponsibilityBo responsibilitySearchResult)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.