| Package | Description |
|---|---|
| org.ofbiz.core.entity | |
| org.ofbiz.core.entity.eca | |
| org.ofbiz.core.entity.jdbc |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericPK
Generic Entity Primary Key Object
|
class |
GenericValue
Generic Entity Value Object - Handles persisntence for any defined entity.
|
| Modifier and Type | Field and Description |
|---|---|
protected UtilCache<GenericEntity,GenericValue> |
GenericDelegator.primaryKeyCache |
| Modifier and Type | Method and Description |
|---|---|
static <T extends GenericEntity> |
EntityUtil.filterByAnd(List<? extends T> values,
Map<String,?> fields)
returns the values that match the values in fields
|
static <T extends GenericEntity> |
EntityUtil.filterByDate(List<T> datedValues)
returns the values that are currently active.
|
static <T extends GenericEntity> |
EntityUtil.filterByDate(List<T> datedValues,
boolean allAreSame)
returns the values that are currently active.
|
static <T extends GenericEntity> |
EntityUtil.filterByDate(List<T> datedValues,
Date moment)
returns the values that are active at the moment.
|
static <T extends GenericEntity> |
EntityUtil.filterByDate(List<T> datedValues,
Timestamp moment)
returns the values that are active at the moment.
|
static <T extends GenericEntity> |
EntityUtil.filterByDate(List<T> datedValues,
Timestamp moment,
String fromDateName,
String thruDateName,
boolean allAreSame)
returns the values that are active at the moment.
|
| Modifier and Type | Method and Description |
|---|---|
UtilCache<GenericEntity,GenericValue> |
LockedDatabaseGenericDelegator.getPrimaryKeyCache() |
UtilCache<GenericEntity,GenericValue> |
GenericDelegator.getPrimaryKeyCache() |
UtilCache<GenericEntity,GenericValue> |
DelegatorInterface.getPrimaryKeyCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
LockedDatabaseGenericDelegator.clearCacheLineFlexible(GenericEntity dummyPK) |
void |
GenericDelegator.clearCacheLineFlexible(GenericEntity dummyPK)
Remove a CACHED Generic Entity from the cache by its primary key.
|
void |
DelegatorInterface.clearCacheLineFlexible(GenericEntity dummyPK) |
void |
LockedDatabaseGenericDelegator.clearCacheLineFlexible(GenericEntity dummyPK,
boolean distribute) |
void |
GenericDelegator.clearCacheLineFlexible(GenericEntity dummyPK,
boolean distribute) |
void |
DelegatorInterface.clearCacheLineFlexible(GenericEntity dummyPK,
boolean distribute) |
int |
GenericEntity.compareTo(GenericEntity obj)
Compares this GenericEntity to the passed object
|
int |
GenericDAO.delete(GenericEntity entity) |
void |
DistributedCacheClear.distributedClearCacheLineFlexible(GenericEntity dummyPK) |
protected void |
LockedDatabaseGenericDelegator.evalEcaRules(String event,
String currentOperation,
GenericEntity value,
Map<?,?> eventMap,
boolean noEventMapFound,
boolean isError) |
int |
GenericDAO.insert(GenericEntity entity) |
void |
GenericDAO.partialSelect(GenericEntity entity,
Set<String> keys) |
void |
GenericDAO.select(GenericEntity entity) |
void |
GenericDAO.select(GenericEntity entity,
Connection connection) |
int |
GenericDAO.update(GenericEntity entity)
Updates the given entity with the given non-PK values.
|
int |
GenericDAO.update(GenericEntity entity,
EntityConditionParam nonPkCondition)
Updates the given entity with the given non-PK values.
|
int |
GenericDAO.updateAll(GenericEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
LockedDatabaseGenericDelegator.clearAllCacheLinesByDummyPK(Collection<? extends GenericEntity> dummyPKs) |
void |
GenericDelegator.clearAllCacheLinesByDummyPK(Collection<? extends GenericEntity> dummyPKs) |
void |
DelegatorInterface.clearAllCacheLinesByDummyPK(Collection<? extends GenericEntity> dummyPKs) |
int |
GenericDAO.deleteAll(List<? extends GenericEntity> dummyPKs)
Called dummyPKs because they can be invalid PKs, doing a deleteByAnd instead of a normal delete
|
int |
MemoryHelper.removeAll(List<? extends GenericEntity> dummyPKs) |
int |
LockedDatabaseGenericDelegator.removeAll(List<? extends GenericEntity> dummyPKs) |
int |
GenericDelegator.removeAll(List<? extends GenericEntity> dummyPKs)
Remove the Entities from the List from the persistent store.
|
int |
GenericHelperDAO.removeAll(List<? extends GenericEntity> dummyPKs)
Remove the Entities from the List from the persistent store.
|
int |
DelegatorInterface.removeAll(List<? extends GenericEntity> dummyPKs) |
int |
GenericHelper.removeAll(List<? extends GenericEntity> dummyPKs)
Remove the Entities from the List from the persistent store.
|
int |
LockedDatabaseGenericDelegator.removeAll(List<? extends GenericEntity> dummyPKs,
boolean doCacheClear) |
int |
GenericDelegator.removeAll(List<? extends GenericEntity> dummyPKs,
boolean doCacheClear)
Remove the Entities from the List from the persistent store.
|
int |
DelegatorInterface.removeAll(List<? extends GenericEntity> dummyPKs,
boolean doCacheClear) |
int |
GenericDAO.storeAll(List<? extends GenericEntity> entities) |
| Constructor and Description |
|---|
GenericEntity(GenericEntity value)
Copy Constructor: Creates new GenericEntity from existing GenericEntity
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityEcaHandler.evalRules(String currentOperation,
Map<?,?> eventMap,
String event,
GenericEntity value,
boolean isError) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SqlJdbcUtil.getValue(ResultSet rs,
int ind,
ModelField curField,
GenericEntity entity,
ModelFieldTypeReader modelFieldTypeReader) |
static void |
SqlJdbcUtil.setPkValues(SQLProcessor sqlP,
ModelEntity modelEntity,
GenericEntity entity,
ModelFieldTypeReader modelFieldTypeReader)
Get all primary keys from the model entity and bind their values
to the an SQL statement (SQL-Processor)
|
static void |
SqlJdbcUtil.setValue(SQLProcessor sqlP,
ModelField modelField,
GenericEntity entity,
ModelFieldTypeReader modelFieldTypeReader) |
static void |
SqlJdbcUtil.setValues(SQLProcessor sqlP,
List<ModelField> list,
GenericEntity entity,
ModelFieldTypeReader modelFieldTypeReader)
The elements (ModelFields) of the list are bound to an SQL statement
(SQL-Processor)
|
Copyright © 2015 Atlassian. All rights reserved.