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

java.lang.Object
  extended by org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
      extended by org.kuali.rice.krad.lookup.LookupableImpl
          extended by org.kuali.rice.krms.impl.repository.AgendaLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, Lookupable, ViewHelperService

public class AgendaLookupableHelperServiceImpl
extends LookupableImpl

See Also:
Serialized Form

Constructor Summary
AgendaLookupableHelperServiceImpl()
           
 
Method Summary
 boolean allowsMaintenanceDeleteAction(Object dataObject)
          Determines if given data object has associated maintenance document that allows delete maintenance actions.
 boolean allowsMaintenanceEditAction(Object dataObject)
          Determines if given data object has associated maintenance document that allows edit maintenance actions
 boolean allowsMaintenanceNewOrCopyAction()
          Determines if given data object has associated maintenance document that allows new or copy maintenance actions
protected  String getActionUrlHref(LookupForm lookupForm, Object dataObject, String methodToCall, List<String> pkNames)
          Generates a URL to perform a maintenance action on the given result data object
 
Methods inherited from class org.kuali.rice.krad.lookup.LookupableImpl
adjustCriteriaForNestedEBOs, getCriteriaFieldsForValidation, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getDocumentDictionaryService, getEncryptionService, getLookupService, getMaintenanceActionLink, getMaintenanceDocumentTypeName, getReturnKeys, getReturnUrl, getReturnUrlForResults, getReturnUrlParameters, getSearchResults, getSearchResultsForEBO, initSuppressAction, isResultReturnable, performClear, performInitialization, performSearch, processSearchCriteria, setConfigurationService, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setEncryptionService, setLookupService, setMultiValueLookupSelect, sortSearchResults, validateSearchParameters, validateSearchParameterWildcardAndOperators
 
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addCustomContainerComponents, addLine, adjustIdIfNecessary, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildGrowlScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getCommonContext, getConfigurationService, getDataDictionaryService, getExpressionEvaluatorService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, retrieveEditModesAndActionFlags, runComponentModifiers, setDataDictionaryService, setExpressionEvaluatorService, setViewContext, setViewDictionaryService, syncClientSideStateForComponent
 
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.uif.service.ViewHelperService
applyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, getCommonContext, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults
 

Constructor Detail

AgendaLookupableHelperServiceImpl

public AgendaLookupableHelperServiceImpl()
Method Detail

allowsMaintenanceNewOrCopyAction

public boolean allowsMaintenanceNewOrCopyAction()
Description copied from class: LookupableImpl
Determines if given data object has associated maintenance document that allows new or copy maintenance actions

Overrides:
allowsMaintenanceNewOrCopyAction in class LookupableImpl
Returns:
boolean true if the maintenance new or copy action is allowed for the data object instance, false otherwise

allowsMaintenanceEditAction

public boolean allowsMaintenanceEditAction(Object dataObject)
Description copied from class: LookupableImpl
Determines if given data object has associated maintenance document that allows edit maintenance actions

Overrides:
allowsMaintenanceEditAction in class LookupableImpl
Returns:
boolean true if the maintenance edit action is allowed for the data object instance, false otherwise

allowsMaintenanceDeleteAction

public boolean allowsMaintenanceDeleteAction(Object dataObject)
Description copied from class: LookupableImpl
Determines if given data object has associated maintenance document that allows delete maintenance actions.

Overrides:
allowsMaintenanceDeleteAction in class LookupableImpl
Returns:
boolean true if the maintenance delete action is allowed for the data object instance, false otherwise

getActionUrlHref

protected String getActionUrlHref(LookupForm lookupForm,
                                  Object dataObject,
                                  String methodToCall,
                                  List<String> pkNames)
Description copied from class: LookupableImpl
Generates a URL to perform a maintenance action on the given result data object

Will build a URL containing keys of the data object to invoke the given maintenance action method within the maintenance controller

Overrides:
getActionUrlHref in class LookupableImpl
dataObject - - data object instance for the line to build the maintenance action link for
methodToCall - - method name on the maintenance controller that should be invoked
pkNames - - list of primary key field names for the data object whose key/value pairs will be added to the maintenance link
Returns:
String URL link for the maintenance action


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