Package fr.becpg.repo.autocomplete.impl
Class AutoCompleteServiceImpl
java.lang.Object
fr.becpg.repo.autocomplete.impl.AutoCompleteServiceImpl
- All Implemented Interfaces:
AutoCompleteService
@Service("autoCompleteService")
public class AutoCompleteServiceImpl
extends Object
implements AutoCompleteService
The Class AutoCompleteServiceImpl.
- Version:
- $Id: $Id
- Author:
- Matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AutoCompletePlugin[]private static final org.apache.commons.logging.Logprivate Map<String,AutoCompletePlugin> Fields inherited from interface fr.becpg.repo.autocomplete.AutoCompleteService
EXTRA_PARAM, EXTRA_PARAM_DEPTH_LEVEL, EXTRA_PARAM_DESTINATION, EXTRA_PARAM_ITEMID, EXTRA_PARAM_LIST, EXTRA_PARAM_PATHS, EXTRA_PARAM_SEARCH_TEMPLATE, EXTRA_PARAM_TASKID, PROP_AND_PROPS, PROP_ATTRIBUTE_NAME, PROP_CLASS_NAME, PROP_CLASS_NAMES, PROP_ENTITYNODEREF, PROP_EXCLUDE_CLASS_NAMES, PROP_EXCLUDE_PROPS, PROP_EXCLUDE_SOURCES, PROP_FIELD_NAME, PROP_FILTER, PROP_INCLUDE_DELETED, PROP_ITEM_ID, PROP_LOCALE, PROP_NODEREF, PROP_PARENT, PROP_PATH, PROP_PRODUCT_TYPE, PROP_SOURCE_TYPE, SUGGEST_PAGE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate AutoCompletePlugingetListValuePluginBySourceType(String sourceType) suggestBySourceType(String sourceType, String query, Integer pageNum, Integer pageSize, Map<String, Serializable> extraProps) suggestBySourceType.
-
Field Details
-
logger
private static final org.apache.commons.logging.Log logger -
plugins
-
autoCompletePlugins
-
-
Constructor Details
-
AutoCompleteServiceImpl
public AutoCompleteServiceImpl()
-
-
Method Details
-
suggestBySourceType
public AutoCompletePage suggestBySourceType(String sourceType, String query, Integer pageNum, Integer pageSize, Map<String, Serializable> extraProps) suggestBySourceType.
- Specified by:
suggestBySourceTypein interfaceAutoCompleteService- Parameters:
sourceType- aStringobject.query- aStringobject.pageNum- aIntegerobject.pageSize- aIntegerobject.extraProps- aMapobject.- Returns:
- a
AutoCompletePageobject.
-
getListValuePluginBySourceType
-