Package org.apache.ofbiz.entity.cache
Class EntityCache
java.lang.Object
org.apache.ofbiz.entity.cache.AbstractCache<GenericPK,GenericValue>
org.apache.ofbiz.entity.cache.EntityCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet generic value.put
(GenericPK pk, GenericValue entity) Put generic value.put
(GenericValue entity) Put generic value.void
remove
(String entityName, EntityCondition condition) Remove.Remove generic value.remove
(GenericValue entity) Remove generic value.Methods inherited from class org.apache.ofbiz.entity.cache.AbstractCache
clear, getCache, getCacheName, getCacheNamePrefix, getCacheNamePrefixes, getCacheNames, getDelegator, getOrCreateCache, remove
-
Constructor Details
-
EntityCache
-
-
Method Details
-
get
Get generic value.- Parameters:
pk
- the pk- Returns:
- the generic value
-
put
Put generic value.- Parameters:
entity
- the entity- Returns:
- the generic value
-
put
Put generic value.- Parameters:
pk
- the pkentity
- the entity- Returns:
- the generic value
-
remove
Remove.- Parameters:
entityName
- the entity namecondition
- the condition
-
remove
Remove generic value.- Parameters:
entity
- the entity- Returns:
- the generic value
-
remove
Remove generic value.- Parameters:
pk
- the pk- Returns:
- the generic value
-