| Modifier and Type | Class and Description |
|---|---|
class |
EntityLockedException
EntityLockedException
|
class |
GenericCreateException
GenericCreateException
|
class |
GenericDataSourceException
GenericDataSourceException
|
class |
GenericDuplicateKeyException
GenericDuplicateKeyException.java
|
class |
GenericEntityConfException
GenericConfigException
|
class |
GenericEntityNotFoundException
GenericEntityNotFoundException
|
class |
GenericFindException
GenericFindException
|
class |
GenericModelException
GenericModelException
|
class |
GenericNoSuchEntityException
GenericNoSuchEntityException.java
|
class |
GenericNotImplementedException
GenericNotImplementedException
|
class |
GenericRemoveException
GenericRemoveException
|
class |
GenericResultSetClosedException
GenericResultSetClosedException
|
class |
GenericStoreException
GenericStoreException
|
class |
GenericTransactionException
GenericTransactionException
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EntityListIterator.absolute(int rowNum)
performs the same function as the ResultSet.absolute method;
if rowNum is positive, goes to that position relative to the beginning of the list;
if rowNum is negative, goes to that position relative to the end of the list;
a rowNum of 1 is the same as first(); a rowNum of -1 is the same as last()
|
void |
EntityListIterator.afterLast()
Sets the cursor position to just after the last result so that previous() will return the last result
|
void |
EntityListIterator.beforeFirst()
Sets the cursor position to just before the first result so that next() will return the first result
|
void |
MemoryHelper.checkDataSource(Map<String,? extends ModelEntity> modelEntities,
Collection<String> messages,
boolean addMissing) |
void |
GenericHelperDAO.checkDataSource(Map<String,? extends ModelEntity> modelEntities,
Collection<String> messages,
boolean addMissing)
Check the datasource to make sure the entity definitions are correct, optionally adding missing entities or fields on the server
|
void |
GenericHelper.checkDataSource(Map<String,? extends ModelEntity> modelEntities,
Collection<String> messages,
boolean addMissing)
Check the datasource to make sure the entity definitions are correct, optionally adding missing entities or
fields on the server
|
void |
EntityListIterator.close() |
int |
MemoryHelper.count(ModelEntity modelEntity,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions) |
int |
GenericDAO.count(ModelEntity modelEntity,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions) |
int |
GenericHelperDAO.count(ModelEntity modelEntity,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions) |
int |
GenericHelper.count(ModelEntity modelEntity,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions)
Returns the count of the results that matches the specified condition
|
int |
GenericDelegator.countAll(String entityName)
Returns the row count of the specified entity.
|
int |
DelegatorInterface.countAll(String entityName) |
int |
GenericDelegator.countByAnd(String entityName,
String fieldName,
List<? extends EntityCondition> expressions,
EntityFindOptions findOptions)
Returns the count of the results that match all of the specified expressions (i.e.
|
int |
DelegatorInterface.countByAnd(String entityName,
String fieldName,
List<? extends EntityCondition> expressions,
EntityFindOptions findOptions) |
int |
GenericDelegator.countByCondition(String entityName,
String fieldName,
EntityCondition entityCondition,
EntityFindOptions findOptions)
Returns the count of the results that match any of the specified expressions (ie: combined using OR).
|
int |
DelegatorInterface.countByCondition(String entityName,
String fieldName,
EntityCondition condition,
EntityFindOptions findOptions) |
int |
GenericDelegator.countByOr(String entityName,
String fieldName,
List<? extends EntityCondition> expressions,
EntityFindOptions findOptions)
Returns the count of the results that match any of the specified
expressions (i.e.
|
int |
DelegatorInterface.countByOr(String entityName,
String fieldName,
List<? extends EntityCondition> expressions,
EntityFindOptions findOptions) |
GenericValue |
GenericValue.create() |
GenericValue |
MemoryHelper.create(GenericPK primaryKey) |
GenericValue |
LockedDatabaseGenericDelegator.create(GenericPK primaryKey) |
GenericValue |
GenericDelegator.create(GenericPK primaryKey)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
GenericValue |
DelegatorInterface.create(GenericPK primaryKey) |
GenericValue |
LockedDatabaseGenericDelegator.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 |
DelegatorInterface.create(GenericPK primaryKey,
boolean doCacheClear) |
GenericValue |
MemoryHelper.create(GenericValue value) |
GenericValue |
LockedDatabaseGenericDelegator.create(GenericValue value) |
GenericValue |
GenericDelegator.create(GenericValue value)
Creates a Entity in the form of a GenericValue and write it to the datasource.
|
GenericValue |
GenericHelperDAO.create(GenericValue value)
Creates a Entity in the form of a GenericValue and write it to the database
|
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 |
LockedDatabaseGenericDelegator.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 |
DelegatorInterface.create(GenericValue value,
boolean doCacheClear) |
GenericValue |
LockedDatabaseGenericDelegator.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 |
DelegatorInterface.create(String entityName,
Map<String,?> fields) |
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
|
int |
EntityListIterator.currentIndex() |
int |
GenericDAO.delete(GenericEntity entity) |
int |
GenericDAO.deleteAll(List<? extends GenericEntity> dummyPKs)
Called dummyPKs because they can be invalid PKs, doing a deleteByAnd instead of a normal delete
|
int |
GenericDAO.deleteByAnd(ModelEntity modelEntity,
Map<String,?> fields) |
int |
GenericDAO.deleteByCondition(ModelEntity modelEntity,
EntityCondition whereCondition) |
protected void |
LockedDatabaseGenericDelegator.evalEcaRules(String event,
String currentOperation,
GenericEntity value,
Map<?,?> eventMap,
boolean noEventMapFound,
boolean isError) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findAll(String entityName) |
List<GenericValue> |
GenericDelegator.findAll(String entityName)
Finds all Generic entities of the given type.
|
List<GenericValue> |
DelegatorInterface.findAll(String entityName) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findAll(String entityName,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys) |
List<GenericValue> |
MemoryHelper.findAllByPrimaryKeys(List<? 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> |
GenericHelper.findAllByPrimaryKeys(List<? extends GenericPK> primaryKeys)
Find a number of Generic Value objects by their Primary Keys, all at once
|
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findAllByPrimaryKeysCache(Collection<? extends GenericPK> primaryKeys) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findAllCache(String entityName) |
List<GenericValue> |
GenericDelegator.findAllCache(String entityName)
Finds all Generic entities of the given type, looking first in the cache.
|
List<GenericValue> |
DelegatorInterface.findAllCache(String entityName) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findAllCache(String entityName,
List<String> orderBy) |
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> |
GenericDelegator.findByAnd(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy)
Finds any entities matching the given criteria.
|
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> |
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> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByAnd(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByAnd(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByAnd(String entityName,
Map<String,?> fields) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByAnd(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByAndCache(String entityName,
Map<String,?> fields) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByAndCache(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
MemoryHelper.findByCondition(ModelEntity modelEntity,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
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> |
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> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
List<GenericValue> |
MemoryHelper.findByLike(ModelEntity modelEntity,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByLike(String entityName,
Map<String,?> fields) |
List<GenericValue> |
GenericDelegator.findByLike(String entityName,
Map<String,?> fields) |
List<GenericValue> |
DelegatorInterface.findByLike(String entityName,
Map<String,?> fields) |
List<GenericValue> |
LockedDatabaseGenericDelegator.findByLike(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
GenericDelegator.findByLike(String entityName,
Map<String,?> fields,
List<String> orderBy) |
List<GenericValue> |
DelegatorInterface.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> |
GenericHelperDAO.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> |
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> |
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> |
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> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByOr(String entityName,
List<? extends EntityCondition> expressions) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByOr(String entityName,
List<? extends EntityCondition> expressions,
List<String> orderBy) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.findByOr(String entityName,
Map<String,?> fields) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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.
|
List<GenericValue> |
DelegatorInterface.findByOr(String entityName,
Map<String,?> fields,
List<String> orderBy) |
GenericValue |
MemoryHelper.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
GenericDelegator.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 |
DelegatorInterface.findByPrimaryKey(GenericPK primaryKey) |
GenericValue |
GenericHelper.findByPrimaryKey(GenericPK primaryKey)
Find a Generic Entity by its Primary Key
|
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKey(String entityName,
Map<String,?> fields) |
GenericValue |
GenericDelegator.findByPrimaryKey(String entityName,
Map<String,?> fields)
Find a Generic Entity by its Primary Key.
|
GenericValue |
DelegatorInterface.findByPrimaryKey(String entityName,
Map<String,?> fields) |
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
GenericDelegator.findByPrimaryKeyCache(GenericPK primaryKey)
Find a cached Generic Entity by its Primary Key.
|
GenericValue |
DelegatorInterface.findByPrimaryKeyCache(GenericPK primaryKey) |
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKeyCache(String entityName,
Map<String,?> fields) |
GenericValue |
GenericDelegator.findByPrimaryKeyCache(String entityName,
Map<String,?> fields)
Find a CACHED Generic Entity by its Primary Key.
|
GenericValue |
DelegatorInterface.findByPrimaryKeyCache(String entityName,
Map<String,?> fields) |
GenericValue |
MemoryHelper.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys) |
GenericValue |
LockedDatabaseGenericDelegator.findByPrimaryKeyPartial(GenericPK primaryKey,
Set<String> keys) |
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 |
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 |
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)
|
EntityListIterator |
MemoryHelper.findListIteratorByCondition(ModelEntity modelEntity,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions)
The memory implementation does the *minimum* that it can to allow tests to work.
|
EntityListIterator |
GenericHelperDAO.findListIteratorByCondition(ModelEntity modelEntity,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions)
Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc for more details.
|
EntityListIterator |
GenericHelper.findListIteratorByCondition(ModelEntity modelEntity,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions)
Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc
for more details.
|
EntityListIterator |
LockedDatabaseGenericDelegator.findListIteratorByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
EntityListIterator |
GenericDelegator.findListIteratorByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy)
Finds GenericValues by the given conditions.
|
EntityListIterator |
DelegatorInterface.findListIteratorByCondition(String entityName,
EntityCondition entityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy) |
EntityListIterator |
LockedDatabaseGenericDelegator.findListIteratorByCondition(String entityName,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions) |
EntityListIterator |
GenericDelegator.findListIteratorByCondition(String entityName,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions)
Finds GenericValues by the given conditions.
|
EntityListIterator |
DelegatorInterface.findListIteratorByCondition(String entityName,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions) |
boolean |
EntityListIterator.first()
Sets the cursor position to last result; if result set is empty returns false
|
List<GenericValue> |
EntityListIterator.getCompleteList() |
Connection |
ConnectionProvider.getConnection(String name)
Gets the connecion given a name.
|
static Connection |
ConnectionFactory.getConnection(String helperName) |
static Connection |
TransactionFactory.getConnection(String helperName) |
ModelFieldType |
LockedDatabaseGenericDelegator.getEntityFieldType(ModelEntity entity,
String type) |
ModelFieldType |
GenericDelegator.getEntityFieldType(ModelEntity entity,
String type)
Gets a field type instance by name from the helper that corresponds to the specified entity.
|
ModelFieldType |
DelegatorInterface.getEntityFieldType(ModelEntity entity,
String type) |
Collection<String> |
LockedDatabaseGenericDelegator.getEntityFieldTypeNames(ModelEntity entity) |
Collection<String> |
GenericDelegator.getEntityFieldTypeNames(ModelEntity entity)
Gets field type names from the helper that corresponds to the specified entity.
|
Collection<String> |
DelegatorInterface.getEntityFieldTypeNames(ModelEntity entity) |
GenericHelper |
LockedDatabaseGenericDelegator.getEntityHelper(ModelEntity entity) |
GenericHelper |
GenericDelegator.getEntityHelper(ModelEntity entity)
Gets the helper that corresponds to this delegator and the specified entity.
|
GenericHelper |
DelegatorInterface.getEntityHelper(ModelEntity entity) |
GenericHelper |
LockedDatabaseGenericDelegator.getEntityHelper(String entityName) |
GenericHelper |
GenericDelegator.getEntityHelper(String entityName)
Gets the helper that corresponds to this delegator and the specified entityName.
|
GenericHelper |
DelegatorInterface.getEntityHelper(String entityName) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo) |
List<GenericValue> |
LockedDatabaseGenericDelegator.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> |
DelegatorInterface.getMultiRelation(GenericValue value,
String relationNameOne,
String relationNameTwo,
List<String> orderBy) |
List<GenericValue> |
EntityListIterator.getPartialList(int start,
int number)
Gets a partial list of results starting at start and containing at most number elements.
|
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> |
GenericDelegator.getRelated(String relationName,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store
|
List<GenericValue> |
DelegatorInterface.getRelated(String relationName,
GenericValue value) |
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> |
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> |
DelegatorInterface.getRelated(String relationName,
Map<String,?> byAndFields,
List<String> orderBy,
GenericValue value) |
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> |
GenericDelegator.getRelatedByAnd(String relationName,
Map<String,?> byAndFields,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store.
|
List<GenericValue> |
DelegatorInterface.getRelatedByAnd(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
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> |
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.
|
List<GenericValue> |
DelegatorInterface.getRelatedCache(String relationName,
GenericValue value) |
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)
|
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 |
LockedDatabaseGenericDelegator.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.
|
GenericPK |
DelegatorInterface.getRelatedDummyPK(String relationName,
Map<String,?> byAndFields,
GenericValue value) |
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.
|
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 |
GenericDelegator.getRelatedOne(String relationName,
GenericValue value)
Get related entity where relation is of type one, uses findByPrimaryKey.
|
GenericValue |
DelegatorInterface.getRelatedOne(String relationName,
GenericValue value) |
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 |
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 |
DelegatorInterface.getRelatedOneCache(String relationName,
GenericValue value) |
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.
|
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> |
GenericDelegator.getRelatedOrderBy(String relationName,
List<String> orderBy,
GenericValue value)
Get the named Related Entity for the GenericValue from the persistent store.
|
List<GenericValue> |
DelegatorInterface.getRelatedOrderBy(String relationName,
List<String> orderBy,
GenericValue value) |
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.
|
int |
GenericDAO.insert(GenericEntity entity) |
boolean |
EntityListIterator.isCaseSensitive(String entityFieldName)
Detect whether or not the column data is case sensitive.
|
boolean |
EntityListIterator.last()
Sets the cursor position to last result; if result set is empty returns false
|
void |
GenericDAO.partialSelect(GenericEntity entity,
Set<String> keys) |
void |
GenericValue.refresh() |
void |
LockedDatabaseGenericDelegator.refresh(GenericValue value) |
void |
GenericDelegator.refresh(GenericValue value)
Refresh the Entity for the GenericValue from the persistent store.
|
void |
DelegatorInterface.refresh(GenericValue value) |
void |
LockedDatabaseGenericDelegator.refresh(GenericValue value,
boolean doCacheClear) |
void |
GenericDelegator.refresh(GenericValue value,
boolean doCacheClear)
Refresh the Entity for the GenericValue from the persistent store.
|
void |
DelegatorInterface.refresh(GenericValue value,
boolean doCacheClear) |
void |
GenericValue.remove() |
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 |
MemoryHelper.removeByAnd(ModelEntity modelEntity,
Map<String,?> fields) |
int |
GenericHelperDAO.removeByAnd(ModelEntity modelEntity,
Map<String,?> fields)
Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND)
|
int |
GenericHelper.removeByAnd(ModelEntity modelEntity,
Map<String,?> fields)
Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND)
|
int |
LockedDatabaseGenericDelegator.removeByAnd(String entityName,
Map<String,?> fields) |
int |
GenericDelegator.removeByAnd(String entityName,
Map<String,?> fields)
Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND).
|
int |
DelegatorInterface.removeByAnd(String entityName,
Map<String,?> fields) |
int |
LockedDatabaseGenericDelegator.removeByAnd(String entityName,
Map<String,?> fields,
boolean doCacheClear) |
int |
GenericDelegator.removeByAnd(String entityName,
Map<String,?> fields,
boolean doCacheClear)
Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND).
|
int |
DelegatorInterface.removeByAnd(String entityName,
Map<String,?> fields,
boolean doCacheClear) |
int |
MemoryHelper.removeByCondition(ModelEntity modelEntity,
EntityCondition whereCondition) |
int |
GenericHelperDAO.removeByCondition(ModelEntity modelEntity,
EntityCondition whereCondition) |
int |
GenericHelper.removeByCondition(ModelEntity modelEntity,
EntityCondition whereCondition)
Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND)
|
int |
GenericDelegator.removeByCondition(String entityName,
EntityCondition whereCondition)
Removes/deletes Generic Entity records found by matching the EntityCondition.
|
int |
DelegatorInterface.removeByCondition(String entityName,
EntityCondition entityCondition) |
int |
GenericDelegator.removeByCondition(String entityName,
EntityCondition whereCondition,
boolean doCacheClear)
Removes/deletes Generic Entity records found by matching the EntityCondition.
|
int |
DelegatorInterface.removeByCondition(String entityName,
EntityCondition entityCondition,
boolean doCacheClear) |
int |
MemoryHelper.removeByPrimaryKey(GenericPK primaryKey) |
int |
LockedDatabaseGenericDelegator.removeByPrimaryKey(GenericPK primaryKey) |
int |
GenericDelegator.removeByPrimaryKey(GenericPK primaryKey)
Remove a Generic Entity corresponding to the primaryKey.
|
int |
GenericHelperDAO.removeByPrimaryKey(GenericPK primaryKey)
Remove a Generic Entity corresponding to the primaryKey
|
int |
DelegatorInterface.removeByPrimaryKey(GenericPK primaryKey) |
int |
GenericHelper.removeByPrimaryKey(GenericPK primaryKey)
Remove a Generic Entity corresponding to the primaryKey
|
int |
LockedDatabaseGenericDelegator.removeByPrimaryKey(GenericPK primaryKey,
boolean doCacheClear) |
int |
GenericDelegator.removeByPrimaryKey(GenericPK primaryKey,
boolean doCacheClear)
Remove a Generic Entity corresponding to the primaryKey.
|
int |
DelegatorInterface.removeByPrimaryKey(GenericPK primaryKey,
boolean doCacheClear) |
void |
GenericValue.removeRelated(String relationName)
Remove the named Related Entity for the GenericValue from the persistent store
|
int |
LockedDatabaseGenericDelegator.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 |
DelegatorInterface.removeRelated(String relationName,
GenericValue value) |
int |
LockedDatabaseGenericDelegator.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 |
DelegatorInterface.removeRelated(String relationName,
GenericValue value,
boolean doCacheClear) |
int |
LockedDatabaseGenericDelegator.removeValue(GenericValue value) |
int |
GenericDelegator.removeValue(GenericValue value)
Remove a Generic Value from the database.
|
int |
DelegatorInterface.removeValue(GenericValue value) |
int |
LockedDatabaseGenericDelegator.removeValue(GenericValue value,
boolean doCacheClear) |
int |
GenericDelegator.removeValue(GenericValue value,
boolean doCacheClear)
Remove a Generic Value from the database.
|
int |
DelegatorInterface.removeValue(GenericValue value,
boolean doCacheClear) |
void |
GenericDAO.select(GenericEntity entity) |
void |
GenericDAO.select(GenericEntity entity,
Connection connection) |
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) |
EntityListIterator |
GenericDAO.selectListIteratorByCondition(ModelEntity modelEntity,
EntityCondition whereEntityCondition,
EntityCondition havingEntityCondition,
Collection<String> fieldsToSelect,
List<String> orderBy,
EntityFindOptions findOptions)
Finds GenericValues by the conditions specified in the EntityCondition object, the the EntityCondition javadoc for more details.
|
void |
EntityListIterator.setFetchSize(int rows) |
protected void |
EntityClause.setModelEntities(ModelReader modelReader) |
void |
GenericValue.store() |
int |
MemoryHelper.store(GenericValue value) |
int |
LockedDatabaseGenericDelegator.store(GenericValue value) |
int |
GenericDelegator.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 |
DelegatorInterface.store(GenericValue value) |
int |
GenericHelper.store(GenericValue value)
Store the Entity from the GenericValue to the persistent store
|
int |
LockedDatabaseGenericDelegator.store(GenericValue value,
boolean doCacheClear) |
int |
GenericDelegator.store(GenericValue value,
boolean doCacheClear)
Store the Entity from the GenericValue to the persistent store.
|
int |
DelegatorInterface.store(GenericValue value,
boolean doCacheClear) |
int |
GenericDAO.storeAll(List<? extends GenericEntity> entities) |
int |
MemoryHelper.storeAll(List<? extends GenericValue> values) |
int |
LockedDatabaseGenericDelegator.storeAll(List<? extends GenericValue> values) |
int |
GenericDelegator.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 |
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 |
LockedDatabaseGenericDelegator.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.
|
int |
DelegatorInterface.storeAll(List<? extends GenericValue> values,
boolean doCacheClear) |
List<GenericValue> |
MemoryHelper.transform(ModelEntity modelEntity,
EntityCondition entityCondition,
List<String> orderBy,
String lockField,
Transformation transformation) |
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> |
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> |
GenericDelegator.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.
|
static Connection |
ConnectionFactory.tryGenericConnectionSources(String helperName,
JdbcDatasourceInfo jdbcDatasource) |
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) |
| Constructor and Description |
|---|
GenericDelegator(String delegatorName)
Contructor is protected to enforce creation through the factory method.
|
LockedDatabaseGenericDelegator(String delegatorName) |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityConfigUtil.initialize(Element rootElement) |
void |
EntityConfigUtil.reinitialize() |
| 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 |
|---|---|
void |
SQLProcessor.execQuery(String sql,
ExecQueryCallbackFunctionIF aListener)
Execute a query based on the SQL string given.
|
ResultSet |
SQLProcessor.executeQuery(String sql)
Execute a query based on the SQL string given
|
Connection |
SQLProcessor.getConnection()
Get a connection from the ConnectionFactory
|
Connection |
DatabaseUtil.getConnection()
Uses the configured
ConnectionProvider to get a Connection based on
the configured helper name. |
static void |
SqlJdbcUtil.getValue(ResultSet rs,
int ind,
ModelField curField,
GenericEntity entity,
ModelFieldTypeReader modelFieldTypeReader) |
static String |
SqlJdbcUtil.makeFromClause(ModelEntity modelEntity,
DatasourceInfo datasourceInfo)
Makes the FROM clause and when necessary the JOIN clause(s) as well
|
static String |
SqlJdbcUtil.makeViewTable(ModelEntity modelEntity,
DatasourceInfo datasourceInfo) |
static String |
SqlJdbcUtil.makeViewWhereClause(ModelEntity modelEntity,
String joinStyle) |
static String |
SqlJdbcUtil.makeWhereClause(ModelEntity modelEntity,
List<ModelField> modelFields,
Map<String,?> fields,
String operator,
String joinStyle) |
void |
SQLProcessor.prepareStatement(String sql)
Prepare a statement.
|
void |
SQLProcessor.prepareStatement(String sql,
boolean specifyTypeAndConcur,
int resultSetType,
int resultSetConcurrency)
Prepare a statement.
|
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.setValue(SQLProcessor sqlP,
ModelField modelField,
String entityName,
Object fieldValue,
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)
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ModelEntity> |
ModelReader.getEntityCache() |
Collection<String> |
ModelReader.getEntityNames()
Creates a Collection with the entityName of each Entity defined in the specified XML Entity Descriptor file.
|
Iterator<String> |
ModelReader.getEntityNamesIterator()
Creates a Iterator with the entityName of each Entity defined in the specified XML Entity Descriptor file.
|
ModelEntity |
ModelReader.getModelEntity(String entityName)
Gets an Entity object based on a definition from the specified XML Entity descriptor file.
|
static ModelReader |
ModelReader.getModelReader(String delegatorName) |
| Constructor and Description |
|---|
ModelReader(String modelName) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
TransactionFactoryInterface.getConnection(String helperName) |
Connection |
TyrexFactory.getConnection(String helperName) |
Connection |
DumbFactory.getConnection(String helperName) |
Connection |
JNDIAutomaticFactory.getConnection(String helperName) |
Connection |
JNDIFactory.getConnection(String helperName) |
Connection |
JotmFactory.getConnection(String helperName) |
static Connection |
JotmConnectionFactory.getConnection(String helperName,
JdbcDatasourceInfo jdbcDatasource) |
static Connection |
TyrexConnectionFactory.getConnection(String helperName,
JdbcDatasourceInfo jdbcDatasource) |
static Connection |
DBCPConnectionFactory.getConnection(String helperName,
JdbcDatasourceInfo jdbcDatasource) |
Copyright © 2015 Atlassian. All rights reserved.