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