|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RawEntity | |
---|---|
net.java.ao | |
net.java.ao.cache | |
net.java.ao.schema |
Uses of RawEntity in net.java.ao |
---|
Classes in net.java.ao with type parameters of type RawEntity | |
---|---|
class |
EntityProxy<T extends RawEntity<K>,K>
|
interface |
RelatedEntity<T extends RelatedEntity<T> & RawEntity<?>>
A superinterface for entities which are related to each other using Lucene heuristics. |
Subinterfaces of RawEntity in net.java.ao | |
---|---|
interface |
Entity
A specific extension of RawEntity providing the Entity.getID()
method. |
Methods in net.java.ao with type parameters of type RawEntity | ||
---|---|---|
|
EntityManager.create(Class<T> type,
DBParam... params)
Creates a new entity of the specified type with the optionally specified initial parameters. |
|
|
EntityManager.create(Class<T> type,
Map<String,Object> params)
Creates and INSERTs a new entity of the specified type with the given map of parameters. |
|
static
|
Common.createPeer(EntityManager manager,
Class<T> type,
K key)
|
|
|
EntityManager.find(Class<T> type)
Returns all entities of the given type. |
|
|
EntityManager.find(Class<T> type,
Query query)
Selects all entities matching the given type and Query . |
|
|
EntityManager.find(Class<T> type,
String criteria,
Object... parameters)
Convenience method to select all entities of the given type with the specified, parameterized criteria. |
|
|
EntityManager.find(Class<T> type,
String field,
Query query)
Selects all entities of the specified type which match the given Query . |
|
|
EntityManager.findWithSQL(Class<T> type,
String keyField,
String sql,
Object... parameters)
Executes the specified SQL and extracts the given key field, wrapping each row into a instance of the specified type. |
|
|
EntityManager.get(Class<T> type,
K... keys)
Returns an array of entities of the specified type corresponding to the varargs primary keys. |
|
|
EntityManager.get(Class<T> type,
K key)
Cleverly overloaded method to return a single entity of the specified type rather than an array in the case where only one ID is passed. |
|
protected
|
SearchableEntityManager.getAndInstantiate(Class<T> type,
K key)
|
|
protected
|
EntityManager.getAndInstantiate(Class<T> type,
K key)
Creates a new instance of the entity of the specified type corresponding to the given primary key. |
|
|
RawEntity.getEntityType()
Returns the actual Class instance which corresponds to the
original entity interface. |
|
protected
|
EntityManager.peer(Class<T> type,
K... keys)
|
|
protected
|
EntityManager.peer(Class<T> type,
K key)
|
|
|
SearchableEntityManager.search(Class<T> type,
String strQuery)
Runs a Lucene full-text search on the specified entity type with the given query. |
Methods in net.java.ao that return RawEntity | ||
---|---|---|
|
EntityManager.find(Class<T> type)
Returns all entities of the given type. |
|
|
EntityManager.find(Class<T> type,
Query query)
Selects all entities matching the given type and Query . |
|
|
EntityManager.find(Class<T> type,
String criteria,
Object... parameters)
Convenience method to select all entities of the given type with the specified, parameterized criteria. |
|
|
EntityManager.find(Class<T> type,
String field,
Query query)
Selects all entities of the specified type which match the given Query . |
|
|
EntityManager.findWithSQL(Class<T> type,
String keyField,
String sql,
Object... parameters)
Executes the specified SQL and extracts the given key field, wrapping each row into a instance of the specified type. |
|
|
EntityManager.get(Class<T> type,
K... keys)
Returns an array of entities of the specified type corresponding to the varargs primary keys. |
|
protected
|
EntityManager.peer(Class<T> type,
K... keys)
|
|
|
SearchableEntityManager.search(Class<T> type,
String strQuery)
Runs a Lucene full-text search on the specified entity type with the given query. |
Methods in net.java.ao that return types with arguments of type RawEntity | |
---|---|
Map<Class<? extends RawEntity<?>>,String> |
Query.getJoins()
|
Class<? extends RawEntity<?>> |
Query.getTableType()
|
Class<? extends RawEntity<?>> |
PolymorphicTypeMapper.invert(Class<? extends RawEntity<?>> parent,
String type)
Retrieves the entity type which corresponds to the given polymorphic type flag value as a subtype of the specified parent entity type. |
Class<? extends RawEntity<?>> |
DefaultPolymorphicTypeMapper.invert(Class<? extends RawEntity<?>> parent,
String type)
|
Methods in net.java.ao with parameters of type RawEntity | ||
---|---|---|
void |
SearchableEntityManager.addToIndex(RawEntity<?> entity)
Adds the entity instance to the index. |
|
void |
SearchableEntityManager.delete(RawEntity<?>... entities)
|
|
void |
EntityManager.delete(RawEntity<?>... entities)
Deletes the specified entities from the database. |
|
boolean |
EntityProxy.equalsImpl(RawEntity<K> proxy,
Object obj)
|
|
void |
EntityManager.flush(RawEntity<?>... entities)
Flushes the value caches of the specified entities along with all of the relevant relations cache entries. |
|
static
|
Common.getPrimaryKeyValue(RawEntity<K> entity)
|
|
void |
SearchableEntityManager.removeFromIndex(RawEntity<?> entity)
Removes the specified entity from the Lucene index. |
|
void |
EntityProxy.save(RawEntity entity)
|
Method parameters in net.java.ao with type arguments of type RawEntity | ||
---|---|---|
String |
PolymorphicTypeMapper.convert(Class<? extends RawEntity<?>> type)
Retrieves the polymorphic type flag value which corresponds to the specified type. |
|
String |
DefaultPolymorphicTypeMapper.convert(Class<? extends RawEntity<?>> type)
|
|
|
EntityManager.count(Class<? extends RawEntity<K>> type)
Counts all entities of the specified type. |
|
|
EntityManager.count(Class<? extends RawEntity<K>> type,
Query query)
Counts all entities of the specified type matching the given Query
instance. |
|
|
EntityManager.count(Class<? extends RawEntity<K>> type,
String criteria,
Object... parameters)
Counts all entities of the specified type matching the given criteria and parameters. |
|
Query |
Query.from(Class<? extends RawEntity<?>> tableType)
|
|
String[] |
Query.getCanonicalFields(Class<? extends RawEntity<?>> type,
FieldNameConverter converter)
|
|
static String[] |
Common.getMappingFields(FieldNameConverter converter,
Class<? extends RawEntity<?>> from,
Class<? extends RawEntity<?>> to)
|
|
static String[] |
Common.getMappingFields(FieldNameConverter converter,
Class<? extends RawEntity<?>> from,
Class<? extends RawEntity<?>> to)
|
|
static String[] |
Common.getPolymorphicFieldNames(FieldNameConverter converter,
Class<? extends RawEntity<?>> from,
Class<? extends RawEntity<?>> to)
|
|
static String[] |
Common.getPolymorphicFieldNames(FieldNameConverter converter,
Class<? extends RawEntity<?>> from,
Class<? extends RawEntity<?>> to)
|
|
static Method |
Common.getPrimaryKeyAccessor(Class<? extends RawEntity<?>> type)
|
|
static
|
Common.getPrimaryKeyClassType(Class<? extends RawEntity<K>> type)
|
|
static String |
Common.getPrimaryKeyField(Class<? extends RawEntity<?>> type,
FieldNameConverter converter)
|
|
static Method |
Common.getPrimaryKeyMethod(Class<? extends RawEntity<?>> type)
|
|
static
|
Common.getPrimaryKeyType(Class<? extends RawEntity<K>> type)
|
|
static List<String> |
Common.getSearchableFields(EntityManager manager,
Class<? extends RawEntity<?>> type)
|
|
static Set<Method> |
Common.getValueFieldsMethods(Class<? extends RawEntity<?>> entity,
FieldNameConverter converter)
Gets all the methods of an entity that correspond to a value field. |
|
static Set<String> |
Common.getValueFieldsNames(Class<? extends RawEntity<?>> entity,
FieldNameConverter converter)
|
|
Class<? extends RawEntity<?>> |
PolymorphicTypeMapper.invert(Class<? extends RawEntity<?>> parent,
String type)
Retrieves the entity type which corresponds to the given polymorphic type flag value as a subtype of the specified parent entity type. |
|
Class<? extends RawEntity<?>> |
DefaultPolymorphicTypeMapper.invert(Class<? extends RawEntity<?>> parent,
String type)
|
|
Query |
Query.join(Class<? extends RawEntity<?>> join)
|
|
Query |
Query.join(Class<? extends RawEntity<?>> join,
String on)
|
|
void |
Query.setJoins(Map<Class<? extends RawEntity<?>>,String> joins)
|
|
void |
Query.setTableType(Class<? extends RawEntity<?>> tableType)
|
|
protected
|
Query.toSQL(Class<? extends RawEntity<K>> tableType,
DatabaseProvider provider,
TableNameConverter converter,
FieldNameConverter fieldConverter,
boolean count)
|
Constructor parameters in net.java.ao with type arguments of type RawEntity | |
---|---|
DefaultPolymorphicTypeMapper(Map<Class<? extends RawEntity<?>>,String> mappings)
Creates a new instance with the specified {type => flag} mappings. |
Uses of RawEntity in net.java.ao.cache |
---|
Methods in net.java.ao.cache with type parameters of type RawEntity | ||
---|---|---|
|
RelationsCache.get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields)
|
|
|
RAMRelationsCache.get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields)
|
Methods in net.java.ao.cache that return RawEntity | ||
---|---|---|
|
RelationsCache.get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields)
|
|
|
RAMRelationsCache.get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields)
|
Methods in net.java.ao.cache with parameters of type RawEntity | ||
---|---|---|
CacheLayer |
RAMCache.createCacheLayer(RawEntity<?> entity)
|
|
CacheLayer |
Cache.createCacheLayer(RawEntity<?> entity)
Retrieves a CacheLayer instance which corresponds to the given
entity. |
|
|
RelationsCache.get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields)
|
|
|
RAMRelationsCache.get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RelationsCache.remove(RawEntity<?> entity,
String[] fields)
|
|
void |
RAMRelationsCache.remove(RawEntity<?> entity,
String[] fields)
|
Method parameters in net.java.ao.cache with type arguments of type RawEntity | ||
---|---|---|
|
RelationsCache.get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields)
|
|
|
RAMRelationsCache.get(RawEntity<?> from,
Class<T> toType,
Class<? extends RawEntity<?>> throughType,
String[] fields)
|
|
void |
CacheLayer.markToFlush(Class<? extends RawEntity<?>> type)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
Class<? extends RawEntity<?>> toType,
String[] fields)
|
Uses of RawEntity in net.java.ao.schema |
---|
Method parameters in net.java.ao.schema with type arguments of type RawEntity | |
---|---|
String |
TableNameConverter.getName(Class<? extends RawEntity<?>> clazz)
Generates a table name to correspond with the specified class. |
String |
TableAnnotationTableNameConverter.getName(Class<? extends RawEntity<?>> entityClass)
Gets the name of the table either from the Table annotation if present or from the
delegate . |
String |
CanonicalClassNameTableNameConverter.getName(Class<? extends RawEntity<?>> entityClass)
|
String |
CachingTableNameConverter.getName(Class<? extends RawEntity<?>> entityClass)
|
static DDLField[] |
SchemaGenerator.parseFields(Class<? extends RawEntity<?>> clazz,
FieldNameConverter fieldConverter)
Not intended for public usage. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |