Package org.apache.ofbiz.entity.cache
Class EntityListCache
java.lang.Object
org.apache.ofbiz.entity.cache.AbstractCache<EntityCondition,ConcurrentMap<K,V>>
org.apache.ofbiz.entity.cache.AbstractEntityConditionCache<Object,List<GenericValue>>
org.apache.ofbiz.entity.cache.EntityListCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(String entityName, EntityCondition condition) Get list.get
(String entityName, EntityCondition condition, List<String> orderBy) Get list.static final Object
getOrderByKey
(List<String> orderBy) put
(String entityName, EntityCondition condition, List<String> orderBy, List<GenericValue> entities) Put list.void
put
(String entityName, EntityCondition condition, List<GenericValue> entities) Put.remove
(String entityName, EntityCondition condition, List<String> orderBy) Remove list.Methods inherited from class org.apache.ofbiz.entity.cache.AbstractEntityConditionCache
convert, get, getConditionCache, getConditionKey, getFrozenConditionKey, getModelCheckValid, getOrCreateConditionCache, isNull, put, remove, remove, remove, storeHook, storeHook, storeHook, storeHook, storeHook
Methods inherited from class org.apache.ofbiz.entity.cache.AbstractCache
clear, getCache, getCacheName, getCacheNamePrefix, getCacheNamePrefixes, getCacheNames, getDelegator, getOrCreateCache, remove
-
Constructor Details
-
EntityListCache
-
-
Method Details
-
get
Get list.- Parameters:
entityName
- the entity namecondition
- the condition- Returns:
- the list
-
get
Get list.- Parameters:
entityName
- the entity namecondition
- the conditionorderBy
- the order by- Returns:
- the list
-
put
Put.- Parameters:
entityName
- the entity namecondition
- the conditionentities
- the entities
-
put
public List<GenericValue> put(String entityName, EntityCondition condition, List<String> orderBy, List<GenericValue> entities) Put list.- Parameters:
entityName
- the entity namecondition
- the conditionorderBy
- the order byentities
- the entities- Returns:
- the list
-
remove
public List<GenericValue> remove(String entityName, EntityCondition condition, List<String> orderBy) Remove list.- Parameters:
entityName
- the entity namecondition
- the conditionorderBy
- the order by- Returns:
- the list
-
getOrderByKey
-