org.kuali.rice.krms.impl.repository
Class AgendaInquiryHelperServiceImpl

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.krms.impl.repository.AgendaInquiryHelperServiceImpl
All Implemented Interfaces:
Serializable, Inquirable, ViewHelperService

public class AgendaInquiryHelperServiceImpl
extends KualiInquirableImpl

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
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
AgendaInquiryHelperServiceImpl()
           
 
Method Summary
 DataObjectService getDataObjectService()
           
 List<RemotableAttributeField> retrieveAgendaCustomAttributes(View view, Object model, Container container)
          Returns the Agenda's RemotableAttributeFields
 AgendaEditor retrieveDataObject(Map fieldValues)
          TODO: generics do not match between call to module service and call to lookup service
 List<RemotableAttributeField> retrieveRuleActionCustomAttributes(View view, Object model, Container container)
          Returns the Rule Action RemotableAttributeFields.
 List<RemotableAttributeField> retrieveRuleCustomAttributes(View view, Object model, Container container)
          Returns the Rule RemotableAttributeFields.
 List<RemotableAttributeField> retrieveTermParameters(View view, Object model, Container container)
          Retrieve a list of RemotableAttributeFields for the parameters (if any) required by the resolver for the selected term in the proposition that is under edit.
 void setDataObjectService(DataObjectService dataObjectService)
           
 
Methods inherited from class org.kuali.rice.kns.inquiry.KualiInquirableImpl
addAdditionalSections, createTitleText, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getEncryptionService, getHtmlMenuBar, getHyperLink, getHyperLink, getInactiveRecordDisplay, getInquiryUrl, getInquiryUrlForPrimaryKeys, getKualiConfigurationService, getLookupService, getSections, getShowInactiveRecords, getTitle, setBusinessObjectAuthorizationService, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setEncryptionService, setLookupService, setShowInactiveRecords
 
Methods inherited from class org.kuali.rice.krad.inquiry.InquirableImpl
buildInquirableLink, copy, getAlternateKeysForClass, getDataDictionaryService, getDataObjectAuthorizationService, getDataObjectClass, getKualiModuleService, getLegacyDataAdapter, retrieveKeySetFromMap, setDataObjectClass
 
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, getConfigurationService, getDefaultValueForField, getExpressionEvaluatorFactory, getViewDictionaryService, linkAddedLine, logAndThrowRuntime, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performCustomViewFinalize, performCustomViewInitialization, performDeleteLineValidation, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, retrieveEditModesAndActionFlags, setConfigurationService, setDataDictionaryService, setExpressionEvaluatorFactory, 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
buildInquirableLink, getDataObjectClass, setDataObjectClass
 

Constructor Detail

AgendaInquiryHelperServiceImpl

public AgendaInquiryHelperServiceImpl()
Method Detail

retrieveDataObject

public AgendaEditor 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)

retrieveAgendaCustomAttributes

public List<RemotableAttributeField> retrieveAgendaCustomAttributes(View view,
                                                                    Object model,
                                                                    Container container)
Returns the Agenda's RemotableAttributeFields

Parameters:
view -
model - InquiryFrom to retrieve the AgendaEditor from.
container -
Returns:
List

retrieveRuleActionCustomAttributes

public List<RemotableAttributeField> retrieveRuleActionCustomAttributes(View view,
                                                                        Object model,
                                                                        Container container)
Returns the Rule Action RemotableAttributeFields. This only supports a single action within a rule.

Parameters:
view -
model - InquiryFrom to retrieve the AgendaEditor from.
container -
Returns:
List

retrieveRuleCustomAttributes

public List<RemotableAttributeField> retrieveRuleCustomAttributes(View view,
                                                                  Object model,
                                                                  Container container)
Returns the Rule RemotableAttributeFields. This only supports a single action within a rule.

Parameters:
view -
model - InquiryFrom to retrieve the AgendaEditor from.
container -
Returns:
List

retrieveTermParameters

public List<RemotableAttributeField> retrieveTermParameters(View view,
                                                            Object model,
                                                            Container container)
Retrieve a list of RemotableAttributeFields for the parameters (if any) required by the resolver for the selected term in the proposition that is under edit. Since this method is part of the inquiry view, non of the propositions will ever be under edit when it is called, and an empty list will be returned.

Parameters:
view -
model - InquiryFrom to retrieve the AgendaEditor from.
container -
Returns:
List Collections.emptyList()

getDataObjectService

public DataObjectService getDataObjectService()
Overrides:
getDataObjectService in class ViewHelperServiceImpl

setDataObjectService

public void setDataObjectService(DataObjectService dataObjectService)
Overrides:
setDataObjectService in class ViewHelperServiceImpl


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.