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

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.PropositionLookupableHelperServiceImpl
All Implemented Interfaces:
Serializable, Lookupable, ViewHelperService

public class PropositionLookupableHelperServiceImpl
extends LookupableImpl

See Also:
Serialized Form

Constructor Summary
PropositionLookupableHelperServiceImpl()
           
 
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 getMaintenanceActionUrl(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
buildMaintenanceActionLink, buildMultiValueSelectField, buildReturnUrlForResult, copy, executeSearch, generateLookupResultsMessages, getCriteriaFieldsForValidation, getDataObjectAuthorizationService, getDataObjectClass, getDocumentDictionaryService, getEncryptionService, getLookupService, getMaintenanceDocumentTypeName, getReturnKeyValues, getReturnUrl, getReturnUrlParameters, getSearchResultsForEBO, getTranslatedReturnKeyValues, identifyWildcardDisabledFields, isResultReturnable, performClear, performSearch, processSearchCriteria, setDataObjectAuthorizationService, setDataObjectClass, setDocumentDictionaryService, setEncryptionService, setLookupService, sortSearchResults, validateSearchParameters, validateSearchParameterWildcardAndOperators
 
Methods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, getConfigurationService, getDataDictionaryService, getDataObjectService, getDefaultValueForField, getExpressionEvaluatorFactory, getLegacyDataAdapter, 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, setDataObjectService, 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.uif.service.ViewHelperService
addCustomContainerComponents, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, getDefaultValueForField, getExpressionEvaluatorFactory, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performCustomViewFinalize, performCustomViewInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterSaveLine, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, retrieveEditModesAndActionFlags, setViewContext
 

Constructor Detail

PropositionLookupableHelperServiceImpl

public PropositionLookupableHelperServiceImpl()
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
Parameters:
dataObject - data object
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
Parameters:
dataObject - data object
Returns:
boolean true if the maintenance delete action is allowed for the data object instance, false otherwise

getMaintenanceActionUrl

protected String getMaintenanceActionUrl(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:
getMaintenanceActionUrl in class LookupableImpl
Parameters:
lookupForm - lookup form
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–2014 The Kuali Foundation. All rights reserved.