framework/entity/src/org/ofbiz/entity/Delegator.java
Delegator
has 138 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public interface Delegator {
enum OperationType {INSERT, UPDATE, DELETE}
/**
Method findListIteratorByCondition
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityListIterator findListIteratorByCondition(DynamicViewEntity dynamicViewEntity, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) throws GenericEntityException;
Method find
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityListIterator find(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Set<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) throws GenericEntityException;
Method findList
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
List<GenericValue> findList(String entityName, EntityCondition entityCondition, Set<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions, boolean useCache) throws GenericEntityException;
Method getRelated
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
List<GenericValue> getRelated(String relationName, Map<String, ? extends Object> byAndFields, List<String> orderBy, GenericValue value, boolean useCache) throws GenericEntityException;
Avoid too many return
statements within this method. Open
Open
return getDefault();