public class DefaultExistingItemResolver extends Object implements ExistingItemResolver
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isMySQl |
protected static boolean |
MYSQL_CASE_SENSITIVE_WORKAROUND
Deprecated.
|
| Constructor and Description |
|---|
DefaultExistingItemResolver() |
@Deprecated protected static final boolean MYSQL_CASE_SENSITIVE_WORKAROUND
protected final boolean isMySQl
public void notifyItemCreatedOrRemoved(ValueLineTranslator valueLineTranslator, ValueLine line)
notifyItemCreatedOrRemoved in interface ExistingItemResolverprotected void createLookupTableEntryIfNeeded(ValueLine valueLine)
protected boolean shouldCreateLookupTableEntry(AbstractColumnDescriptor acd)
protected void createLookupTableEntry(ValueLine valueLine, AbstractColumnDescriptor acd)
protected FlexibleSearch getFlexibleSearch()
public Collection<Item> findExisting(ValueLineTranslator valueLineTranslator, ValueLine line) throws InsufficientDataException, UnresolvedValueException, AmbiguousItemException
findExisting in interface ExistingItemResolverInsufficientDataExceptionUnresolvedValueExceptionAmbiguousItemExceptionprotected Collection<Item> resolveByPK(ValueLine line)
protected QueryParameters createQueryParameters(ValueLineTranslator valueLineTranslator, ValueLine line) throws InsufficientDataException, UnresolvedValueException
protected Collection<Item> resolveByQuery(ValueLine line, QueryParameters queryParameters) throws InsufficientDataException, UnresolvedValueException, AmbiguousItemException
protected List<Item> filterResultByNonSearchableColumns(List<Item> result, QueryParameters queryParameters)
protected List<Item> searchItems(String typeCode, QueryParameters queryParameters, StringBuilder stringBuilder, Map<String,Object> searchValues, boolean exactType, boolean caseInsensitive) throws InsufficientDataException, UnresolvedValueException
protected Map<StandardColumnDescriptor,Object> translateUniqueKeys(ValueLineTranslator valueLineTranslator, ValueLine line, Set<StandardColumnDescriptor> uniqueColumns) throws UnresolvedValueException, InsufficientDataException
Copyright © 2017 SAP SE. All Rights Reserved.