Uses of Class
org.ofbiz.core.entity.EntityCondition
Packages that use EntityCondition
-
Uses of EntityCondition in org.ofbiz.core.entity
Subclasses of EntityCondition in org.ofbiz.core.entityModifier and TypeClassDescriptionclassEncapsulates a list of EntityConditions to be used as a single EntityCondition combined as specifiedclassEncapsulates simple expressions used for specifying queriesclassEncapsulates simple expressions used for specifying queriesclassEncapsulates simple expressions used for specifying queriesclassEncapsulates SQL expressions used for where clause snippets.Fields in org.ofbiz.core.entity with type parameters of type EntityConditionModifier and TypeFieldDescriptionprotected List<? extends EntityCondition>EntityConditionList.conditionListMethods in org.ofbiz.core.entity that return EntityConditionModifier and TypeMethodDescriptionEntityConditionList.getCondition(int index) static EntityConditionEntityConditionHelper.transformCondition(EntityCondition input, com.google.common.base.Function<EntityExpr, EntityCondition> function) Traverses input EntityCondition and each leaf EntityExpr (that does not contain sub-conditions) is transformed with functionMethods in org.ofbiz.core.entity that return types with arguments of type EntityConditionModifier and TypeMethodDescriptionIterator<? extends EntityCondition>EntityConditionList.getConditionIterator()Methods in org.ofbiz.core.entity with parameters of type EntityConditionModifier and TypeMethodDescriptionintGenericDAO.count(ModelEntity modelEntity, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) intGenericHelper.count(ModelEntity modelEntity, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) Returns the count of the results that matches the specified conditionintGenericHelperDAO.count(ModelEntity modelEntity, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) intMemoryHelper.count(ModelEntity modelEntity, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) intDelegatorInterface.countByCondition(String entityName, String fieldName, EntityCondition condition, EntityFindOptions findOptions) intGenericDelegator.countByCondition(String entityName, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) Returns the count of the results that match any of the specified expressions (ie: combined using OR).intLockedDatabaseGenericDelegator.countByCondition(String entityName, String fieldName, EntityCondition condition, EntityFindOptions findOptions) intGenericDAO.deleteByCondition(ModelEntity modelEntity, EntityCondition whereCondition) DelegatorInterface.findByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) GenericDelegator.findByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) Finds any GenericValues matching the given conditions.GenericHelper.findByCondition(ModelEntity modelEntity, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc for more details.GenericHelperDAO.findByCondition(ModelEntity modelEntity, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc for more details.LockedDatabaseGenericDelegator.findByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) MemoryHelper.findByCondition(ModelEntity modelEntity, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) DelegatorInterface.findListIteratorByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) DelegatorInterface.findListIteratorByCondition(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) GenericDelegator.findListIteratorByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) Finds GenericValues by the given conditions.GenericDelegator.findListIteratorByCondition(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) Finds GenericValues by the given conditions.GenericHelper.findListIteratorByCondition(ModelEntity modelEntity, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc for more details.GenericHelperDAO.findListIteratorByCondition(ModelEntity modelEntity, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc for more details.LockedDatabaseGenericDelegator.findListIteratorByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) LockedDatabaseGenericDelegator.findListIteratorByCondition(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) MemoryHelper.findListIteratorByCondition(ModelEntity modelEntity, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) The memory implementation does the *minimum* that it can to allow tests to work.static booleanEntityConditionHelper.predicateTrueForEachLeafExpression(EntityCondition input, com.google.common.base.Predicate<EntityExpr> predicate) Traverses input EntityCondition and checks of predicate is true for each leaf EntityExpr (that does not contain sub-conditions)intDelegatorInterface.removeByCondition(String entityName, EntityCondition entityCondition) intDelegatorInterface.removeByCondition(String entityName, EntityCondition entityCondition, boolean doCacheClear) intGenericDelegator.removeByCondition(String entityName, EntityCondition whereCondition) Removes/deletes Generic Entity records found by matching the EntityCondition.intGenericDelegator.removeByCondition(String entityName, EntityCondition whereCondition, boolean doCacheClear) Removes/deletes Generic Entity records found by matching the EntityCondition.intGenericHelper.removeByCondition(ModelEntity modelEntity, EntityCondition whereCondition) Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND)intGenericHelperDAO.removeByCondition(ModelEntity modelEntity, EntityCondition whereCondition) intLockedDatabaseGenericDelegator.removeByCondition(String entityName, EntityCondition entityCondition) intLockedDatabaseGenericDelegator.removeByCondition(String entityName, EntityCondition entityCondition, boolean doCacheClear) intMemoryHelper.removeByCondition(ModelEntity modelEntity, EntityCondition whereCondition) GenericDAO.selectByCondition(ModelEntity modelEntity, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) Finds GenericValues by the conditions specified in the EntityCondition object, see the EntityCondition javadoc for more details.GenericDAO.selectByCondition(ModelEntity modelEntity, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) Finds GenericValues by the conditions specified in the EntityCondition object, see the EntityCondition javadoc for more details.GenericDAO.selectListIteratorByCondition(ModelEntity modelEntity, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc for more details.DelegatorInterface.transform(String entityName, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) Applies the given transformation to any entities matching the given condition.GenericDAO.transform(ModelEntity modelEntity, EntityCondition entityCondition, List<String> orderBy, String lockFieldName, Transformation transformation) Applies the given transformation to any entities matching the given condition, by performing a SELECT followed by an UPDATE.GenericDelegator.transform(String entityName, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) GenericHelper.transform(ModelEntity modelEntity, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) Applies the given transformation to any entities matching the given condition.GenericHelperDAO.transform(ModelEntity modelEntity, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) LockedDatabaseGenericDelegator.transform(String entityName, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) MemoryHelper.transform(ModelEntity modelEntity, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) static EntityConditionEntityConditionHelper.transformCondition(EntityCondition input, com.google.common.base.Function<EntityExpr, EntityCondition> function) Traverses input EntityCondition and each leaf EntityExpr (that does not contain sub-conditions) is transformed with functionMethod parameters in org.ofbiz.core.entity with type arguments of type EntityConditionModifier and TypeMethodDescriptionintDelegatorInterface.countByAnd(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) intGenericDelegator.countByAnd(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) Returns the count of the results that match all of the specified expressions (i.e.intLockedDatabaseGenericDelegator.countByAnd(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) intDelegatorInterface.countByOr(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) intGenericDelegator.countByOr(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) Returns the count of the results that match any of the specified expressions (i.e.intLockedDatabaseGenericDelegator.countByOr(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) DelegatorInterface.findByAnd(String entityName, List<? extends EntityCondition> expressions) DelegatorInterface.findByAnd(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) GenericDelegator.findByAnd(String entityName, List<? extends EntityCondition> expressions) Finds Generic Entity records by all of the specified expressions (ie: combined using AND).GenericDelegator.findByAnd(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) Finds Generic Entity records by all of the specified expressions (i.e.LockedDatabaseGenericDelegator.findByAnd(String entityName, List<? extends EntityCondition> expressions) LockedDatabaseGenericDelegator.findByAnd(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) MemoryHelper.findByAnd(ModelEntity modelEntity, List<? extends EntityCondition> expressions, List<String> orderBy) DelegatorInterface.findByOr(String entityName, List<? extends EntityCondition> expressions) DelegatorInterface.findByOr(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) GenericDelegator.findByOr(String entityName, List<? extends EntityCondition> expressions) Finds Generic Entity records by all of the specified expressions (i.e.GenericDelegator.findByOr(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) Finds Generic Entity records by all of the specified expressions (i.e.LockedDatabaseGenericDelegator.findByOr(String entityName, List<? extends EntityCondition> expressions) LockedDatabaseGenericDelegator.findByOr(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) MemoryHelper.findByOr(ModelEntity modelEntity, List<? extends EntityCondition> expressions, List<String> orderBy) static EntityConditionEntityConditionHelper.transformCondition(EntityCondition input, com.google.common.base.Function<EntityExpr, EntityCondition> function) Traverses input EntityCondition and each leaf EntityExpr (that does not contain sub-conditions) is transformed with functionConstructors in org.ofbiz.core.entity with parameters of type EntityConditionModifierConstructorDescriptionEntityExpr(EntityCondition lhs, EntityOperator operator, EntityCondition rhs) Constructor parameters in org.ofbiz.core.entity with type arguments of type EntityConditionModifierConstructorDescriptionEntityConditionList(List<? extends EntityCondition> conditionList, EntityOperator operator)