Package org.apache.ofbiz.entity.cache
Class Cache
- java.lang.Object
-
- org.apache.ofbiz.entity.cache.Cache
-
public class Cache extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
delegatorName
protected EntityCache
entityCache
protected EntityListCache
entityListCache
protected EntityObjectCache
entityObjectCache
static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description Cache(java.lang.String delegatorName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
<T> T
get(java.lang.String entityName, EntityCondition condition, java.lang.String name)
java.util.List<GenericValue>
get(java.lang.String entityName, EntityCondition condition, java.util.List<java.lang.String> orderBy)
GenericValue
get(GenericPK pk)
<T> T
put(java.lang.String entityName, EntityCondition condition, java.lang.String name, T value)
java.util.List<GenericValue>
put(java.lang.String entityName, EntityCondition condition, java.util.List<java.lang.String> orderBy, java.util.List<GenericValue> entities)
GenericValue
put(GenericPK pk, GenericValue entity)
GenericValue
put(GenericValue entity)
void
remove(java.lang.String entityName)
void
remove(java.lang.String entityName, EntityCondition condition)
<T> T
remove(java.lang.String entityName, EntityCondition condition, java.lang.String name)
java.util.List<GenericValue>
remove(java.lang.String entityName, EntityCondition condition, java.util.List<java.lang.String> orderBy)
GenericValue
remove(GenericEntity entity)
GenericValue
remove(GenericPK pk)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
entityCache
protected EntityCache entityCache
-
entityListCache
protected EntityListCache entityListCache
-
entityObjectCache
protected EntityObjectCache entityObjectCache
-
delegatorName
protected java.lang.String delegatorName
-
-
Method Detail
-
clear
public void clear()
-
remove
public void remove(java.lang.String entityName)
-
get
public GenericValue get(GenericPK pk)
-
get
public java.util.List<GenericValue> get(java.lang.String entityName, EntityCondition condition, java.util.List<java.lang.String> orderBy)
-
get
public <T> T get(java.lang.String entityName, EntityCondition condition, java.lang.String name)
-
put
public java.util.List<GenericValue> put(java.lang.String entityName, EntityCondition condition, java.util.List<java.lang.String> orderBy, java.util.List<GenericValue> entities)
-
put
public <T> T put(java.lang.String entityName, EntityCondition condition, java.lang.String name, T value)
-
put
public GenericValue put(GenericValue entity)
-
put
public GenericValue put(GenericPK pk, GenericValue entity)
-
remove
public java.util.List<GenericValue> remove(java.lang.String entityName, EntityCondition condition, java.util.List<java.lang.String> orderBy)
-
remove
public void remove(java.lang.String entityName, EntityCondition condition)
-
remove
public <T> T remove(java.lang.String entityName, EntityCondition condition, java.lang.String name)
-
remove
public GenericValue remove(GenericEntity entity)
-
remove
public GenericValue remove(GenericPK pk)
-
-