public class DocumentSearchServiceImpl extends Object implements org.kuali.rice.kew.docsearch.service.DocumentSearchService
Constructor and Description |
---|
DocumentSearchServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAbbreviatedMultiValuedString(Map<String,String> abbreviatedStringMap,
String label,
Collection<? extends Object> values) |
protected void |
addAbbreviatedRangeString(Map<String,String> abbreviatedStringMap,
String label,
org.joda.time.DateTime dateFrom,
org.joda.time.DateTime dateTo) |
protected void |
addAbbreviatedString(Map<String,String> abbreviatedStringMap,
String label,
String value) |
protected org.kuali.rice.kew.api.document.search.DocumentSearchCriteria |
applyCriteriaCustomizations(org.kuali.rice.kew.doctype.bo.DocumentType documentType,
org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
Applies any document type-specific customizations to the lookup criteria.
|
protected org.kuali.rice.kew.api.document.search.DocumentSearchCriteria |
applyCriteriaDefaults(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria) |
protected void |
applyResultCustomization(org.kuali.rice.kew.api.document.search.DocumentSearchResult.Builder result,
org.kuali.rice.kew.framework.document.search.DocumentSearchResultValue value) |
org.kuali.rice.kew.api.document.search.DocumentSearchCriteria |
clearCriteria(org.kuali.rice.kew.doctype.bo.DocumentType documentType,
org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria) |
void |
clearNamedSearches(String principalId) |
protected org.kuali.rice.kew.api.document.search.DocumentSearchCriteria.Builder |
createEmptyComparisonCriteria(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria) |
protected List<org.kuali.rice.core.api.uif.RemotableAttributeField> |
determineSearchFields(org.kuali.rice.kew.doctype.bo.DocumentType documentType) |
protected org.kuali.rice.kew.api.document.search.DocumentSearchCriteria |
getCriteriaFromSavedSearch(org.kuali.rice.kew.useroptions.UserOptions savedSearch) |
static org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService() |
static org.kuali.rice.kns.service.DictionaryValidationService |
getDictionaryValidationService() |
protected org.kuali.rice.kew.docsearch.DocumentSearchCustomizationMediator |
getDocumentSearchCustomizationMediator() |
int |
getFetchMoreIterationLimit() |
org.kuali.rice.core.api.config.property.ConfigurationService |
getKualiConfigurationService() |
int |
getMaxResultCap(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria) |
List<org.kuali.rice.core.api.util.KeyValue> |
getMostRecentSearches(String principalId) |
org.kuali.rice.kew.api.document.search.DocumentSearchCriteria |
getNamedSearchCriteria(String principalId,
String searchName) |
List<org.kuali.rice.core.api.util.KeyValue> |
getNamedSearches(String principalId) |
protected String |
getSavedSearchAbbreviatedString(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria) |
org.kuali.rice.kew.api.document.search.DocumentSearchCriteria |
getSavedSearchCriteria(String principalId,
String searchName) |
org.kuali.rice.kew.impl.document.search.DocumentSearchGenerator |
getStandardDocumentSearchGenerator() |
org.kuali.rice.kew.api.document.search.DocumentSearchResults |
lookupDocuments(String principalId,
org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria) |
void |
setDocumentSearchCustomizationMediator(org.kuali.rice.kew.docsearch.DocumentSearchCustomizationMediator documentSearchCustomizationMediator) |
void |
setDocumentSearchDAO(org.kuali.rice.kew.docsearch.dao.DocumentSearchDAO docSearchDao) |
void |
setUserOptionsService(org.kuali.rice.kew.useroptions.UserOptionsService userOptionsService) |
void |
validateDocumentSearchCriteria(org.kuali.rice.kew.impl.document.search.DocumentSearchGenerator docSearchGenerator,
org.kuali.rice.kew.api.document.search.DocumentSearchCriteria.Builder criteria) |
protected List<org.kuali.rice.kew.exception.WorkflowServiceError> |
validateWorkflowDocumentSearchCriteria(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria.Builder criteria) |
public DocumentSearchServiceImpl()
public void setDocumentSearchDAO(org.kuali.rice.kew.docsearch.dao.DocumentSearchDAO docSearchDao)
public void setUserOptionsService(org.kuali.rice.kew.useroptions.UserOptionsService userOptionsService)
public void setDocumentSearchCustomizationMediator(org.kuali.rice.kew.docsearch.DocumentSearchCustomizationMediator documentSearchCustomizationMediator)
protected org.kuali.rice.kew.docsearch.DocumentSearchCustomizationMediator getDocumentSearchCustomizationMediator()
public void clearNamedSearches(String principalId)
clearNamedSearches
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
public org.kuali.rice.kew.api.document.search.DocumentSearchCriteria getNamedSearchCriteria(String principalId, String searchName)
getNamedSearchCriteria
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
public org.kuali.rice.kew.api.document.search.DocumentSearchCriteria getSavedSearchCriteria(String principalId, String searchName)
getSavedSearchCriteria
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
protected org.kuali.rice.kew.api.document.search.DocumentSearchCriteria getCriteriaFromSavedSearch(org.kuali.rice.kew.useroptions.UserOptions savedSearch)
public org.kuali.rice.kew.api.document.search.DocumentSearchResults lookupDocuments(String principalId, org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
lookupDocuments
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
protected void applyResultCustomization(org.kuali.rice.kew.api.document.search.DocumentSearchResult.Builder result, org.kuali.rice.kew.framework.document.search.DocumentSearchResultValue value)
protected org.kuali.rice.kew.api.document.search.DocumentSearchCriteria applyCriteriaCustomizations(org.kuali.rice.kew.doctype.bo.DocumentType documentType, org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
protected org.kuali.rice.kew.api.document.search.DocumentSearchCriteria applyCriteriaDefaults(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
protected org.kuali.rice.kew.api.document.search.DocumentSearchCriteria.Builder createEmptyComparisonCriteria(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
protected List<org.kuali.rice.core.api.uif.RemotableAttributeField> determineSearchFields(org.kuali.rice.kew.doctype.bo.DocumentType documentType)
public org.kuali.rice.kew.impl.document.search.DocumentSearchGenerator getStandardDocumentSearchGenerator()
getStandardDocumentSearchGenerator
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
public void validateDocumentSearchCriteria(org.kuali.rice.kew.impl.document.search.DocumentSearchGenerator docSearchGenerator, org.kuali.rice.kew.api.document.search.DocumentSearchCriteria.Builder criteria)
validateDocumentSearchCriteria
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
protected List<org.kuali.rice.kew.exception.WorkflowServiceError> validateWorkflowDocumentSearchCriteria(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria.Builder criteria)
public static org.kuali.rice.kns.service.DictionaryValidationService getDictionaryValidationService()
public static org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public List<org.kuali.rice.core.api.util.KeyValue> getNamedSearches(String principalId)
getNamedSearches
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
public List<org.kuali.rice.core.api.util.KeyValue> getMostRecentSearches(String principalId)
getMostRecentSearches
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
public org.kuali.rice.kew.api.document.search.DocumentSearchCriteria clearCriteria(org.kuali.rice.kew.doctype.bo.DocumentType documentType, org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
clearCriteria
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
protected String getSavedSearchAbbreviatedString(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
protected void addAbbreviatedString(Map<String,String> abbreviatedStringMap, String label, String value)
protected void addAbbreviatedMultiValuedString(Map<String,String> abbreviatedStringMap, String label, Collection<? extends Object> values)
protected void addAbbreviatedRangeString(Map<String,String> abbreviatedStringMap, String label, org.joda.time.DateTime dateFrom, org.joda.time.DateTime dateTo)
public org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService()
public int getMaxResultCap(org.kuali.rice.kew.api.document.search.DocumentSearchCriteria criteria)
getMaxResultCap
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
public int getFetchMoreIterationLimit()
getFetchMoreIterationLimit
in interface org.kuali.rice.kew.docsearch.service.DocumentSearchService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.