public class PGJPAJSONAnyDAO extends AbstractDAO<AbstractEntity>
LOG
Constructor and Description |
---|
PGJPAJSONAnyDAO() |
Modifier and Type | Method and Description |
---|---|
protected String |
attrValueMatch(AnyUtils anyUtils,
PlainSchema schema,
PlainAttrValue attrValue,
boolean ignoreCaseMatch) |
protected <A extends Any<?>> |
buildResult(AnyUtils anyUtils,
List<Object> queryResult) |
<A extends Any<?>> |
checkBeforeSave(String table,
AnyUtils anyUtils,
A any) |
<A extends Any<?>> |
findByDerAttrValue(String table,
AnyUtils anyUtils,
DerSchema derSchema,
String value,
boolean ignoreCaseMatch) |
protected List<Object> |
findByDerAttrValue(String table,
Map<String,List<Object>> clauses) |
<A extends Any<?>> |
findByPlainAttrUniqueValue(String table,
AnyUtils anyUtils,
PlainSchema schema,
PlainAttrUniqueValue attrUniqueValue,
boolean ignoreCaseMatch) |
<A extends Any<?>> |
findByPlainAttrValue(String table,
AnyUtils anyUtils,
PlainSchema schema,
PlainAttrValue attrValue,
boolean ignoreCaseMatch) |
protected String |
queryBegin(String table) |
protected Pair<String,Boolean> |
schemaInfo(AttrSchemaType schemaType,
boolean ignoreCaseMatch) |
clear, detach, entityManager, entityManagerFactory, refresh
protected String attrValueMatch(AnyUtils anyUtils, PlainSchema schema, PlainAttrValue attrValue, boolean ignoreCaseMatch)
protected Pair<String,Boolean> schemaInfo(AttrSchemaType schemaType, boolean ignoreCaseMatch)
protected <A extends Any<?>> List<A> buildResult(AnyUtils anyUtils, List<Object> queryResult)
@Transactional(readOnly=true) public <A extends Any<?>> List<A> findByPlainAttrValue(String table, AnyUtils anyUtils, PlainSchema schema, PlainAttrValue attrValue, boolean ignoreCaseMatch)
findByPlainAttrValue
in interface JPAJSONAnyDAO
@Transactional(readOnly=true) public <A extends Any<?>> Optional<A> findByPlainAttrUniqueValue(String table, AnyUtils anyUtils, PlainSchema schema, PlainAttrUniqueValue attrUniqueValue, boolean ignoreCaseMatch)
findByPlainAttrUniqueValue
in interface JPAJSONAnyDAO
protected List<Object> findByDerAttrValue(String table, Map<String,List<Object>> clauses)
@Transactional(readOnly=true) public <A extends Any<?>> List<A> findByDerAttrValue(String table, AnyUtils anyUtils, DerSchema derSchema, String value, boolean ignoreCaseMatch)
findByDerAttrValue
in interface JPAJSONAnyDAO
@Transactional public <A extends Any<?>> void checkBeforeSave(String table, AnyUtils anyUtils, A any)
checkBeforeSave
in interface JPAJSONAnyDAO
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.