| Package | Description |
|---|---|
| org.ofbiz.core.entity |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityConditionList
Encapsulates a list of EntityConditions to be used as a single EntityCondition combined as specified
|
class |
EntityExpr
Encapsulates simple expressions used for specifying queries
|
class |
EntityExprList
Encapsulates simple expressions used for specifying queries
|
class |
EntityFieldMap
Encapsulates simple expressions used for specifying queries
|
class |
EntityWhereString
Encapsulates SQL expressions used for where clause snippets.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<? extends EntityCondition> |
EntityConditionList.conditionList |
| Modifier and Type | Method and Description |
|---|---|
EntityCondition |
EntityConditionList.getCondition(int index) |
static EntityCondition |
EntityConditionHelper.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 function
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<? extends EntityCondition> |
EntityConditionList.getConditionIterator() |
| Modifier and Type | Method and Description |
|---|---|
int |
GenericDAO.count(ModelEntity modelEntity,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions) |
int |
GenericHelperDAO.count(ModelEntity modelEntity,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions) |
int |
MemoryHelper.count(ModelEntity modelEntity,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions) |
int |
GenericHelper.count(ModelEntity modelEntity,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions)
Returns the count of the results that matches the specified condition
|
int |
GenericDelegator.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).
|
int |
DelegatorInterface.countByCondition(String entityName,
String fieldName,
EntityCondition condition,
EntityFindOptions findOptions) |
int |
GenericDAO.deleteByCondition(ModelEntity modelEntity,
EntityCondition whereCondition) |
List<GenericValue> |
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.
|
List<GenericValue> |
MemoryHelper.findByCondition(ModelEntity modelEntity,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
List<GenericValue> |
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.
|
List<GenericValue> |
GenericDelegator.findByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy)
Finds any GenericValues matching the given conditions.
|
List<GenericValue> |
DelegatorInterface.findByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
EntityListIterator |
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.
|
EntityListIterator |
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.
|
EntityListIterator |
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.
|
EntityListIterator |
GenericDelegator.findListIteratorByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy)
Finds GenericValues by the given conditions.
|
EntityListIterator |
DelegatorInterface.findListIteratorByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
EntityListIterator |
LockedDatabaseGenericDelegator.findListIteratorByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
EntityListIterator |
GenericDelegator.findListIteratorByCondition(String entityName,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions)
Finds GenericValues by the given conditions.
|
EntityListIterator |
DelegatorInterface.findListIteratorByCondition(String entityName,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions) |
EntityListIterator |
LockedDatabaseGenericDelegator.findListIteratorByCondition(String entityName,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions) |
static boolean |
EntityConditionHelper.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)
|
int |
GenericHelperDAO.removeByCondition(ModelEntity modelEntity,
EntityCondition whereCondition) |
int |
MemoryHelper.removeByCondition(ModelEntity modelEntity,
EntityCondition whereCondition) |
int |
GenericHelper.removeByCondition(ModelEntity modelEntity,
EntityCondition whereCondition)
Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND)
|
int |
GenericDelegator.removeByCondition(String entityName,
EntityCondition whereCondition)
Removes/deletes Generic Entity records found by matching the EntityCondition.
|
int |
DelegatorInterface.removeByCondition(String entityName,
EntityCondition entityCondition) |
int |
GenericDelegator.removeByCondition(String entityName,
EntityCondition whereCondition,
boolean doCacheClear)
Removes/deletes Generic Entity records found by matching the EntityCondition.
|
int |
DelegatorInterface.removeByCondition(String entityName,
EntityCondition entityCondition,
boolean doCacheClear) |
List<GenericValue> |
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.
|
List<GenericValue> |
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.
|
EntityListIterator |
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.
|
List<GenericValue> |
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.
|
List<GenericValue> |
GenericHelperDAO.transform(ModelEntity modelEntity,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
List<GenericValue> |
MemoryHelper.transform(ModelEntity modelEntity,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
List<GenericValue> |
GenericHelper.transform(ModelEntity modelEntity,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation)
Applies the given transformation to any entities matching the given condition.
|
List<GenericValue> |
GenericDelegator.transform(String entityName,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
List<GenericValue> |
DelegatorInterface.transform(String entityName,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation)
Applies the given transformation to any entities matching the given condition.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.transform(String entityName,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
static EntityCondition |
EntityConditionHelper.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 function
|
| Modifier and Type | Method and Description |
|---|---|
int |
GenericDelegator.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.
|
int |
DelegatorInterface.countByAnd(String entityName,
String fieldName,
List<? extends EntityCondition> expressions,
EntityFindOptions findOptions) |
int |
GenericDelegator.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.
|
int |
DelegatorInterface.countByOr(String entityName,
String fieldName,
List<? extends EntityCondition> expressions,
EntityFindOptions findOptions) |
List<GenericValue> |
MemoryHelper.findByAnd(ModelEntity modelEntity,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByAnd(String entityName,
List<? extends EntityCondition> expressions)
Finds Generic Entity records by all of the specified expressions (ie: combined using AND).
|
List<GenericValue> |
DelegatorInterface.findByAnd(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAnd(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
GenericDelegator.findByAnd(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy)
Finds Generic Entity records by all of the specified expressions (i.e.
|
List<GenericValue> |
DelegatorInterface.findByAnd(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAnd(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
MemoryHelper.findByOr(ModelEntity modelEntity,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByOr(String entityName,
List<? extends EntityCondition> expressions)
Finds Generic Entity records by all of the specified expressions (i.e.
|
List<GenericValue> |
DelegatorInterface.findByOr(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByOr(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
GenericDelegator.findByOr(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy)
Finds Generic Entity records by all of the specified expressions (i.e.
|
List<GenericValue> |
DelegatorInterface.findByOr(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByOr(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
static EntityCondition |
EntityConditionHelper.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 function
|
| Constructor and Description |
|---|
EntityExpr(EntityCondition lhs,
EntityOperator operator,
EntityCondition rhs) |
| Constructor and Description |
|---|
EntityConditionList(List<? extends EntityCondition> conditionList,
EntityOperator operator) |
Copyright © 2016 Atlassian. All rights reserved.