Class DefaultGraphDao
java.lang.Object
ru.cg.webbpm.modules.database.api.entity_graph.dao.DefaultGraphDao
- All Implemented Interfaces:
WebbpmDao
,TableProvider
- Direct Known Subclasses:
AbstractLoadDao
,DefaultDeleteDao
,DefaultSaveDao
- Author:
- Kochetkov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ConditionBuilder
protected DatabaseStructureManager
protected DslProvider
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DefaultGraphDao
(DefaultEntityGraph graph, org.jooq.DSLContext dsl, DslProvider dslProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jooq.Condition
getComplexCondition
(List<?> value, Operator multiValueOperator, Function<Object, org.jooq.Condition> mapper) protected org.jooq.Condition
getContainsCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.DSLContext
getDsl()
protected org.jooq.DSLContext
protected org.jooq.Condition
getEndsWithCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Condition
getEqualCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Condition
getEqualIgnoreCaseCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) org.jooq.Condition
getFilterCondition
(EntityFilter entityFilter) org.jooq.Condition
getFilterCondition
(EntityFilterGroup entityFilterGroup) org.jooq.Condition
getFilterCondition
(EntityFilterGroup entityFilterGroup, String tableName) org.jooq.Condition
getFilterCondition
(EntityFilter entityFilter, String tableName) List<org.jooq.Condition>
getFilterConditions
(List<EntityFilter> entityFilters) protected EntityColumn[]
protected org.jooq.Condition
getGreaterOrEqualCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Condition
getGreaterThanCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Condition
getLessOrEqualCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Condition
getLessThanCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Condition
getNotContainsCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Condition
getNotEqualCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Condition
getOperator
(EntityFilterGroup entityFilterGroup, Stream<org.jooq.Condition> groupsStream, Stream<org.jooq.Condition> filtersStream) protected org.jooq.Sequence<?>
getSequence
(DefaultGraphNode node, String sequenceName) protected org.jooq.Condition
getStartsWithCondition
(org.jooq.Field<Object> field, Object value, Operator multiValueOperator) protected org.jooq.Table<?>
getTable
(DefaultGraphNode node) Deprecated.protected org.jooq.Table<?>
void
setDatabaseStructureManager
(DatabaseStructureManager databaseStructureManager) void
setDsl
(org.jooq.DSLContext dsl) void
setDslProvider
(DslProvider dslProvider) void
setGraph
(DefaultEntityGraph graph) org.jooq.Field<Object>
toJooqField
(EntityColumn entityColumn, String tableName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.cg.webbpm.modules.database.api.TableProvider
getTableByAlias
Methods inherited from interface ru.cg.webbpm.modules.database.api.dao.WebbpmDao
getDatasourceJndiName
-
Field Details
-
graph
-
dslProvider
-
databaseStructureManager
-
conditionBuilder
-
-
Constructor Details
-
DefaultGraphDao
public DefaultGraphDao() -
DefaultGraphDao
protected DefaultGraphDao(DefaultEntityGraph graph, org.jooq.DSLContext dsl, DslProvider dslProvider)
-
-
Method Details
-
getGraphNodeTablePkFields
-
getDsl
protected org.jooq.DSLContext getDsl() -
getDsl
-
getStructureTable
-
getTable
Deprecated. -
getTableWithAlias
-
setGraph
-
setDsl
public void setDsl(org.jooq.DSLContext dsl) -
setDslProvider
-
setDatabaseStructureManager
-
getUsedTables
- Specified by:
getUsedTables
in interfaceTableProvider
-
getSequence
-
getFilterCondition
-
getOperator
protected org.jooq.Condition getOperator(EntityFilterGroup entityFilterGroup, Stream<org.jooq.Condition> groupsStream, Stream<org.jooq.Condition> filtersStream) -
getFilterCondition
-
getFilterConditions
-
getFilterCondition
-
getFilterCondition
-
toJooqField
-
getEqualCondition
-
getNotEqualCondition
-
getEqualIgnoreCaseCondition
-
getGreaterThanCondition
-
getLessThanCondition
-
getGreaterOrEqualCondition
-
getLessOrEqualCondition
-
getContainsCondition
-
getNotContainsCondition
-
getStartsWithCondition
-
getEndsWithCondition
-
getComplexCondition
-