| Package | Description |
|---|---|
| org.ofbiz.core.entity |
| Modifier and Type | Field and Description |
|---|---|
protected UtilCache<GenericPK,List<GenericValue>> |
GenericDelegator.andCache |
| Modifier and Type | Method and Description |
|---|---|
GenericPK |
GenericEntity.getPrimaryKey() |
GenericPK |
GenericValue.getRelatedDummyPK(String relationName)
Get a dummy primary key for the named Related Entity for the GenericValue
|
GenericPK |
GenericValue.getRelatedDummyPK(String relationName,
Map<String,?> byAndFields)
Get a dummy primary key for the named Related Entity for the GenericValue
|
GenericPK |
GenericDelegator.getRelatedDummyPK(String relationName,
Map<String,?> byAndFields,
GenericValue value)
Get a dummy primary key for the named Related Entity for the GenericValue.
|
GenericPK |
LockedDatabaseGenericDelegator.getRelatedDummyPK(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
GenericPK |
DelegatorInterface.getRelatedDummyPK(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
GenericPK |
GenericDelegator.makePK(Element element) |
GenericPK |
LockedDatabaseGenericDelegator.makePK(Element element) |
GenericPK |
GenericDelegator.makePK(String entityName,
Map<String,?> fields)
Creates a Primary Key in the form of a GenericPK without persisting it.
|
GenericPK |
LockedDatabaseGenericDelegator.makePK(String entityName,
Map<String,?> fields) |
GenericPK |
DelegatorInterface.makePK(String entityName,
Map<String,?> fields) |
| Modifier and Type | Method and Description |
|---|---|
UtilCache<GenericPK,List<GenericValue>> |
GenericDelegator.getAndCache() |
UtilCache<GenericPK,List<GenericValue>> |
LockedDatabaseGenericDelegator.getAndCache() |
UtilCache<GenericPK,List<GenericValue>> |
DelegatorInterface.getAndCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericDelegator.clearCacheLine(GenericPK primaryKey)
Remove a CACHED Generic Entity from the cache by its primary key, does NOT
check to see if the passed GenericPK is a complete primary key.
|
void |
LockedDatabaseGenericDelegator.clearCacheLine(GenericPK primaryKey) |
void |
DelegatorInterface.clearCacheLine(GenericPK primaryKey) |
void |
GenericDelegator.clearCacheLine(GenericPK primaryKey,
boolean distribute) |
void |
LockedDatabaseGenericDelegator.clearCacheLine(GenericPK primaryKey,
boolean distribute) |
void |
DelegatorInterface.clearCacheLine(GenericPK primaryKey,
boolean distribute) |
GenericValue |
GenericDelegator.create(GenericPK primaryKey)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
GenericValue |
LockedDatabaseGenericDelegator.create(GenericPK primaryKey) |
GenericValue |
MemoryHelper.create(GenericPK primaryKey) |
GenericValue |
DelegatorInterface.create(GenericPK primaryKey) |
GenericValue |
GenericDelegator.create(GenericPK primaryKey,
boolean doCacheClear)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
GenericValue |
LockedDatabaseGenericDelegator.create(GenericPK primaryKey,
boolean doCacheClear) |
GenericValue |
DelegatorInterface.create(GenericPK primaryKey,
boolean doCacheClear) |
void |
DistributedCacheClear.distributedClearCacheLine(GenericPK primaryKey) |
GenericValue |
GenericDelegator.findByPrimaryKey(GenericPK primaryKey)
Find a Generic Entity by its Primary Key.
|
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
GenericHelperDAO.findByPrimaryKey(GenericPK primaryKey)
Find a Generic Entity by its Primary Key
|
GenericValue |
MemoryHelper.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
DelegatorInterface.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
GenericHelper.findByPrimaryKey(GenericPK primaryKey)
Find a Generic Entity by its Primary Key
|
GenericValue |
GenericDelegator.findByPrimaryKeyCache(GenericPK primaryKey)
Find a cached Generic Entity by its Primary Key.
|
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
DelegatorInterface.findByPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
GenericDelegator.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys)
Find a Generic Entity by its Primary Key and only returns the values
requested by the passed keys (names).
|
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys) |
GenericValue |
GenericHelperDAO.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys)
Find a Generic Entity by its Primary Key and only returns the values requested by the passed keys (names)
|
GenericValue |
MemoryHelper.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys) |
GenericValue |
DelegatorInterface.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys) |
GenericValue |
GenericHelper.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys)
Find a Generic Entity by its Primary Key and only returns the values requested by the passed keys (names)
|
GenericValue |
GenericDelegator.getFromPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
LockedDatabaseGenericDelegator.getFromPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
DelegatorInterface.getFromPrimaryKeyCache(GenericPK primaryKey) |
void |
GenericDelegator.putInPrimaryKeyCache(GenericPK primaryKey,
GenericValue value) |
void |
LockedDatabaseGenericDelegator.putInPrimaryKeyCache(GenericPK primaryKey,
GenericValue value) |
void |
DelegatorInterface.putInPrimaryKeyCache(GenericPK primaryKey,
GenericValue value) |
int |
GenericDelegator.removeByPrimaryKey(GenericPK primaryKey)
Remove a Generic Entity corresponding to the primaryKey.
|
int |
LockedDatabaseGenericDelegator.removeByPrimaryKey(GenericPK primaryKey) |
int |
GenericHelperDAO.removeByPrimaryKey(GenericPK primaryKey)
Remove a Generic Entity corresponding to the primaryKey
|
int |
MemoryHelper.removeByPrimaryKey(GenericPK primaryKey) |
int |
DelegatorInterface.removeByPrimaryKey(GenericPK primaryKey) |
int |
GenericHelper.removeByPrimaryKey(GenericPK primaryKey)
Remove a Generic Entity corresponding to the primaryKey
|
int |
GenericDelegator.removeByPrimaryKey(GenericPK primaryKey,
boolean doCacheClear)
Remove a Generic Entity corresponding to the primaryKey.
|
int |
LockedDatabaseGenericDelegator.removeByPrimaryKey(GenericPK primaryKey,
boolean doCacheClear) |
int |
DelegatorInterface.removeByPrimaryKey(GenericPK primaryKey,
boolean doCacheClear) |
| Modifier and Type | Method and Description |
|---|---|
List<GenericValue> |
GenericDelegator.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys)
Find a number of Generic Value objects by their Primary Keys, all at once.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys) |
List<GenericValue> |
DelegatorInterface.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys) |
List<GenericValue> |
GenericHelperDAO.findAllByPrimaryKeys(List<? extends GenericPK> primaryKeys)
Find a number of Generic Value objects by their Primary Keys, all at once
This is done here for the DAO GenericHelper; for a client-server helper it
would be done on the server side to reduce network round trips.
|
List<GenericValue> |
MemoryHelper.findAllByPrimaryKeys(List<? extends GenericPK> primaryKeys) |
List<GenericValue> |
GenericHelper.findAllByPrimaryKeys(List<? extends GenericPK> primaryKeys)
Find a number of Generic Value objects by their Primary Keys, all at once
|
List<GenericValue> |
GenericDelegator.findAllByPrimaryKeysCache(Collection<? extends GenericPK> primaryKeys)
Find a number of Generic Value objects by their Primary Keys, all at
once; this first looks in the local cache for each PK and if there then
it puts it in the return list rather than putting it in the batch to
send to a given helper.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findAllByPrimaryKeysCache(Collection<? extends GenericPK> primaryKeys) |
List<GenericValue> |
DelegatorInterface.findAllByPrimaryKeysCache(Collection<? extends GenericPK> primaryKeys) |
| Constructor and Description |
|---|
GenericPK(GenericPK value)
Creates new GenericPK from existing GenericPK
|
GenericValue(GenericPK primaryKey)
Creates new GenericValue from existing GenericValue
|
Copyright © 2024 Atlassian. All rights reserved.