org.kuali.rice.kns.lookup
Class PessimisticLockLookupableHelperServiceImpl
java.lang.Object
org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl
org.kuali.rice.kns.lookup.PessimisticLockLookupableHelperServiceImpl
- All Implemented Interfaces:
- Serializable, LookupableHelperService
public class PessimisticLockLookupableHelperServiceImpl
- extends AbstractLookupableHelperServiceImpl
This class is the lookup helper for PessimisticLock
objects
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Fields inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl |
ACTION_URLS_CHILDREN_END, ACTION_URLS_CHILDREN_SEPARATOR, ACTION_URLS_CHILDREN_STARTER, ACTION_URLS_EMPTY, ACTION_URLS_SEPARATOR, backLocation, businessObjectAuthorizationService, businessObjectClass, businessObjectDictionaryService, businessObjectMetaDataService, businessObjectService, configurationService, dataDictionaryService, docFormKey, docNum, encryptionService, fieldConversions, forceLookupResultFieldInquiryCache, inquirableClassCache, kualiInquirable, lookupResultsService, lookupService, maintenanceDocumentDictionaryService, noLookupResultFieldInquiryCache, parameters, parameterService, persistenceStructureService, readOnlyFieldsList, referencesToRefresh, resultColumns, RESULTS_DEFAULT_MAX_COLUMN_LENGTH, rows, sequenceAccessorService, TITLE_ACTION_URL_PREPENDTEXT_PROPERTY, TITLE_RETURN_URL_PREPENDTEXT_PROPERTY |
Methods inherited from class org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl |
addToReturnHref, allowsMaintenanceDeleteAction, allowsMaintenanceEditAction, allowsMaintenanceNewOrCopyAction, allowsNewOrCopyAction, applyConditionalLogicForFieldDisplay, applyFieldAuthorizationsFromNestedLookups, checkForAdditionalFields, getActionUrlHref, getActionUrls, getActionUrlTitleText, getBackLocation, getBusinessObjectAuthorizationService, getBusinessObjectClass, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getBusinessObjectService, getColumnMaxLength, getColumns, getConditionallyHiddenPropertyNames, getConditionallyReadOnlyPropertyNames, getConditionallyRequiredPropertyNames, getCurrentSearchFieldValue, getDataDictionaryService, getDefaultSortColumns, getDocFormKey, getDocNum, getEmptyActionUrls, getEmptyAnchorHtmlData, getEncryptionService, getExtraField, getInquiryUrl, getKualiConfigurationService, getKualiInquirable, getLookupResultsService, getLookupService, getMaintenanceDocumentDictionaryService, getMaintenanceDocumentTypeName, getMaintenanceUrl, getParameters, getParameters, getParameterService, getParametersFromPrimaryKey, getPersistenceStructureService, getPrimaryKeyFieldLabels, getPropertyClass, getReadOnlyFieldsList, getReferencesToRefresh, getReturnAnchorHtmlData, getReturnHref, getReturnHref, getReturnInputHtmlData, getReturnKeys, getReturnLocation, getReturnUrl, getReturnUrl, getSearchResultsUnbounded, getSequenceAccessorService, getSupplementalMenuBar, getTitle, getUrlData, getUrlData, isResultReturnable, isSearchUsingOnlyPrimaryKeyValues, maskValueIfNecessary, performClear, performCustomAction, performLookup, preProcessRangeFields, setBackLocation, setBusinessObjectClass, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setBusinessObjectService, setDataDictionaryService, setDocFormKey, setDocNum, setEncryptionService, setFieldConversions, setKualiInquirable, setLookupResultsService, setLookupService, setMaintenanceDocumentDictionaryService, setParameters, setParameterService, setParameterService, setPersistenceStructureService, setReadOnlyFieldsList, setReferencesToRefresh, setRows, setSequenceAccessorService, shouldDisplayHeaderNonMaintActions, shouldDisplayLookupCriteria, validateSearchParameterWildcardAndOperators |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PessimisticLockLookupableHelperServiceImpl
public PessimisticLockLookupableHelperServiceImpl()
getCustomActionUrls
public List<HtmlData> getCustomActionUrls(BusinessObject businessObject,
List pkNames)
- Hides the applicable links when the PessimisticLock is not owned by the current user
- Specified by:
getCustomActionUrls
in interface LookupableHelperService
- Overrides:
getCustomActionUrls
in class AbstractLookupableHelperServiceImpl
- Returns:
- See Also:
org.kuali.rice.krad.lookup.LookupableHelperService#getCustomActionUrls(org.kuali.rice.krad.bo.BusinessObject, java.util.List, java.util.List pkNames)
getRows
public List<Row> getRows()
- This overridden method checks whether the user is an admin user according to
PessimisticLockService.isPessimisticLockAdminUser(Person)
and if the user is not an admin user the user field is set to Read Only and the lookup field
- Specified by:
getRows
in interface LookupableHelperService
- Overrides:
getRows
in class AbstractLookupableHelperServiceImpl
- Returns:
- See Also:
org.kuali.rice.krad.lookup.AbstractLookupableHelperServiceImpl#getRows()
getSearchResults
public List<? extends BusinessObject> getSearchResults(Map<String,String> fieldValues)
- This method implementation is used to search for objects
- Specified by:
getSearchResults
in interface LookupableHelperService
- Specified by:
getSearchResults
in class AbstractLookupableHelperServiceImpl
- Parameters:
fieldValues
- - Map of property/value pairs
- Returns:
- List of business objects found by the search
- See Also:
org.kuali.rice.krad.lookup.AbstractLookupableHelperServiceImpl#getSearchResults(java.util.Map)
validateSearchParameters
public void validateSearchParameters(Map fieldValues)
- Description copied from class:
AbstractLookupableHelperServiceImpl
- Checks that any required search fields have value.
- Specified by:
validateSearchParameters
in interface LookupableHelperService
- Overrides:
validateSearchParameters
in class AbstractLookupableHelperServiceImpl
- Parameters:
fieldValues
- - Map of property/value pairs- See Also:
org.kuali.core.lookup.LookupableHelperService#validateSearchParameters(java.util.Map)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.