Uses of Class
org.ofbiz.core.entity.GenericEntityException
Packages that use GenericEntityException
Package
Description
-
Uses of GenericEntityException in org.ofbiz.core.entity
Subclasses of GenericEntityException in org.ofbiz.core.entityModifier and TypeClassDescriptionclassEntityLockedExceptionclassGenericCreateExceptionclassGenericDataSourceExceptionclassGenericDuplicateKeyException.javaclassGenericConfigExceptionclassGenericEntityNotFoundExceptionclassGenericFindExceptionclassGenericModelExceptionclassGenericNoSuchEntityException.javaclassGenericNotImplementedExceptionclassGenericRemoveExceptionclassGenericResultSetClosedExceptionclassGenericStoreExceptionclassGenericTransactionExceptionMethods in org.ofbiz.core.entity that throw GenericEntityExceptionModifier and TypeMethodDescriptionbooleanEntityListIterator.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()voidEntityListIterator.afterLast()Sets the cursor position to just after the last result so that previous() will return the last resultvoidEntityListIterator.beforeFirst()Sets the cursor position to just before the first result so that next() will return the first resultvoidGenericHelper.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 servervoidGenericHelperDAO.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 servervoidMemoryHelper.checkDataSource(Map<String, ? extends ModelEntity> modelEntities, Collection<String> messages, boolean addMissing) voidEntityListIterator.close()intGenericDAO.count(ModelEntity modelEntity, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) intGenericHelper.count(ModelEntity modelEntity, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) Returns the count of the results that matches the specified conditionintGenericHelperDAO.count(ModelEntity modelEntity, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) intMemoryHelper.count(ModelEntity modelEntity, String fieldName, EntityCondition entityCondition, EntityFindOptions findOptions) intintReturns the row count of the specified entity.intintDelegatorInterface.countByAnd(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) intGenericDelegator.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.intLockedDatabaseGenericDelegator.countByAnd(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) intDelegatorInterface.countByCondition(String entityName, String fieldName, EntityCondition condition, EntityFindOptions findOptions) intGenericDelegator.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).intLockedDatabaseGenericDelegator.countByCondition(String entityName, String fieldName, EntityCondition condition, EntityFindOptions findOptions) intDelegatorInterface.countByOr(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) intGenericDelegator.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.intLockedDatabaseGenericDelegator.countByOr(String entityName, String fieldName, List<? extends EntityCondition> expressions, EntityFindOptions findOptions) DelegatorInterface.create(GenericValue value) DelegatorInterface.create(GenericValue value, boolean doCacheClear) Creates a Entity in the form of a GenericValue and write it to the database.Creates a Entity in the form of a GenericValue and write it to the datasource.Creates a Entity in the form of a GenericValue and write it to the datasource.GenericDelegator.create(GenericValue value) Creates a Entity in the form of a GenericValue and write it to the datasource.GenericDelegator.create(GenericValue value, boolean doCacheClear) Creates a Entity in the form of a GenericValue and write it to the datasource.GenericHelper.create(GenericValue value) Creates a Entity in the form of a GenericValue and write it to the databaseGenericHelperDAO.create(GenericValue value) Creates a Entity in the form of a GenericValue and write it to the databaseGenericValue.create()LockedDatabaseGenericDelegator.create(GenericValue value) LockedDatabaseGenericDelegator.create(GenericValue value, boolean doCacheClear) MemoryHelper.create(GenericValue value) 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 twiceintEntityListIterator.currentIndex()intGenericDAO.delete(GenericEntity entity) intGenericDAO.deleteAll(List<? extends GenericEntity> dummyPKs) Called dummyPKs because they can be invalid PKs, doing a deleteByAnd instead of a normal deleteintGenericDAO.deleteByAnd(ModelEntity modelEntity, Map<String, ?> fields) intGenericDAO.deleteByCondition(ModelEntity modelEntity, EntityCondition whereCondition) Finds all Generic entities of the given type.Finds all Generic entities of the given type, optionally sorted.DelegatorInterface.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys) GenericDelegator.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys) Find a number of Generic Value objects by their Primary Keys, all at once.GenericHelper.findAllByPrimaryKeys(List<? extends GenericPK> primaryKeys) Find a number of Generic Value objects by their Primary Keys, all at onceGenericHelperDAO.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.LockedDatabaseGenericDelegator.findAllByPrimaryKeys(Collection<? extends GenericPK> primaryKeys) MemoryHelper.findAllByPrimaryKeys(List<? extends GenericPK> primaryKeys) DelegatorInterface.findAllByPrimaryKeysCache(Collection<? extends GenericPK> primaryKeys) 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.LockedDatabaseGenericDelegator.findAllByPrimaryKeysCache(Collection<? extends GenericPK> primaryKeys) DelegatorInterface.findAllCache(String entityName) DelegatorInterface.findAllCache(String entityName, List<String> orderBy) GenericDelegator.findAllCache(String entityName) Finds all Generic entities of the given type, looking first in the cache.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.LockedDatabaseGenericDelegator.findAllCache(String entityName) LockedDatabaseGenericDelegator.findAllCache(String entityName, List<String> orderBy) DelegatorInterface.findByAnd(String entityName, List<? extends EntityCondition> expressions) DelegatorInterface.findByAnd(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) GenericDelegator.findByAnd(String entityName, List<? extends EntityCondition> expressions) Finds Generic Entity records by all of the specified expressions (ie: combined using AND).GenericDelegator.findByAnd(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) Finds Generic Entity records by all of the specified expressions (i.e.Finds Generic Entity records by all of the specified fields (ie: combined using AND).Finds Generic Entity records by all of the specified fields (i.e.Finds any entities matching the given criteria.Finds Generic Entity records by all of the specified fields (ie: combined using AND)Finds Generic Entity records by all of the specified fields (ie: combined using AND)LockedDatabaseGenericDelegator.findByAnd(String entityName, List<? extends EntityCondition> expressions) LockedDatabaseGenericDelegator.findByAnd(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) LockedDatabaseGenericDelegator.findByAnd(String entityName, Map<String, ?> fields, List<String> orderBy) LockedDatabaseGenericDelegator.findByAnd(ModelEntity modelEntity, Map<String, ?> fields, List<String> orderBy) MemoryHelper.findByAnd(ModelEntity modelEntity, List<? extends EntityCondition> expressions, List<String> orderBy) DelegatorInterface.findByAndCache(String entityName, Map<String, ?> fields) GenericDelegator.findByAndCache(String entityName, Map<String, ?> fields) Finds Generic Entity records by all of the specified fields (i.e.Finds Generic Entity records by all of the specified fields (i.e.LockedDatabaseGenericDelegator.findByAndCache(String entityName, Map<String, ?> fields) LockedDatabaseGenericDelegator.findByAndCache(String entityName, Map<String, ?> fields, List<String> orderBy) DelegatorInterface.findByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) GenericDelegator.findByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) Finds any GenericValues matching the given conditions.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.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.LockedDatabaseGenericDelegator.findByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) MemoryHelper.findByCondition(ModelEntity modelEntity, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) DelegatorInterface.findByLike(String entityName, Map<String, ?> fields) GenericDelegator.findByLike(String entityName, Map<String, ?> fields) LockedDatabaseGenericDelegator.findByLike(String entityName, Map<String, ?> fields) LockedDatabaseGenericDelegator.findByLike(String entityName, Map<String, ?> fields, List<String> orderBy) MemoryHelper.findByLike(ModelEntity modelEntity, Map<String, ?> fields, List<String> orderBy) GenericHelper.findByMultiRelation(GenericValue value, ModelRelation modelRelationOne, ModelEntity modelEntityOne, ModelRelation modelRelationTwo, ModelEntity modelEntityTwo, List<String> orderBy) GenericHelperDAO.findByMultiRelation(GenericValue value, ModelRelation modelRelationOne, ModelEntity modelEntityOne, ModelRelation modelRelationTwo, ModelEntity modelEntityTwo, List<String> orderBy) MemoryHelper.findByMultiRelation(GenericValue value, ModelRelation modelRelationOne, ModelEntity modelEntityOne, ModelRelation modelRelationTwo, ModelEntity modelEntityTwo, List<String> orderBy) DelegatorInterface.findByOr(String entityName, List<? extends EntityCondition> expressions) DelegatorInterface.findByOr(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) GenericDelegator.findByOr(String entityName, List<? extends EntityCondition> expressions) Finds Generic Entity records by all of the specified expressions (i.e.GenericDelegator.findByOr(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) Finds Generic Entity records by all of the specified expressions (i.e.Finds Generic Entity records by any of the specified fields (i.e.Finds Generic Entity records by all of the specified fields (i.e.Finds Generic Entity records by all of the specified fields (ie: combined using OR)Finds Generic Entity records by all of the specified fields (ie: combined using OR)LockedDatabaseGenericDelegator.findByOr(String entityName, List<? extends EntityCondition> expressions) LockedDatabaseGenericDelegator.findByOr(String entityName, List<? extends EntityCondition> expressions, List<String> orderBy) LockedDatabaseGenericDelegator.findByOr(String entityName, Map<String, ?> fields, List<String> orderBy) MemoryHelper.findByOr(ModelEntity modelEntity, List<? extends EntityCondition> expressions, List<String> orderBy) DelegatorInterface.findByPrimaryKey(String entityName, Map<String, ?> fields) DelegatorInterface.findByPrimaryKey(GenericPK primaryKey) GenericDelegator.findByPrimaryKey(String entityName, Map<String, ?> fields) Find a Generic Entity by its Primary Key.GenericDelegator.findByPrimaryKey(GenericPK primaryKey) Find a Generic Entity by its Primary Key.GenericHelper.findByPrimaryKey(GenericPK primaryKey) Find a Generic Entity by its Primary KeyGenericHelperDAO.findByPrimaryKey(GenericPK primaryKey) Find a Generic Entity by its Primary KeyLockedDatabaseGenericDelegator.findByPrimaryKey(String entityName, Map<String, ?> fields) LockedDatabaseGenericDelegator.findByPrimaryKey(GenericPK primaryKey) MemoryHelper.findByPrimaryKey(GenericPK primaryKey) DelegatorInterface.findByPrimaryKeyCache(String entityName, Map<String, ?> fields) DelegatorInterface.findByPrimaryKeyCache(GenericPK primaryKey) GenericDelegator.findByPrimaryKeyCache(String entityName, Map<String, ?> fields) Find a CACHED Generic Entity by its Primary Key.GenericDelegator.findByPrimaryKeyCache(GenericPK primaryKey) Find a cached Generic Entity by its Primary Key.LockedDatabaseGenericDelegator.findByPrimaryKeyCache(String entityName, Map<String, ?> fields) LockedDatabaseGenericDelegator.findByPrimaryKeyCache(GenericPK primaryKey) DelegatorInterface.findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys) 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).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)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)LockedDatabaseGenericDelegator.findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys) MemoryHelper.findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys) DelegatorInterface.findListIteratorByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) DelegatorInterface.findListIteratorByCondition(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) GenericDelegator.findListIteratorByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) Finds GenericValues by the given conditions.GenericDelegator.findListIteratorByCondition(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) Finds GenericValues by the given conditions.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.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.LockedDatabaseGenericDelegator.findListIteratorByCondition(String entityName, EntityCondition entityCondition, Collection<String> fieldsToSelect, List<String> orderBy) LockedDatabaseGenericDelegator.findListIteratorByCondition(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) 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.booleanEntityListIterator.first()Sets the cursor position to last result; if result set is empty returns falseEntityListIterator.getCompleteList()static ConnectionConnectionFactory.getConnection(String helperName) ConnectionProvider.getConnection(String name) Gets the connecion given a name.static ConnectionTransactionFactory.getConnection(String helperName) DelegatorInterface.getEntityFieldType(ModelEntity entity, String type) GenericDelegator.getEntityFieldType(ModelEntity entity, String type) Gets a field type instance by name from the helper that corresponds to the specified entity.LockedDatabaseGenericDelegator.getEntityFieldType(ModelEntity entity, String type) DelegatorInterface.getEntityFieldTypeNames(ModelEntity entity) GenericDelegator.getEntityFieldTypeNames(ModelEntity entity) Gets field type names from the helper that corresponds to the specified entity.LockedDatabaseGenericDelegator.getEntityFieldTypeNames(ModelEntity entity) DelegatorInterface.getEntityHelper(String entityName) DelegatorInterface.getEntityHelper(ModelEntity entity) GenericDelegator.getEntityHelper(String entityName) Gets the helper that corresponds to this delegator and the specified entityName.GenericDelegator.getEntityHelper(ModelEntity entity) Gets the helper that corresponds to this delegator and the specified entity.LockedDatabaseGenericDelegator.getEntityHelper(String entityName) LockedDatabaseGenericDelegator.getEntityHelper(ModelEntity entity) DelegatorInterface.getMultiRelation(GenericValue value, String relationNameOne, String relationNameTwo) DelegatorInterface.getMultiRelation(GenericValue value, String relationNameOne, String relationNameTwo, List<String> orderBy) GenericDelegator.getMultiRelation(GenericValue value, String relationNameOne, String relationNameTwo) Get the named Related Entity for the GenericValue from the persistent store across another Relation.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.LockedDatabaseGenericDelegator.getMultiRelation(GenericValue value, String relationNameOne, String relationNameTwo) LockedDatabaseGenericDelegator.getMultiRelation(GenericValue value, String relationNameOne, String relationNameTwo, List<String> orderBy) EntityListIterator.getPartialList(int start, int number) Gets a partial list of results starting at start and containing at most number elements.DelegatorInterface.getRelated(String relationName, Map<String, ?> byAndFields, List<String> orderBy, GenericValue value) DelegatorInterface.getRelated(String relationName, GenericValue value) static List<GenericValue>EntityUtil.getRelated(String relationName, List<? extends GenericValue> values) GenericDelegator.getRelated(String relationName, Map<String, ?> byAndFields, List<String> orderBy, GenericValue value) Get the named Related Entity for the GenericValue from the persistent store.GenericDelegator.getRelated(String relationName, GenericValue value) Get the named Related Entity for the GenericValue from the persistent storeGenericValue.getRelated(String relationName) Get the named Related Entity for the GenericValue from the persistent storeGet the named Related Entity for the GenericValue from the persistent storeLockedDatabaseGenericDelegator.getRelated(String relationName, Map<String, ?> byAndFields, List<String> orderBy, GenericValue value) LockedDatabaseGenericDelegator.getRelated(String relationName, GenericValue value) DelegatorInterface.getRelatedByAnd(String relationName, Map<String, ?> byAndFields, GenericValue value) static List<GenericValue>EntityUtil.getRelatedByAnd(String relationName, Map<String, ?> fields, List<? extends GenericValue> values) GenericDelegator.getRelatedByAnd(String relationName, Map<String, ?> byAndFields, GenericValue value) Get the named Related Entity for the GenericValue from the persistent store.GenericValue.getRelatedByAnd(String relationName, Map<String, ?> fields) Get the named Related Entity for the GenericValue from the persistent store and filter itLockedDatabaseGenericDelegator.getRelatedByAnd(String relationName, Map<String, ?> byAndFields, GenericValue value) 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)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.DelegatorInterface.getRelatedCache(String relationName, GenericValue value) static List<GenericValue>EntityUtil.getRelatedCache(String relationName, List<? extends GenericValue> values) 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.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)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)LockedDatabaseGenericDelegator.getRelatedCache(String relationName, GenericValue value) DelegatorInterface.getRelatedDummyPK(String relationName, Map<String, ?> byAndFields, GenericValue value) GenericDelegator.getRelatedDummyPK(String relationName, Map<String, ?> byAndFields, GenericValue value) Get a dummy primary key for the named Related Entity for the GenericValue.GenericValue.getRelatedDummyPK(String relationName) Get a dummy primary key for the named Related Entity for the GenericValueGenericValue.getRelatedDummyPK(String relationName, Map<String, ?> byAndFields) Get a dummy primary key for the named Related Entity for the GenericValueLockedDatabaseGenericDelegator.getRelatedDummyPK(String relationName, Map<String, ?> byAndFields, GenericValue value) 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.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.GenericValue.getRelatedMulti(String relationNameOne, String relationNameTwo) Get the named Related Entity for the GenericValue from the persistent store across another Relation.GenericValue.getRelatedMulti(String relationNameOne, String relationNameTwo, List<String> orderBy) Get the named Related Entity for the GenericValue from the persistent store across another Relation.DelegatorInterface.getRelatedOne(String relationName, GenericValue value) GenericDelegator.getRelatedOne(String relationName, GenericValue value) Get related entity where relation is of type one, uses findByPrimaryKey.GenericValue.getRelatedOne(String relationName) Get the named Related Entity for the GenericValue from the persistent storeLockedDatabaseGenericDelegator.getRelatedOne(String relationName, GenericValue value) DelegatorInterface.getRelatedOneCache(String relationName, GenericValue value) 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.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)LockedDatabaseGenericDelegator.getRelatedOneCache(String relationName, GenericValue value) 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.DelegatorInterface.getRelatedOrderBy(String relationName, List<String> orderBy, GenericValue value) GenericDelegator.getRelatedOrderBy(String relationName, List<String> orderBy, GenericValue value) Get the named Related Entity for the GenericValue from the persistent store.GenericValue.getRelatedOrderBy(String relationName, List<String> orderBy) Get the named Related Entity for the GenericValue from the persistent store and order itLockedDatabaseGenericDelegator.getRelatedOrderBy(String relationName, List<String> orderBy, GenericValue value) 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)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.intGenericDAO.insert(GenericEntity entity) booleanEntityListIterator.isCaseSensitive(String entityFieldName) Detect whether or not the column data is case sensitive.booleanEntityListIterator.last()Sets the cursor position to last result; if result set is empty returns falsevoidGenericDAO.partialSelect(GenericEntity entity, Set<String> keys) voidDelegatorInterface.refresh(GenericValue value) voidDelegatorInterface.refresh(GenericValue value, boolean doCacheClear) voidGenericDelegator.refresh(GenericValue value) Refresh the Entity for the GenericValue from the persistent store.voidGenericDelegator.refresh(GenericValue value, boolean doCacheClear) Refresh the Entity for the GenericValue from the persistent store.voidGenericValue.refresh()voidLockedDatabaseGenericDelegator.refresh(GenericValue value) voidLockedDatabaseGenericDelegator.refresh(GenericValue value, boolean doCacheClear) voidGenericValue.remove()intDelegatorInterface.removeAll(List<? extends GenericEntity> dummyPKs) intDelegatorInterface.removeAll(List<? extends GenericEntity> dummyPKs, boolean doCacheClear) intGenericDelegator.removeAll(List<? extends GenericEntity> dummyPKs) Remove the Entities from the List from the persistent store.intGenericDelegator.removeAll(List<? extends GenericEntity> dummyPKs, boolean doCacheClear) Remove the Entities from the List from the persistent store.intGenericHelper.removeAll(List<? extends GenericEntity> dummyPKs) Remove the Entities from the List from the persistent store.intGenericHelperDAO.removeAll(List<? extends GenericEntity> dummyPKs) Remove the Entities from the List from the persistent store.intLockedDatabaseGenericDelegator.removeAll(List<? extends GenericEntity> dummyPKs) intLockedDatabaseGenericDelegator.removeAll(List<? extends GenericEntity> dummyPKs, boolean doCacheClear) intMemoryHelper.removeAll(List<? extends GenericEntity> dummyPKs) intDelegatorInterface.removeByAnd(String entityName, Map<String, ?> fields) intDelegatorInterface.removeByAnd(String entityName, Map<String, ?> fields, boolean doCacheClear) intGenericDelegator.removeByAnd(String entityName, Map<String, ?> fields) Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND).intGenericDelegator.removeByAnd(String entityName, Map<String, ?> fields, boolean doCacheClear) Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND).intGenericHelper.removeByAnd(ModelEntity modelEntity, Map<String, ?> fields) Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND)intGenericHelperDAO.removeByAnd(ModelEntity modelEntity, Map<String, ?> fields) Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND)intLockedDatabaseGenericDelegator.removeByAnd(String entityName, Map<String, ?> fields) intLockedDatabaseGenericDelegator.removeByAnd(String entityName, Map<String, ?> fields, boolean doCacheClear) intMemoryHelper.removeByAnd(ModelEntity modelEntity, Map<String, ?> fields) intDelegatorInterface.removeByCondition(String entityName, EntityCondition entityCondition) intDelegatorInterface.removeByCondition(String entityName, EntityCondition entityCondition, boolean doCacheClear) intGenericDelegator.removeByCondition(String entityName, EntityCondition whereCondition) Removes/deletes Generic Entity records found by matching the EntityCondition.intGenericDelegator.removeByCondition(String entityName, EntityCondition whereCondition, boolean doCacheClear) Removes/deletes Generic Entity records found by matching the EntityCondition.intGenericHelper.removeByCondition(ModelEntity modelEntity, EntityCondition whereCondition) Removes/deletes Generic Entity records found by all of the specified fields (ie: combined using AND)intGenericHelperDAO.removeByCondition(ModelEntity modelEntity, EntityCondition whereCondition) intLockedDatabaseGenericDelegator.removeByCondition(String entityName, EntityCondition entityCondition) intLockedDatabaseGenericDelegator.removeByCondition(String entityName, EntityCondition entityCondition, boolean doCacheClear) intMemoryHelper.removeByCondition(ModelEntity modelEntity, EntityCondition whereCondition) intDelegatorInterface.removeByPrimaryKey(GenericPK primaryKey) intDelegatorInterface.removeByPrimaryKey(GenericPK primaryKey, boolean doCacheClear) intGenericDelegator.removeByPrimaryKey(GenericPK primaryKey) Remove a Generic Entity corresponding to the primaryKey.intGenericDelegator.removeByPrimaryKey(GenericPK primaryKey, boolean doCacheClear) Remove a Generic Entity corresponding to the primaryKey.intGenericHelper.removeByPrimaryKey(GenericPK primaryKey) Remove a Generic Entity corresponding to the primaryKeyintGenericHelperDAO.removeByPrimaryKey(GenericPK primaryKey) Remove a Generic Entity corresponding to the primaryKeyintLockedDatabaseGenericDelegator.removeByPrimaryKey(GenericPK primaryKey) intLockedDatabaseGenericDelegator.removeByPrimaryKey(GenericPK primaryKey, boolean doCacheClear) intMemoryHelper.removeByPrimaryKey(GenericPK primaryKey) intDelegatorInterface.removeRelated(String relationName, GenericValue value) intDelegatorInterface.removeRelated(String relationName, GenericValue value, boolean doCacheClear) intGenericDelegator.removeRelated(String relationName, GenericValue value) Remove the named Related Entity for the GenericValue from the persistent store.intGenericDelegator.removeRelated(String relationName, GenericValue value, boolean doCacheClear) Remove the named Related Entity for the GenericValue from the persistent store.voidGenericValue.removeRelated(String relationName) Remove the named Related Entity for the GenericValue from the persistent storeintLockedDatabaseGenericDelegator.removeRelated(String relationName, GenericValue value) intLockedDatabaseGenericDelegator.removeRelated(String relationName, GenericValue value, boolean doCacheClear) intDelegatorInterface.removeValue(GenericValue value) intDelegatorInterface.removeValue(GenericValue value, boolean doCacheClear) intGenericDelegator.removeValue(GenericValue value) Remove a Generic Value from the database.intGenericDelegator.removeValue(GenericValue value, boolean doCacheClear) Remove a Generic Value from the database.intLockedDatabaseGenericDelegator.removeValue(GenericValue value) intLockedDatabaseGenericDelegator.removeValue(GenericValue value, boolean doCacheClear) voidGenericDAO.select(GenericEntity entity) voidGenericDAO.select(GenericEntity entity, Connection connection) GenericDAO.selectByAnd(ModelEntity modelEntity, Map<String, ?> fields, List<String> orderBy) 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.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.GenericDAO.selectByMultiRelation(GenericValue value, ModelRelation modelRelationOne, ModelEntity modelEntityOne, ModelRelation modelRelationTwo, ModelEntity modelEntityTwo, List<String> orderBy) GenericDAO.selectByOr(ModelEntity modelEntity, Map<String, ?> fields, List<String> orderBy) 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.voidEntityListIterator.setFetchSize(int rows) protected voidEntityClause.setModelEntities(ModelReader modelReader) intDelegatorInterface.store(GenericValue value) intDelegatorInterface.store(GenericValue value, boolean doCacheClear) intGenericDelegator.store(GenericValue value) Store the Entity from the GenericValue to the persistent store.intGenericDelegator.store(GenericValue value, boolean doCacheClear) Store the Entity from the GenericValue to the persistent store.intGenericHelper.store(GenericValue value) Store the Entity from the GenericValue to the persistent storeintGenericHelperDAO.store(GenericValue value) Store the Entity from the GenericValue to the persistent storevoidGenericValue.store()intLockedDatabaseGenericDelegator.store(GenericValue value) intLockedDatabaseGenericDelegator.store(GenericValue value, boolean doCacheClear) intMemoryHelper.store(GenericValue value) intDelegatorInterface.storeAll(List<? extends GenericValue> values) intDelegatorInterface.storeAll(List<? extends GenericValue> values, boolean doCacheClear) intGenericDAO.storeAll(List<? extends GenericEntity> entities) intGenericDelegator.storeAll(List<? extends GenericValue> values) Store the Entities from the List GenericValue instances to the persistent store.intGenericDelegator.storeAll(List<? extends GenericValue> values, boolean doCacheClear) Store the Entities from the List GenericValue instances to the persistent store.intGenericHelper.storeAll(List<? extends GenericValue> values) Store the Entities from the List GenericValue instances to the persistent store.intGenericHelperDAO.storeAll(List<? extends GenericValue> values) Store the Entities from the List GenericValue instances to the persistent store.intLockedDatabaseGenericDelegator.storeAll(List<? extends GenericValue> values) intLockedDatabaseGenericDelegator.storeAll(List<? extends GenericValue> values, boolean doCacheClear) intMemoryHelper.storeAll(List<? extends GenericValue> values) DelegatorInterface.transform(String entityName, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) Applies the given transformation to any entities matching the given condition.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.GenericDelegator.transform(String entityName, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) GenericHelper.transform(ModelEntity modelEntity, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) Applies the given transformation to any entities matching the given condition.GenericHelperDAO.transform(ModelEntity modelEntity, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) MemoryHelper.transform(ModelEntity modelEntity, EntityCondition entityCondition, List<String> orderBy, String lockField, Transformation transformation) static ConnectionConnectionFactory.tryGenericConnectionSources(String helperName, JdbcDatasourceInfo jdbcDatasource) intGenericDAO.update(GenericEntity entity) Updates the given entity with the given non-PK values.intGenericDAO.update(GenericEntity entity, EntityConditionParam nonPkCondition) Updates the given entity with the given non-PK values.intGenericDAO.updateAll(GenericEntity entity) Constructors in org.ofbiz.core.entity that throw GenericEntityExceptionModifierConstructorDescriptionprotectedGenericDelegator(String delegatorName) Contructor is protected to enforce creation through the factory method. -
Uses of GenericEntityException in org.ofbiz.core.entity.config
Methods in org.ofbiz.core.entity.config that throw GenericEntityExceptionModifier and TypeMethodDescriptionvoidEntityConfigUtil.initialize(Element rootElement) voidEntityConfigUtil.reinitialize() -
Uses of GenericEntityException in org.ofbiz.core.entity.eca
Methods in org.ofbiz.core.entity.eca that throw GenericEntityExceptionModifier and TypeMethodDescriptionvoidEntityEcaHandler.evalRules(String currentOperation, Map<?, ?> eventMap, String event, GenericEntity value, boolean isError) -
Uses of GenericEntityException in org.ofbiz.core.entity.jdbc
Methods in org.ofbiz.core.entity.jdbc that throw GenericEntityExceptionModifier and TypeMethodDescriptionvoidSQLProcessor.execQuery(String sql, ExecQueryCallbackFunctionIF aListener) Execute a query based on the SQL string given.SQLProcessor.executeQuery(String sql) Execute a query based on the SQL string givenDatabaseUtil.getConnection()Uses the configuredConnectionProviderto get aConnectionbased on the configured helper name.SQLProcessor.getConnection()Get a connection from the ConnectionFactorystatic voidSqlJdbcUtil.getValue(ResultSet rs, int ind, ModelField curField, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) static StringSqlJdbcUtil.makeFromClause(ModelEntity modelEntity, DatasourceInfo datasourceInfo, SqlEscapeHelper sqlEscapeHelper) Makes the FROM clause and when necessary the JOIN clause(s) as wellstatic StringSqlJdbcUtil.makeViewTable(ModelEntity modelEntity, DatasourceInfo datasourceInfo, SqlEscapeHelper sqlEscapeHelper) static StringSqlJdbcUtil.makeViewWhereClause(ModelEntity modelEntity, String joinStyle, SqlEscapeHelper sqlEscapeHelper) static StringSqlJdbcUtil.makeWhereClause(ModelEntity modelEntity, List<ModelField> modelFields, Map<String, ?> fields, String operator, String joinStyle, SqlEscapeHelper sqlEscapeHelper) SQLProcessor.prepareStatement(String sql) Prepare a statement.SQLProcessor.prepareStatement(String sql, boolean specifyTypeAndConcur, int resultSetType, int resultSetConcurrency) Prepare a statement.static voidSqlJdbcUtil.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 voidSqlJdbcUtil.setValue(SQLProcessor sqlP, ModelField modelField, String entityName, Object fieldValue, ModelFieldTypeReader modelFieldTypeReader) static voidSqlJdbcUtil.setValue(SQLProcessor sqlP, ModelField modelField, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) static voidSqlJdbcUtil.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 voidSqlJdbcUtil.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. -
Uses of GenericEntityException in org.ofbiz.core.entity.jdbc.alternative
Methods in org.ofbiz.core.entity.jdbc.alternative that throw GenericEntityExceptionModifier and TypeMethodDescriptionIndexAlternativeAction.run(ModelEntity modelEntity, ModelIndex modelIndex, DatabaseUtil dbUtil) This method is used to perform alternative actions on index before it is created.booleanIndexAlternativeAction.shouldRun(ModelEntity modelEntity, ModelIndex modelIndex, DatabaseUtil dbUtil) This method flags if alternative action should be invoked. -
Uses of GenericEntityException in org.ofbiz.core.entity.model
Methods in org.ofbiz.core.entity.model that throw GenericEntityExceptionModifier and TypeMethodDescriptionModelIndex.getAlternativeIndexAction(DatabaseUtil dbUtil) ModelReader.getEntityCache()ModelReader.getEntityNames()Creates a Collection with the entityName of each Entity defined in the specified XML Entity Descriptor file.ModelReader.getEntityNamesIterator()Creates a Iterator with the entityName of each Entity defined in the specified XML Entity Descriptor file.ModelReader.getModelEntity(String entityName) Gets an Entity object based on a definition from the specified XML Entity descriptor file.static ModelReaderModelReader.getModelReader(String delegatorName) Constructors in org.ofbiz.core.entity.model that throw GenericEntityException -
Uses of GenericEntityException in org.ofbiz.core.entity.transaction
Methods in org.ofbiz.core.entity.transaction that throw GenericEntityExceptionModifier and TypeMethodDescriptionstatic ConnectionDBCPConnectionFactory.getConnection(String helperName, JdbcDatasourceInfo jdbcDatasource) DumbFactory.getConnection(String helperName) JNDIAutomaticFactory.getConnection(String helperName) JNDIFactory.getConnection(String helperName) static ConnectionJotmConnectionFactory.getConnection(String helperName, JdbcDatasourceInfo jdbcDatasource) JotmFactory.getConnection(String helperName) TransactionFactoryInterface.getConnection(String helperName) static ConnectionTyrexConnectionFactory.getConnection(String helperName, JdbcDatasourceInfo jdbcDatasource) TyrexFactory.getConnection(String helperName)