Package org.hibernate.internal

Examples of org.hibernate.internal.FilterHelper


    while ( iter.hasNext() ) {
      propertyDefinedOnSubclass[j++] = (Boolean) iter.next();
    }

    // Handle any filters applied to the class level
    filterHelper = new FilterHelper( persistentClass.getFilters(), factory );

    temporaryIdTableName = persistentClass.getTemporaryIdTableName();
    temporaryIdTableDDL = persistentClass.getTemporaryIdTableDDL();

    this.cacheEntryHelper = buildCacheEntryHelper();
View Full Code Here


    List<FilterConfiguration> filterDefaultConditions = new ArrayList<FilterConfiguration>();
    for ( FilterDefinition filterDefinition : entityBinding.getFilterDefinitions() ) {
      filterDefaultConditions.add(new FilterConfiguration(filterDefinition.getFilterName(),
            filterDefinition.getDefaultFilterCondition(), true, null, null, null));
    }
    filterHelper = new FilterHelper( filterDefaultConditions, factory);

    temporaryIdTableName = null;
    temporaryIdTableDDL = null;

    this.cacheEntryHelper = buildCacheEntryHelper();
View Full Code Here

    else {
      orderByTranslation = null;
    }

    // Handle any filters applied to this collection
    filterHelper = new FilterHelper( collection.getFilters(), factory);

    // Handle any filters applied to this collection for many-to-many
    manyToManyFilterHelper = new FilterHelper( collection.getManyToManyFilters(), factory);
    manyToManyWhereString = StringHelper.isNotEmpty( collection.getManyToManyWhere() ) ?
        "( " + collection.getManyToManyWhere() + ")" :
        null;
    manyToManyWhereTemplate = manyToManyWhereString == null ?
        null :
View Full Code Here

    while ( iter.hasNext() ) {
      propertyDefinedOnSubclass[j++] = ( ( Boolean ) iter.next() ).booleanValue();
    }

    // Handle any filters applied to the class level
    filterHelper = new FilterHelper( persistentClass.getFilterMap(), factory.getDialect(), factory.getSqlFunctionRegistry() );

    temporaryIdTableName = persistentClass.getTemporaryIdTableName();
    temporaryIdTableDDL = persistentClass.getTemporaryIdTableDDL();
  }
View Full Code Here

    Map<String, String> filterDefaultConditionsByName = new HashMap<String, String>();
    for ( FilterDefinition filterDefinition : entityBinding.getFilterDefinitions() ) {
      filterDefaultConditionsByName.put( filterDefinition.getFilterName(), filterDefinition.getDefaultFilterCondition() );
    }
    filterHelper = new FilterHelper( filterDefaultConditionsByName, factory.getDialect(), factory.getSqlFunctionRegistry() );

    temporaryIdTableName = null;
    temporaryIdTableDDL = null;
  }
View Full Code Here

    else {
      sqlOrderByStringTemplate = null;
    }

    // Handle any filters applied to this collection
    filterHelper = new FilterHelper( collection.getFilterMap(), dialect, factory.getSqlFunctionRegistry() );

    // Handle any filters applied to this collection for many-to-many
    manyToManyFilterHelper = new FilterHelper( collection.getManyToManyFilterMap(), dialect, factory.getSqlFunctionRegistry() );
    manyToManyWhereString = StringHelper.isNotEmpty( collection.getManyToManyWhere() ) ?
        "( " + collection.getManyToManyWhere() + ")" :
        null;
    manyToManyWhereTemplate = manyToManyWhereString == null ?
        null :
View Full Code Here

    while ( iter.hasNext() ) {
      propertyDefinedOnSubclass[j++] = ( ( Boolean ) iter.next() ).booleanValue();
    }

    // Handle any filters applied to the class level
    filterHelper = new FilterHelper( persistentClass.getFilterMap(), factory.getDialect(), factory.getSqlFunctionRegistry() );

    temporaryIdTableName = persistentClass.getTemporaryIdTableName();
    temporaryIdTableDDL = persistentClass.getTemporaryIdTableDDL();
  }
View Full Code Here

    Map<String, String> filterDefaultConditionsByName = new HashMap<String, String>();
    for ( FilterDefinition filterDefinition : entityBinding.getFilterDefinitions() ) {
      filterDefaultConditionsByName.put( filterDefinition.getFilterName(), filterDefinition.getDefaultFilterCondition() );
    }
    filterHelper = new FilterHelper( filterDefaultConditionsByName, factory.getDialect(), factory.getSqlFunctionRegistry() );

    temporaryIdTableName = null;
    temporaryIdTableDDL = null;
  }
View Full Code Here

    while ( iter.hasNext() ) {
      propertyDefinedOnSubclass[j++] = ( ( Boolean ) iter.next() ).booleanValue();
    }

    // Handle any filters applied to the class level
    filterHelper = new FilterHelper( persistentClass.getFilters(), factory );

    temporaryIdTableName = persistentClass.getTemporaryIdTableName();
    temporaryIdTableDDL = persistentClass.getTemporaryIdTableDDL();

    this.cacheEntryHelper = buildCacheEntryHelper();
View Full Code Here

    List<FilterConfiguration> filterDefaultConditions = new ArrayList<FilterConfiguration>();
    for ( FilterDefinition filterDefinition : entityBinding.getFilterDefinitions() ) {
      filterDefaultConditions.add(new FilterConfiguration(filterDefinition.getFilterName(),
            filterDefinition.getDefaultFilterCondition(), true, null, null, null));
    }
    filterHelper = new FilterHelper( filterDefaultConditions, factory);

    temporaryIdTableName = null;
    temporaryIdTableDDL = null;

    this.cacheEntryHelper = buildCacheEntryHelper();
View Full Code Here

TOP

Related Classes of org.hibernate.internal.FilterHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.