java.lang.Object
ru.cg.webbpm.modules.database.api.entity_graph.dao.DefaultGraphDao
All Implemented Interfaces:
WebbpmDao, TableProvider
Direct Known Subclasses:
AbstractLoadDao, DefaultDeleteDao, DefaultSaveDao

public class DefaultGraphDao extends Object implements TableProvider
Author:
Kochetkov
  • Field Details

  • Constructor Details

    • DefaultGraphDao

      public DefaultGraphDao()
    • DefaultGraphDao

      protected DefaultGraphDao(DefaultEntityGraph graph, org.jooq.DSLContext dsl, DslProvider dslProvider)
  • Method Details

    • getGraphNodeTablePkFields

      protected EntityColumn[] getGraphNodeTablePkFields(DefaultGraphNode node)
    • getDsl

      protected org.jooq.DSLContext getDsl()
    • getDsl

      protected org.jooq.DSLContext getDsl(String jndiName)
    • getStructureTable

      protected Optional<Table> getStructureTable(DefaultGraphNode node)
    • getTable

      @Deprecated protected org.jooq.Table<?> getTable(DefaultGraphNode node)
      Deprecated.
    • getTableWithAlias

      protected org.jooq.Table<?> getTableWithAlias(DefaultGraphNode node)
    • setGraph

      public void setGraph(DefaultEntityGraph graph)
    • setDsl

      public void setDsl(org.jooq.DSLContext dsl)
    • setDslProvider

      public void setDslProvider(DslProvider dslProvider)
    • setDatabaseStructureManager

      public void setDatabaseStructureManager(DatabaseStructureManager databaseStructureManager)
    • getUsedTables

      public List<QueryTable> getUsedTables()
      Specified by:
      getUsedTables in interface TableProvider
    • getSequence

      protected org.jooq.Sequence<?> getSequence(DefaultGraphNode node, String sequenceName)
    • getFilterCondition

      public org.jooq.Condition getFilterCondition(EntityFilterGroup entityFilterGroup)
    • getOperator

      protected org.jooq.Condition getOperator(EntityFilterGroup entityFilterGroup, Stream<org.jooq.Condition> groupsStream, Stream<org.jooq.Condition> filtersStream)
    • getFilterCondition

      public org.jooq.Condition getFilterCondition(EntityFilterGroup entityFilterGroup, String tableName)
    • getFilterConditions

      public List<org.jooq.Condition> getFilterConditions(List<EntityFilter> entityFilters)
    • getFilterCondition

      public org.jooq.Condition getFilterCondition(EntityFilter entityFilter)
    • getFilterCondition

      public org.jooq.Condition getFilterCondition(EntityFilter entityFilter, String tableName)
    • toJooqField

      public org.jooq.Field<Object> toJooqField(EntityColumn entityColumn, String tableName)
    • getEqualCondition

      protected org.jooq.Condition getEqualCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getNotEqualCondition

      protected org.jooq.Condition getNotEqualCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getEqualIgnoreCaseCondition

      protected org.jooq.Condition getEqualIgnoreCaseCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getGreaterThanCondition

      protected org.jooq.Condition getGreaterThanCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getLessThanCondition

      protected org.jooq.Condition getLessThanCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getGreaterOrEqualCondition

      protected org.jooq.Condition getGreaterOrEqualCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getLessOrEqualCondition

      protected org.jooq.Condition getLessOrEqualCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getContainsCondition

      protected org.jooq.Condition getContainsCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getNotContainsCondition

      protected org.jooq.Condition getNotContainsCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getStartsWithCondition

      protected org.jooq.Condition getStartsWithCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getEndsWithCondition

      protected org.jooq.Condition getEndsWithCondition(org.jooq.Field<Object> field, Object value, Operator multiValueOperator)
    • getComplexCondition

      protected org.jooq.Condition getComplexCondition(List<?> value, Operator multiValueOperator, Function<Object,org.jooq.Condition> mapper)