| Package | Description |
|---|---|
| org.ofbiz.core.entity | |
| org.ofbiz.core.entity.comparator | |
| org.ofbiz.core.entity.jdbc |
| Modifier and Type | Field and Description |
|---|---|
protected GenericValue |
EntitySaxReader.currentValue |
| Modifier and Type | Field and Description |
|---|---|
protected UtilCache<String,List<GenericValue>> |
GenericDelegator.allCache |
protected UtilCache<GenericPK,List<GenericValue>> |
GenericDelegator.andCache |
protected UtilCache<GenericEntity,GenericValue> |
GenericDelegator.primaryKeyCache |
Map<String,List<GenericValue>> |
GenericValue.relatedCache
HashMap to cache various related entity collections
|
Map<String,GenericValue> |
GenericValue.relatedOneCache
HashMap to cache various related cardinality on entity collections
|
protected List<GenericValue> |
EntitySaxReader.valuesToWrite |
| Modifier and Type | Method and Description |
|---|---|
static <T extends GenericValue> |
EntityUtil.filterByAnd(List<T> values,
List<? extends EntityExpr> exprs)
returns the values that match the exprs in list
|
static <T extends GenericValue> |
EntityUtil.orderBy(List<T> values,
List<String> orderBy)
returns the values in the order specified
|
| Modifier and Type | Method and Description |
|---|---|
GenericValue |
GenericValue.create() |
GenericValue |
MemoryHelper.create(GenericPK primaryKey) |
GenericValue |
LockedDatabaseGenericDelegator.create(GenericPK primaryKey) |
GenericValue |
DelegatorInterface.create(GenericPK primaryKey) |
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,
boolean doCacheClear) |
GenericValue |
DelegatorInterface.create(GenericPK primaryKey,
boolean doCacheClear) |
GenericValue |
GenericDelegator.create(GenericPK primaryKey,
boolean doCacheClear)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
GenericValue |
MemoryHelper.create(GenericValue value) |
GenericValue |
LockedDatabaseGenericDelegator.create(GenericValue value) |
GenericValue |
DelegatorInterface.create(GenericValue value) |
GenericValue |
GenericHelper.create(GenericValue value)
Creates a Entity in the form of a GenericValue and write it to the database
|
GenericValue |
GenericHelperDAO.create(GenericValue value)
Creates a Entity in the form of a GenericValue and write it to the database
|
GenericValue |
GenericDelegator.create(GenericValue value)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
GenericValue |
LockedDatabaseGenericDelegator.create(GenericValue value,
boolean doCacheClear) |
GenericValue |
DelegatorInterface.create(GenericValue value,
boolean doCacheClear) |
GenericValue |
GenericDelegator.create(GenericValue value,
boolean doCacheClear)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
GenericValue |
LockedDatabaseGenericDelegator.create(String entityName,
Map<String,?> fields) |
GenericValue |
DelegatorInterface.create(String entityName,
Map<String,?> fields) |
GenericValue |
GenericDelegator.create(String entityName,
Map<String,?> fields)
Creates a Entity in the form of a GenericValue and write it to the database.
|
GenericValue |
EntityListIterator.currentGenericValue()
NOTE: Calling this method does return the current value, but so does calling next() or previous(), so calling one of those AND this method will cause the value to be created twice
|
GenericValue |
MemoryHelper.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
DelegatorInterface.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
GenericHelper.findByPrimaryKey(GenericPK primaryKey)
Find a Generic Entity by its Primary Key
|
GenericValue |
GenericHelperDAO.findByPrimaryKey(GenericPK primaryKey)
Find a Generic Entity by its Primary Key
|
GenericValue |
GenericDelegator.findByPrimaryKey(GenericPK primaryKey)
Find a Generic Entity by its Primary Key.
|
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKey(String entityName,
Map<String,?> fields) |
GenericValue |
DelegatorInterface.findByPrimaryKey(String entityName,
Map<String,?> fields) |
GenericValue |
GenericDelegator.findByPrimaryKey(String entityName,
Map<String,?> fields)
Find a Generic Entity by its Primary Key.
|
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
DelegatorInterface.findByPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
GenericDelegator.findByPrimaryKeyCache(GenericPK primaryKey)
Find a cached Generic Entity by its Primary Key.
|
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKeyCache(String entityName,
Map<String,?> fields) |
GenericValue |
DelegatorInterface.findByPrimaryKeyCache(String entityName,
Map<String,?> fields) |
GenericValue |
GenericDelegator.findByPrimaryKeyCache(String entityName,
Map<String,?> fields)
Find a CACHED Generic Entity by its Primary Key.
|
GenericValue |
MemoryHelper.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys) |
GenericValue |
LockedDatabaseGenericDelegator.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 |
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 |
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).
|
static GenericValue |
EntityUtil.getFirst(List<? extends GenericValue> values) |
GenericValue |
LockedDatabaseGenericDelegator.getFromPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
DelegatorInterface.getFromPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
GenericDelegator.getFromPrimaryKeyCache(GenericPK primaryKey) |
static GenericValue |
EntityUtil.getOnly(List<? extends GenericValue> values) |
GenericValue |
GenericValue.getRelatedOne(String relationName)
Get the named Related Entity for the GenericValue from the persistent store
|
GenericValue |
LockedDatabaseGenericDelegator.getRelatedOne(String relationName,
GenericValue value) |
GenericValue |
DelegatorInterface.getRelatedOne(String relationName,
GenericValue value) |
GenericValue |
GenericDelegator.getRelatedOne(String relationName,
GenericValue value)
Get related entity where relation is of type one, uses findByPrimaryKey.
|
GenericValue |
GenericValue.getRelatedOneCache(String relationName)
Get the named Related Entity for the GenericValue from the persistent
store, looking first in the global generic cache (for the moment this isn't true, is same as EmbeddedCache variant)
|
GenericValue |
LockedDatabaseGenericDelegator.getRelatedOneCache(String relationName,
GenericValue value) |
GenericValue |
DelegatorInterface.getRelatedOneCache(String relationName,
GenericValue value) |
GenericValue |
GenericDelegator.getRelatedOneCache(String relationName,
GenericValue value)
Get related entity where relation is of type one, uses findByPrimaryKey,
checking first in the cache to see if the desired value is there.
|
GenericValue |
GenericValue.getRelatedOneEmbeddedCache(String relationName)
Get the named Related Entity for the GenericValue from the persistent
store, looking first in a cache associated with this entity which is
destroyed with this ValueObject when no longer used.
|
GenericValue |
LockedDatabaseGenericDelegator.makeValue(Element element) |
GenericValue |
GenericDelegator.makeValue(Element element) |
GenericValue |
LockedDatabaseGenericDelegator.makeValue(String entityName,
Map<String,?> fields) |
GenericValue |
DelegatorInterface.makeValue(String entityName,
Map<String,?> fields) |
GenericValue |
GenericDelegator.makeValue(String entityName,
Map<String,?> fields)
Creates a Entity in the form of a GenericValue without persisting it.
|
GenericValue |
EntityListIterator.next()
Moves the cursor to the next position and returns the GenericValue object for that position; if there is no next, returns null
|
GenericValue |
EntityListIterator.previous()
Moves the cursor to the previous position and returns the GenericValue object for that position; if there is no previous, returns null
|
| Modifier and Type | Method and Description |
|---|---|
List<GenericValue> |
LockedDatabaseGenericDelegator.findAll(String entityName) |
List<GenericValue> |
DelegatorInterface.findAll(String entityName) |
List<GenericValue> |
GenericDelegator.findAll(String entityName)
Finds all Generic entities of the given type.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findAll(String entityName,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findAll(String entityName,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findAll(String entityName,
List<String> orderBy)
Finds all Generic entities of the given type, optionally sorted.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys) |
List<GenericValue> |
DelegatorInterface.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys) |
List<GenericValue> |
GenericDelegator.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys)
Find a number of Generic Value objects by their Primary Keys, all at once.
|
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> |
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> |
LockedDatabaseGenericDelegator.findAllByPrimaryKeysCache(Collection<? extends GenericPK> primaryKeys) |
List<GenericValue> |
DelegatorInterface.findAllByPrimaryKeysCache(Collection<? extends GenericPK> primaryKeys) |
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.findAllCache(String entityName) |
List<GenericValue> |
DelegatorInterface.findAllCache(String entityName) |
List<GenericValue> |
GenericDelegator.findAllCache(String entityName)
Finds all Generic entities of the given type, looking first in the cache.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findAllCache(String entityName,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findAllCache(String entityName,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findAllCache(String entityName,
List<String> orderBy)
Finds all Generic entities, looking first in the cache; uses orderBy for
lookup, but only keys results on the entityName and fields.
|
List<GenericValue> |
MemoryHelper.findByAnd(ModelEntity modelEntity,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
MemoryHelper.findByAnd(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAnd(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findByAnd(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
GenericHelper.findByAnd(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy)
Finds Generic Entity records by all of the specified fields (ie: combined using AND)
|
List<GenericValue> |
GenericHelperDAO.findByAnd(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy)
Finds Generic Entity records by all of the specified fields (ie: combined using AND)
|
List<GenericValue> |
GenericDelegator.findByAnd(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy)
Finds any entities matching the given criteria.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAnd(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
DelegatorInterface.findByAnd(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
GenericDelegator.findByAnd(String entityName,
List<? extends EntityCondition> expressions)
Finds Generic Entity records by all of the specified expressions (ie: combined using AND).
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAnd(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findByAnd(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByAnd(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy)
Finds Generic Entity records by all of the specified expressions (i.e.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAnd(String entityName,
Map<String,?> fields) |
List<GenericValue> |
DelegatorInterface.findByAnd(String entityName,
Map<String,?> fields) |
List<GenericValue> |
GenericDelegator.findByAnd(String entityName,
Map<String,?> fields)
Finds Generic Entity records by all of the specified fields (ie: combined using AND).
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAnd(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findByAnd(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByAnd(String entityName,
Map<String,?> fields,
List<String> orderBy)
Finds Generic Entity records by all of the specified fields (i.e.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAndCache(String entityName,
Map<String,?> fields) |
List<GenericValue> |
DelegatorInterface.findByAndCache(String entityName,
Map<String,?> fields) |
List<GenericValue> |
GenericDelegator.findByAndCache(String entityName,
Map<String,?> fields)
Finds Generic Entity records by all of the specified fields (i.e.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByAndCache(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findByAndCache(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByAndCache(String entityName,
Map<String,?> fields,
List<String> orderBy)
Finds Generic Entity records by all of the specified fields (i.e.
|
List<GenericValue> |
MemoryHelper.findByCondition(ModelEntity modelEntity,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
List<GenericValue> |
GenericHelper.findByCondition(ModelEntity modelEntity,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy)
Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc
for more details.
|
List<GenericValue> |
GenericHelperDAO.findByCondition(ModelEntity modelEntity,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy)
Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc for more details.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy)
Finds any GenericValues matching the given conditions.
|
List<GenericValue> |
MemoryHelper.findByLike(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByLike(String entityName,
Map<String,?> fields) |
List<GenericValue> |
DelegatorInterface.findByLike(String entityName,
Map<String,?> fields) |
List<GenericValue> |
GenericDelegator.findByLike(String entityName,
Map<String,?> fields) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByLike(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findByLike(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByLike(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
MemoryHelper.findByMultiRelation(GenericValue value,
ModelRelation modelRelationOne,
ModelEntity modelEntityOne,
ModelRelation modelRelationTwo,
ModelEntity modelEntityTwo,
List<String> orderBy) |
List<GenericValue> |
GenericHelper.findByMultiRelation(GenericValue value,
ModelRelation modelRelationOne,
ModelEntity modelEntityOne,
ModelRelation modelRelationTwo,
ModelEntity modelEntityTwo,
List<String> orderBy) |
List<GenericValue> |
GenericHelperDAO.findByMultiRelation(GenericValue value,
ModelRelation modelRelationOne,
ModelEntity modelEntityOne,
ModelRelation modelRelationTwo,
ModelEntity modelEntityTwo,
List<String> orderBy) |
List<GenericValue> |
MemoryHelper.findByOr(ModelEntity modelEntity,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
MemoryHelper.findByOr(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
GenericHelper.findByOr(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy)
Finds Generic Entity records by all of the specified fields (ie: combined using OR)
|
List<GenericValue> |
GenericHelperDAO.findByOr(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy)
Finds Generic Entity records by all of the specified fields (ie: combined using OR)
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByOr(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
DelegatorInterface.findByOr(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
GenericDelegator.findByOr(String entityName,
List<? extends EntityCondition> expressions)
Finds Generic Entity records by all of the specified expressions (i.e.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByOr(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findByOr(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByOr(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy)
Finds Generic Entity records by all of the specified expressions (i.e.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByOr(String entityName,
Map<String,?> fields) |
List<GenericValue> |
DelegatorInterface.findByOr(String entityName,
Map<String,?> fields) |
List<GenericValue> |
GenericDelegator.findByOr(String entityName,
Map<String,?> fields)
Finds Generic Entity records by any of the specified fields (i.e.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.findByOr(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.findByOr(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByOr(String entityName,
Map<String,?> fields,
List<String> orderBy)
Finds Generic Entity records by all of the specified fields (i.e.
|
UtilCache<String,List<GenericValue>> |
LockedDatabaseGenericDelegator.getAllCache() |
UtilCache<String,List<GenericValue>> |
DelegatorInterface.getAllCache() |
UtilCache<String,List<GenericValue>> |
GenericDelegator.getAllCache() |
UtilCache<GenericPK,List<GenericValue>> |
LockedDatabaseGenericDelegator.getAndCache() |
UtilCache<GenericPK,List<GenericValue>> |
DelegatorInterface.getAndCache() |
UtilCache<GenericPK,List<GenericValue>> |
GenericDelegator.getAndCache() |
List<GenericValue> |
EntityListIterator.getCompleteList() |
static List<GenericValue> |
EntityTypeUtil.getDescendantTypes(GenericValue typeValue) |
List<GenericValue> |
LockedDatabaseGenericDelegator.getFromAllCache(String entityName) |
List<GenericValue> |
DelegatorInterface.getFromAllCache(String entityName) |
List<GenericValue> |
GenericDelegator.getFromAllCache(String entityName) |
List<GenericValue> |
LockedDatabaseGenericDelegator.getFromAndCache(ModelEntity entity,
Map<String,?> fields) |
List<GenericValue> |
DelegatorInterface.getFromAndCache(ModelEntity entity,
Map<String,?> fields) |
List<GenericValue> |
GenericDelegator.getFromAndCache(ModelEntity entity,
Map<String,?> fields) |
List<GenericValue> |
LockedDatabaseGenericDelegator.getFromAndCache(String entityName,
Map<String,?> fields) |
List<GenericValue> |
DelegatorInterface.getFromAndCache(String entityName,
Map<String,?> fields) |
List<GenericValue> |
GenericDelegator.getFromAndCache(String entityName,
Map<String,?> fields) |
List<GenericValue> |
LockedDatabaseGenericDelegator.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo) |
List<GenericValue> |
DelegatorInterface.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo) |
List<GenericValue> |
GenericDelegator.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo)
Get the named Related Entity for the GenericValue from the persistent
store across another Relation.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent
store across another Relation.
|
List<GenericValue> |
EntityListIterator.getPartialList(int start,
int number)
Gets a partial list of results starting at start and containing at most number elements.
|
UtilCache<GenericEntity,GenericValue> |
LockedDatabaseGenericDelegator.getPrimaryKeyCache() |
UtilCache<GenericEntity,GenericValue> |
DelegatorInterface.getPrimaryKeyCache() |
UtilCache<GenericEntity,GenericValue> |
GenericDelegator.getPrimaryKeyCache() |
List<GenericValue> |
GenericValue.getRelated(String relationName)
Get the named Related Entity for the GenericValue from the persistent store
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelated(String relationName,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelated(String relationName,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelated(String relationName,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store
|
static List<GenericValue> |
EntityUtil.getRelated(String relationName,
List<? extends GenericValue> values) |
List<GenericValue> |
GenericValue.getRelated(String relationName,
Map<String,?> byAndFields,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent store
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelated(String relationName,
Map<String,?> byAndFields,
List<String> orderBy,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelated(String relationName,
Map<String,?> byAndFields,
List<String> orderBy,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelated(String relationName,
Map<String,?> byAndFields,
List<String> orderBy,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store.
|
List<GenericValue> |
GenericValue.getRelatedByAnd(String relationName,
Map<String,?> fields)
Get the named Related Entity for the GenericValue from the persistent store and filter it
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelatedByAnd(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelatedByAnd(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelatedByAnd(String relationName,
Map<String,?> byAndFields,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store.
|
static List<GenericValue> |
EntityUtil.getRelatedByAnd(String relationName,
Map<String,?> fields,
List<? extends GenericValue> values) |
List<GenericValue> |
GenericValue.getRelatedByAndCache(String relationName,
Map<String,?> fields)
Get the named Related Entity for the GenericValue from the persistent
store and filter it, looking first in the global generic cache (for the moment this isn't true, is same as EmbeddedCache variant)
|
List<GenericValue> |
GenericValue.getRelatedByAndEmbeddedCache(String relationName,
Map<String,?> fields)
Get the named Related Entity for the GenericValue from the persistent
store and filter it, looking first in a cache associated with this entity which is
destroyed with this ValueObject when no longer used.
|
List<GenericValue> |
GenericValue.getRelatedCache(String relationName)
Get the named Related Entity for the GenericValue from the persistent
store, looking first in the global generic cache (for the moment this isn't true, is same as EmbeddedCache variant)
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelatedCache(String relationName,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelatedCache(String relationName,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelatedCache(String relationName,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent
store, checking first in the cache to see if the desired value is there.
|
static List<GenericValue> |
EntityUtil.getRelatedCache(String relationName,
List<? extends GenericValue> values) |
List<GenericValue> |
GenericValue.getRelatedCache(String relationName,
Map<String,?> byAndFields,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent
store, looking first in the global generic cache (for the moment this isn't true, is same as EmbeddedCache variant)
|
List<GenericValue> |
GenericValue.getRelatedEmbeddedCache(String relationName)
Get the named Related Entity for the GenericValue from the persistent
store, looking first in a cache associated with this entity which is
destroyed with this ValueObject when no longer used.
|
List<GenericValue> |
GenericValue.getRelatedEmbeddedCache(String relationName,
Map<String,?> byAndFields,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent
store, looking first in a cache associated with this entity which is
destroyed with this ValueObject when no longer used.
|
List<GenericValue> |
GenericValue.getRelatedMulti(String relationNameOne,
String relationNameTwo)
Get the named Related Entity for the GenericValue from the persistent store across another Relation.
|
List<GenericValue> |
GenericValue.getRelatedMulti(String relationNameOne,
String relationNameTwo,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent store across another Relation.
|
List<GenericValue> |
GenericValue.getRelatedOrderBy(String relationName,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent store and order it
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelatedOrderBy(String relationName,
List<String> orderBy,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelatedOrderBy(String relationName,
List<String> orderBy,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelatedOrderBy(String relationName,
List<String> orderBy,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store.
|
List<GenericValue> |
GenericValue.getRelatedOrderByCache(String relationName,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent
store and order it, looking first in the global generic cache (for the moment this isn't true, is same as EmbeddedCache variant)
|
List<GenericValue> |
GenericValue.getRelatedOrderByEmbeddedCache(String relationName,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent
store and order it, looking first in a cache associated with this entity which is
destroyed with this ValueObject when no longer used.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.makeValues(Document document) |
List<GenericValue> |
GenericDelegator.makeValues(Document document)
Parses the given XML document for entities.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.readXmlDocument(URL url) |
List<GenericValue> |
GenericDelegator.readXmlDocument(URL url)
Parses the given XML file for entities.
|
List<GenericValue> |
GenericDAO.selectByAnd(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
GenericDAO.selectByCondition(ModelEntity modelEntity,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy)
Finds GenericValues by the conditions specified in the EntityCondition object, see the EntityCondition javadoc
for more details.
|
List<GenericValue> |
GenericDAO.selectByCondition(ModelEntity modelEntity,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions)
Finds GenericValues by the conditions specified in the EntityCondition object, see the EntityCondition javadoc
for more details.
|
List<GenericValue> |
GenericDAO.selectByMultiRelation(GenericValue value,
ModelRelation modelRelationOne,
ModelEntity modelEntityOne,
ModelRelation modelRelationTwo,
ModelEntity modelEntityTwo,
List<String> orderBy) |
List<GenericValue> |
GenericDAO.selectByOr(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
MemoryHelper.transform(ModelEntity modelEntity,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
List<GenericValue> |
GenericHelper.transform(ModelEntity modelEntity,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation)
Applies the given transformation to any entities matching the given condition.
|
List<GenericValue> |
GenericDAO.transform(ModelEntity modelEntity,
EntityCondition entityCondition,
List<String> orderBy,
String lockFieldName,
Transformation transformation)
Applies the given transformation to any entities matching the given
condition, by performing a SELECT followed by an UPDATE.
|
List<GenericValue> |
GenericHelperDAO.transform(ModelEntity modelEntity,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
List<GenericValue> |
LockedDatabaseGenericDelegator.transform(String entityName,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
List<GenericValue> |
DelegatorInterface.transform(String entityName,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation)
Applies the given transformation to any entities matching the given condition.
|
List<GenericValue> |
GenericDelegator.transform(String entityName,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityListIterator.add(GenericValue obj) |
void |
LockedDatabaseGenericDelegator.clearCacheLine(GenericValue value) |
void |
DelegatorInterface.clearCacheLine(GenericValue value) |
void |
GenericDelegator.clearCacheLine(GenericValue value)
Remove a CACHED GenericValue from as many caches as it can.
|
void |
LockedDatabaseGenericDelegator.clearCacheLine(GenericValue value,
boolean distribute) |
void |
DelegatorInterface.clearCacheLine(GenericValue value,
boolean distribute) |
void |
GenericDelegator.clearCacheLine(GenericValue value,
boolean distribute) |
GenericValue |
MemoryHelper.create(GenericValue value) |
GenericValue |
LockedDatabaseGenericDelegator.create(GenericValue value) |
GenericValue |
DelegatorInterface.create(GenericValue value) |
GenericValue |
GenericHelper.create(GenericValue value)
Creates a Entity in the form of a GenericValue and write it to the database
|
GenericValue |
GenericHelperDAO.create(GenericValue value)
Creates a Entity in the form of a GenericValue and write it to the database
|
GenericValue |
GenericDelegator.create(GenericValue value)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
GenericValue |
LockedDatabaseGenericDelegator.create(GenericValue value,
boolean doCacheClear) |
GenericValue |
DelegatorInterface.create(GenericValue value,
boolean doCacheClear) |
GenericValue |
GenericDelegator.create(GenericValue value,
boolean doCacheClear)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
void |
DistributedCacheClear.distributedClearCacheLine(GenericValue value) |
List<GenericValue> |
MemoryHelper.findByMultiRelation(GenericValue value,
ModelRelation modelRelationOne,
ModelEntity modelEntityOne,
ModelRelation modelRelationTwo,
ModelEntity modelEntityTwo,
List<String> orderBy) |
List<GenericValue> |
GenericHelper.findByMultiRelation(GenericValue value,
ModelRelation modelRelationOne,
ModelEntity modelEntityOne,
ModelRelation modelRelationTwo,
ModelEntity modelEntityTwo,
List<String> orderBy) |
List<GenericValue> |
GenericHelperDAO.findByMultiRelation(GenericValue value,
ModelRelation modelRelationOne,
ModelEntity modelEntityOne,
ModelRelation modelRelationTwo,
ModelEntity modelEntityTwo,
List<String> orderBy) |
static List<GenericValue> |
EntityTypeUtil.getDescendantTypes(GenericValue typeValue) |
List<GenericValue> |
LockedDatabaseGenericDelegator.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo) |
List<GenericValue> |
DelegatorInterface.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo) |
List<GenericValue> |
GenericDelegator.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo)
Get the named Related Entity for the GenericValue from the persistent
store across another Relation.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo,
List<String> orderBy)
Get the named Related Entity for the GenericValue from the persistent
store across another Relation.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelated(String relationName,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelated(String relationName,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelated(String relationName,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelated(String relationName,
Map<String,?> byAndFields,
List<String> orderBy,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelated(String relationName,
Map<String,?> byAndFields,
List<String> orderBy,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelated(String relationName,
Map<String,?> byAndFields,
List<String> orderBy,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelatedByAnd(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelatedByAnd(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelatedByAnd(String relationName,
Map<String,?> byAndFields,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelatedCache(String relationName,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelatedCache(String relationName,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelatedCache(String relationName,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent
store, checking first in the cache to see if the desired value is there.
|
GenericPK |
LockedDatabaseGenericDelegator.getRelatedDummyPK(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
GenericPK |
DelegatorInterface.getRelatedDummyPK(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
GenericPK |
GenericDelegator.getRelatedDummyPK(String relationName,
Map<String,?> byAndFields,
GenericValue value)
Get a dummy primary key for the named Related Entity for the GenericValue.
|
GenericValue |
LockedDatabaseGenericDelegator.getRelatedOne(String relationName,
GenericValue value) |
GenericValue |
DelegatorInterface.getRelatedOne(String relationName,
GenericValue value) |
GenericValue |
GenericDelegator.getRelatedOne(String relationName,
GenericValue value)
Get related entity where relation is of type one, uses findByPrimaryKey.
|
GenericValue |
LockedDatabaseGenericDelegator.getRelatedOneCache(String relationName,
GenericValue value) |
GenericValue |
DelegatorInterface.getRelatedOneCache(String relationName,
GenericValue value) |
GenericValue |
GenericDelegator.getRelatedOneCache(String relationName,
GenericValue value)
Get related entity where relation is of type one, uses findByPrimaryKey,
checking first in the cache to see if the desired value is there.
|
List<GenericValue> |
LockedDatabaseGenericDelegator.getRelatedOrderBy(String relationName,
List<String> orderBy,
GenericValue value) |
List<GenericValue> |
DelegatorInterface.getRelatedOrderBy(String relationName,
List<String> orderBy,
GenericValue value) |
List<GenericValue> |
GenericDelegator.getRelatedOrderBy(String relationName,
List<String> orderBy,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store.
|
static boolean |
EntityTypeUtil.isType(Collection<GenericValue> thisCollection,
String typeRelation,
GenericValue targetType) |
static boolean |
EntityTypeUtil.isType(GenericValue thisType,
GenericValue targetType)
Description of the Method
|
void |
LockedDatabaseGenericDelegator.putInPrimaryKeyCache(GenericPK primaryKey,
GenericValue value) |
void |
DelegatorInterface.putInPrimaryKeyCache(GenericPK primaryKey,
GenericValue value) |
void |
GenericDelegator.putInPrimaryKeyCache(GenericPK primaryKey,
GenericValue value) |
void |
LockedDatabaseGenericDelegator.refresh(GenericValue value) |
void |
DelegatorInterface.refresh(GenericValue value) |
void |
GenericDelegator.refresh(GenericValue value)
Refresh the Entity for the GenericValue from the persistent store.
|
void |
LockedDatabaseGenericDelegator.refresh(GenericValue value,
boolean doCacheClear) |
void |
DelegatorInterface.refresh(GenericValue value,
boolean doCacheClear) |
void |
GenericDelegator.refresh(GenericValue value,
boolean doCacheClear)
Refresh the Entity for the GenericValue from the persistent store.
|
int |
LockedDatabaseGenericDelegator.removeRelated(String relationName,
GenericValue value) |
int |
DelegatorInterface.removeRelated(String relationName,
GenericValue value) |
int |
GenericDelegator.removeRelated(String relationName,
GenericValue value)
Remove the named Related Entity for the GenericValue from the persistent store.
|
int |
LockedDatabaseGenericDelegator.removeRelated(String relationName,
GenericValue value,
boolean doCacheClear) |
int |
DelegatorInterface.removeRelated(String relationName,
GenericValue value,
boolean doCacheClear) |
int |
GenericDelegator.removeRelated(String relationName,
GenericValue value,
boolean doCacheClear)
Remove the named Related Entity for the GenericValue from the persistent store.
|
int |
LockedDatabaseGenericDelegator.removeValue(GenericValue value) |
int |
DelegatorInterface.removeValue(GenericValue value) |
int |
GenericDelegator.removeValue(GenericValue value)
Remove a Generic Value from the database.
|
int |
LockedDatabaseGenericDelegator.removeValue(GenericValue value,
boolean doCacheClear) |
int |
DelegatorInterface.removeValue(GenericValue value,
boolean doCacheClear) |
int |
GenericDelegator.removeValue(GenericValue value,
boolean doCacheClear)
Remove a Generic Value from the database.
|
List<GenericValue> |
GenericDAO.selectByMultiRelation(GenericValue value,
ModelRelation modelRelationOne,
ModelEntity modelEntityOne,
ModelRelation modelRelationTwo,
ModelEntity modelEntityTwo,
List<String> orderBy) |
void |
EntityListIterator.set(GenericValue obj) |
int |
MemoryHelper.store(GenericValue value) |
int |
LockedDatabaseGenericDelegator.store(GenericValue value) |
int |
DelegatorInterface.store(GenericValue value) |
int |
GenericHelper.store(GenericValue value)
Store the Entity from the GenericValue to the persistent store
|
int |
GenericHelperDAO.store(GenericValue value)
Store the Entity from the GenericValue to the persistent store
|
int |
GenericDelegator.store(GenericValue value)
Store the Entity from the GenericValue to the persistent store.
|
int |
LockedDatabaseGenericDelegator.store(GenericValue value,
boolean doCacheClear) |
int |
DelegatorInterface.store(GenericValue value,
boolean doCacheClear) |
int |
GenericDelegator.store(GenericValue value,
boolean doCacheClear)
Store the Entity from the GenericValue to the persistent store.
|
void |
Transformation.transform(GenericValue entity)
Transforms the given entity in place.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
GenericEntity.addToXmlDocument(Collection<GenericValue> values,
Document document) |
void |
LockedDatabaseGenericDelegator.clearAllCacheLinesByValue(Collection<? extends GenericValue> values) |
void |
DelegatorInterface.clearAllCacheLinesByValue(Collection<? extends GenericValue> values) |
void |
GenericDelegator.clearAllCacheLinesByValue(Collection<? extends GenericValue> values) |
static GenericValue |
EntityUtil.getFirst(List<? extends GenericValue> values) |
static GenericValue |
EntityUtil.getOnly(List<? extends GenericValue> values) |
static List<GenericValue> |
EntityUtil.getRelated(String relationName,
List<? extends GenericValue> values) |
static List<GenericValue> |
EntityUtil.getRelatedByAnd(String relationName,
Map<String,?> fields,
List<? extends GenericValue> values) |
static List<GenericValue> |
EntityUtil.getRelatedCache(String relationName,
List<? extends GenericValue> values) |
static boolean |
EntityTypeUtil.isType(Collection<GenericValue> thisCollection,
String typeRelation,
GenericValue targetType) |
static Document |
GenericEntity.makeXmlDocument(Collection<GenericValue> values) |
void |
LockedDatabaseGenericDelegator.putAllInPrimaryKeyCache(List<? extends GenericValue> values) |
void |
DelegatorInterface.putAllInPrimaryKeyCache(List<? extends GenericValue> values) |
void |
GenericDelegator.putAllInPrimaryKeyCache(List<? extends GenericValue> values) |
void |
LockedDatabaseGenericDelegator.putInAllCache(ModelEntity entity,
List<? extends GenericValue> values) |
void |
DelegatorInterface.putInAllCache(ModelEntity entity,
List<? extends GenericValue> values) |
void |
GenericDelegator.putInAllCache(ModelEntity entity,
List<? extends GenericValue> values) |
void |
LockedDatabaseGenericDelegator.putInAllCache(String entityName,
List<? extends GenericValue> values) |
void |
DelegatorInterface.putInAllCache(String entityName,
List<? extends GenericValue> values) |
void |
GenericDelegator.putInAllCache(String entityName,
List<? extends GenericValue> values) |
void |
LockedDatabaseGenericDelegator.putInAndCache(ModelEntity entity,
Map<String,?> fields,
List<? extends GenericValue> values) |
void |
DelegatorInterface.putInAndCache(ModelEntity entity,
Map<String,?> fields,
List<? extends GenericValue> values) |
void |
GenericDelegator.putInAndCache(ModelEntity entity,
Map<String,?> fields,
List<? extends GenericValue> values) |
void |
LockedDatabaseGenericDelegator.putInAndCache(String entityName,
Map<String,?> fields,
List<? extends GenericValue> values) |
void |
DelegatorInterface.putInAndCache(String entityName,
Map<String,?> fields,
List<? extends GenericValue> values) |
void |
GenericDelegator.putInAndCache(String entityName,
Map<String,?> fields,
List<? extends GenericValue> values) |
int |
MemoryHelper.storeAll(List<? extends GenericValue> values) |
int |
LockedDatabaseGenericDelegator.storeAll(List<? extends GenericValue> values) |
int |
DelegatorInterface.storeAll(List<? extends GenericValue> values) |
int |
GenericHelper.storeAll(List<? extends GenericValue> values)
Store the Entities from the List GenericValue instances to the persistent store.
|
int |
GenericHelperDAO.storeAll(List<? extends GenericValue> values)
Store the Entities from the List GenericValue instances to the persistent store.
|
int |
GenericDelegator.storeAll(List<? extends GenericValue> values)
Store the Entities from the List GenericValue instances to the persistent store.
|
int |
LockedDatabaseGenericDelegator.storeAll(List<? extends GenericValue> values,
boolean doCacheClear) |
int |
DelegatorInterface.storeAll(List<? extends GenericValue> values,
boolean doCacheClear) |
int |
GenericDelegator.storeAll(List<? extends GenericValue> values,
boolean doCacheClear)
Store the Entities from the List GenericValue instances to the persistent store.
|
| Constructor and Description |
|---|
GenericValue(GenericValue value)
Creates new GenericValue from existing GenericValue
|
| Modifier and Type | Method and Description |
|---|---|
int |
OFBizDateComparator.compare(GenericValue o1,
GenericValue o2) |
int |
OFBizFieldComparator.compare(GenericValue o1,
GenericValue o2) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SqlJdbcUtil.setValuesWhereClause(SQLProcessor sqlP,
List<ModelField> list,
GenericValue dummyValue,
ModelFieldTypeReader modelFieldTypeReader)
The elements (ModelFields) of the list are bound to an SQL statement
(SQL-Processor), but values must not be null.
|
Copyright © 2018 Atlassian. All rights reserved.