Class BasePersistenceFinder<T extends BaseModel<T>,E extends NoSuchModelException>
java.lang.Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceFinder<T,E>
- Direct Known Subclasses:
CollectionPersistenceFinder,UniquePersistenceFinder
public abstract class BasePersistenceFinder<T extends BaseModel<T>,E extends NoSuchModelException>
extends Object
- Author:
- Shuyang Zhou
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BasePersistenceImpl<T, E> protected final FinderColumn<T>[]protected final Stringprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBasePersistenceFinder(BasePersistenceImpl<T, E> basePersistenceImpl, String sqlSelectWhere, String where, FinderColumn<T>... finderColumns) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbindQueryParams(QueryPos queryPos, Object[] values) protected Object[]buildFinderArgs(Object[] values) buildNoSuchKeyMessage(Object[] values) protected StringbuildSQLWhere(String sqlWhere, Object[] values, boolean sqlQuery) protected booleanmatchesAll(T entity, Object[] values) protected voidnormalizeValues(Object[] values) protected com.liferay.petra.lang.SafeCloseable
-
Field Details
-
basePersistenceImpl
protected final BasePersistenceImpl<T extends BaseModel<T>,E extends NoSuchModelException> basePersistenceImpl -
finderColumns
-
sqlSelectWhere
-
where
-
-
Constructor Details
-
BasePersistenceFinder
@SafeVarargs protected BasePersistenceFinder(BasePersistenceImpl<T, E> basePersistenceImpl, String sqlSelectWhere, String where, FinderColumn<T>... finderColumns)
-
-
Method Details
-
buildNoSuchKeyMessage
-
bindQueryParams
-
buildFinderArgs
-
buildSQLWhere
-
matchesAll
-
normalizeValues
-
setCTCollectionIdWithSafeCloseable
protected com.liferay.petra.lang.SafeCloseable setCTCollectionIdWithSafeCloseable()
-