svn commit: r938948 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r938948 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java

lektran
Author: lektran
Date: Wed Apr 28 11:30:33 2010
New Revision: 938948

URL: http://svn.apache.org/viewvc?rev=938948&view=rev
Log:
The following deprecated classes, constructors or methods have been removed:
org.ofbiz.entity.GenericDelegator.findAll(String)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findAll(String, String...)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findAll(String, List<String>)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findAllCache(String)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findAllCache(String, String...)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findAllCache(String, List<String>)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findByAnd(String, EntityCondition...)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findByAnd(String, List<EntityCondition>)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findByAnd(String, List<EntityCondition>, List<String>)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findByOr(String, EntityCondition...)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findByOr(String, List<EntityCondition>)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

org.ofbiz.entity.GenericDelegator.findByOr(String, List<EntityCondition>, List<String>)
- Use findList(String, EntityCondition, Set<String>, List<String>, EntityFindOptions, boolean) instead

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java?rev=938948&r1=938947&r2=938948&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java Wed Apr 28 11:30:33 2010
@@ -1682,54 +1682,6 @@ public class GenericDelegator implements
     }
 
     /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findAll(java.lang.String)
-     */
-    @Deprecated
-    public List<GenericValue> findAll(String entityName) throws GenericEntityException {
-        return this.findList(entityName, null, null, null, null, false);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findAll(java.lang.String, java.lang.String)
-     */
-    @Deprecated
-    public List<GenericValue> findAll(String entityName, String... orderBy) throws GenericEntityException {
-        return findList(entityName, null, null, Arrays.asList(orderBy), null, false);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findAll(java.lang.String, java.util.List)
-     */
-    @Deprecated
-    public List<GenericValue> findAll(String entityName, List<String> orderBy) throws GenericEntityException {
-        return this.findList(entityName, null, null, orderBy, null, false);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findAllCache(java.lang.String)
-     */
-    @Deprecated
-    public List<GenericValue> findAllCache(String entityName) throws GenericEntityException {
-        return this.findList(entityName, null, null, null, null, true);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findAllCache(java.lang.String, java.lang.String)
-     */
-    @Deprecated
-    public List<GenericValue> findAllCache(String entityName, String... orderBy) throws GenericEntityException {
-        return findList(entityName, null, null, Arrays.asList(orderBy), null, true);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findAllCache(java.lang.String, java.util.List)
-     */
-    @Deprecated
-    public List<GenericValue> findAllCache(String entityName, List<String> orderBy) throws GenericEntityException {
-        return this.findList(entityName, null, null, orderBy, null, true);
-    }
-
-    /* (non-Javadoc)
      * @see org.ofbiz.entity.Delegator#findByAnd(java.lang.String, java.lang.Object)
      */
     public List<GenericValue> findByAnd(String entityName, Object... fields) throws GenericEntityException {
@@ -1802,59 +1754,6 @@ public class GenericDelegator implements
     }
 
     /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findByAnd(java.lang.String, T)
-     */
-    @Deprecated
-    public <T extends EntityCondition> List<GenericValue> findByAnd(String entityName, T... expressions) throws GenericEntityException {
-        EntityConditionList<T> ecl = EntityCondition.makeCondition(EntityOperator.AND, expressions);
-        return this.findList(entityName, ecl, null, null, null, false);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findByAnd(java.lang.String, java.util.List)
-     */
-    @Deprecated
-    public <T extends EntityCondition> List<GenericValue> findByAnd(String entityName, List<T> expressions) throws GenericEntityException {
-        EntityConditionList<T> ecl = EntityCondition.makeCondition(expressions, EntityOperator.AND);
-        return this.findList(entityName, ecl, null, null, null, false);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findByAnd(java.lang.String, java.util.List, java.util.List)
-     */
-    @Deprecated
-    public <T extends EntityCondition> List<GenericValue> findByAnd(String entityName, List<T> expressions, List<String> orderBy) throws GenericEntityException {
-        EntityConditionList<T> ecl = EntityCondition.makeCondition(expressions, EntityOperator.AND);
-        return this.findList(entityName, ecl, null, orderBy, null, false);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findByOr(java.lang.String, T)
-     */
-    @Deprecated
-    public <T extends EntityCondition> List<GenericValue> findByOr(String entityName, T... expressions) throws GenericEntityException {
-        return this.findList(entityName, EntityCondition.makeCondition(EntityOperator.AND, expressions), null, null, null, false);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findByOr(java.lang.String, java.util.List)
-     */
-    @Deprecated
-    public <T extends EntityCondition> List<GenericValue> findByOr(String entityName, List<T> expressions) throws GenericEntityException {
-        EntityConditionList<T> ecl = EntityCondition.makeCondition(expressions, EntityOperator.OR);
-        return this.findList(entityName, ecl, null, null, null, false);
-    }
-
-    /* (non-Javadoc)
-     * @see org.ofbiz.entity.Delegator#findByOr(java.lang.String, java.util.List, java.util.List)
-     */
-    @Deprecated
-    public <T extends EntityCondition> List<GenericValue> findByOr(String entityName, List<T> expressions, List<String> orderBy) throws GenericEntityException {
-        EntityConditionList<T> ecl = EntityCondition.makeCondition(expressions, EntityOperator.OR);
-        return this.findList(entityName, ecl, null, orderBy, null, false);
-    }
-
-    /* (non-Javadoc)
      * @see org.ofbiz.entity.Delegator#findByLike(java.lang.String, java.lang.Object)
      */
     @Deprecated