|
||||||||||
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(java.lang.Class<T> type,
DBParam... params)
Creates a new entity of the specified type with the optionally specified initial parameters. |
|
|
EntityManager.create(java.lang.Class<T> type,
java.util.Map<java.lang.String,java.lang.Object> params)
Creates and INSERTs a new entity of the specified type with the given map of parameters. |
|
static
|
Common.createPeer(EntityManager manager,
java.lang.Class<T> type,
K key)
|
|
|
EntityManager.find(java.lang.Class<T> type)
Returns all entities of the given type. |
|
|
EntityManager.find(java.lang.Class<T> type,
Query query)
Selects all entities matching the given type and Query . |
|
|
EntityManager.find(java.lang.Class<T> type,
java.lang.String criteria,
java.lang.Object... parameters)
Convenience method to select all entities of the given type with the specified, parameterized criteria. |
|
|
EntityManager.find(java.lang.Class<T> type,
java.lang.String field,
Query query)
Selects all entities of the specified type which match the given Query . |
|
|
EntityManager.findWithSQL(java.lang.Class<T> type,
java.lang.String keyField,
java.lang.String sql,
java.lang.Object... parameters)
Executes the specified SQL and extracts the given key field, wrapping each row into a instance of the specified type. |
|
|
EntityManager.get(java.lang.Class<T> type,
K... keys)
Returns an array of entities of the specified type corresponding to the varargs primary keys. |
|
|
EntityManager.get(java.lang.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
|
EntityManager.getAndInstantiate(java.lang.Class<T> type,
K key)
Creates a new instance of the entity of the specified type corresponding to the given primary key. |
|
protected
|
SearchableEntityManager.getAndInstantiate(java.lang.Class<T> type,
K key)
|
|
|
RawEntity.getEntityType()
Returns the actual Class instance which corresponds to the
original entity interface. |
|
protected
|
EntityManager.peer(java.lang.Class<T> type,
K... keys)
|
|
protected
|
EntityManager.peer(java.lang.Class<T> type,
K key)
|
|
|
SearchableEntityManager.search(java.lang.Class<T> type,
java.lang.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(java.lang.Class<T> type)
Returns all entities of the given type. |
|
|
EntityManager.find(java.lang.Class<T> type,
Query query)
Selects all entities matching the given type and Query . |
|
|
EntityManager.find(java.lang.Class<T> type,
java.lang.String criteria,
java.lang.Object... parameters)
Convenience method to select all entities of the given type with the specified, parameterized criteria. |
|
|
EntityManager.find(java.lang.Class<T> type,
java.lang.String field,
Query query)
Selects all entities of the specified type which match the given Query . |
|
|
EntityManager.findWithSQL(java.lang.Class<T> type,
java.lang.String keyField,
java.lang.String sql,
java.lang.Object... parameters)
Executes the specified SQL and extracts the given key field, wrapping each row into a instance of the specified type. |
|
|
EntityManager.get(java.lang.Class<T> type,
K... keys)
Returns an array of entities of the specified type corresponding to the varargs primary keys. |
|
protected
|
EntityManager.peer(java.lang.Class<T> type,
K... keys)
|
|
|
SearchableEntityManager.search(java.lang.Class<T> type,
java.lang.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 | |
---|---|
java.util.Map<java.lang.Class<? extends RawEntity<?>>,java.lang.String> |
Query.getJoins()
|
java.lang.Class<? extends RawEntity<?>> |
Query.getTableType()
|
java.lang.Class<? extends RawEntity<?>> |
DefaultPolymorphicTypeMapper.invert(java.lang.Class<? extends RawEntity<?>> parent,
java.lang.String type)
|
java.lang.Class<? extends RawEntity<?>> |
PolymorphicTypeMapper.invert(java.lang.Class<? extends RawEntity<?>> parent,
java.lang.String type)
Retrieves the entity type which corresponds to the given polymorphic type flag value as a subtype of the specified parent entity type. |
Methods in net.java.ao with parameters of type RawEntity | ||
---|---|---|
void |
SearchableEntityManager.addToIndex(RawEntity<?> entity)
Adds the entity instance to the index. |
|
void |
EntityManager.delete(RawEntity<?>... entities)
Deletes the specified entities from the database. |
|
void |
SearchableEntityManager.delete(RawEntity<?>... entities)
|
|
boolean |
EntityProxy.equalsImpl(RawEntity<K> proxy,
java.lang.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 | ||
---|---|---|
java.lang.String |
DefaultPolymorphicTypeMapper.convert(java.lang.Class<? extends RawEntity<?>> type)
|
|
java.lang.String |
PolymorphicTypeMapper.convert(java.lang.Class<? extends RawEntity<?>> type)
Retrieves the polymorphic type flag value which corresponds to the specified type. |
|
|
EntityManager.count(java.lang.Class<? extends RawEntity<K>> type)
Counts all entities of the specified type. |
|
|
EntityManager.count(java.lang.Class<? extends RawEntity<K>> type,
Query query)
Counts all entities of the specified type matching the given Query
instance. |
|
|
EntityManager.count(java.lang.Class<? extends RawEntity<K>> type,
java.lang.String criteria,
java.lang.Object... parameters)
Counts all entities of the specified type matching the given criteria and parameters. |
|
Query |
Query.from(java.lang.Class<? extends RawEntity<?>> tableType)
|
|
java.lang.String[] |
Query.getCanonicalFields(java.lang.Class<? extends RawEntity<?>> type,
FieldNameConverter converter)
|
|
static java.lang.String[] |
Common.getMappingFields(FieldNameConverter converter,
java.lang.Class<? extends RawEntity<?>> from,
java.lang.Class<? extends RawEntity<?>> to)
|
|
static java.lang.String[] |
Common.getMappingFields(FieldNameConverter converter,
java.lang.Class<? extends RawEntity<?>> from,
java.lang.Class<? extends RawEntity<?>> to)
|
|
static java.lang.String[] |
Common.getPolymorphicFieldNames(FieldNameConverter converter,
java.lang.Class<? extends RawEntity<?>> from,
java.lang.Class<? extends RawEntity<?>> to)
|
|
static java.lang.String[] |
Common.getPolymorphicFieldNames(FieldNameConverter converter,
java.lang.Class<? extends RawEntity<?>> from,
java.lang.Class<? extends RawEntity<?>> to)
|
|
static java.lang.reflect.Method |
Common.getPrimaryKeyAccessor(java.lang.Class<? extends RawEntity<?>> type)
|
|
static
|
Common.getPrimaryKeyClassType(java.lang.Class<? extends RawEntity<K>> type)
|
|
static java.lang.String |
Common.getPrimaryKeyField(java.lang.Class<? extends RawEntity<?>> type,
FieldNameConverter converter)
|
|
static java.lang.reflect.Method |
Common.getPrimaryKeyMethod(java.lang.Class<? extends RawEntity<?>> type)
|
|
static
|
Common.getPrimaryKeyType(java.lang.Class<? extends RawEntity<K>> type)
|
|
static java.util.List<java.lang.String> |
Common.getSearchableFields(EntityManager manager,
java.lang.Class<? extends RawEntity<?>> type)
|
|
java.lang.Class<? extends RawEntity<?>> |
DefaultPolymorphicTypeMapper.invert(java.lang.Class<? extends RawEntity<?>> parent,
java.lang.String type)
|
|
java.lang.Class<? extends RawEntity<?>> |
PolymorphicTypeMapper.invert(java.lang.Class<? extends RawEntity<?>> parent,
java.lang.String type)
Retrieves the entity type which corresponds to the given polymorphic type flag value as a subtype of the specified parent entity type. |
|
Query |
Query.join(java.lang.Class<? extends RawEntity<?>> join)
|
|
Query |
Query.join(java.lang.Class<? extends RawEntity<?>> join,
java.lang.String on)
|
|
void |
Query.setJoins(java.util.Map<java.lang.Class<? extends RawEntity<?>>,java.lang.String> joins)
|
|
void |
Query.setTableType(java.lang.Class<? extends RawEntity<?>> tableType)
|
|
protected
|
Query.toSQL(java.lang.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(java.util.Map<java.lang.Class<? extends RawEntity<?>>,java.lang.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 | ||
---|---|---|
|
RAMRelationsCache.get(RawEntity<?> from,
java.lang.Class<T> toType,
java.lang.Class<? extends RawEntity<?>> throughType,
java.lang.String[] fields)
|
|
|
RelationsCache.get(RawEntity<?> from,
java.lang.Class<T> toType,
java.lang.Class<? extends RawEntity<?>> throughType,
java.lang.String[] fields)
|
Methods in net.java.ao.cache that return RawEntity | ||
---|---|---|
|
RAMRelationsCache.get(RawEntity<?> from,
java.lang.Class<T> toType,
java.lang.Class<? extends RawEntity<?>> throughType,
java.lang.String[] fields)
|
|
|
RelationsCache.get(RawEntity<?> from,
java.lang.Class<T> toType,
java.lang.Class<? extends RawEntity<?>> throughType,
java.lang.String[] fields)
|
Methods in net.java.ao.cache with parameters of type RawEntity | ||
---|---|---|
CacheLayer |
Cache.createCacheLayer(RawEntity<?> entity)
Retrieves a CacheLayer instance which corresponds to the given
entity. |
|
CacheLayer |
RAMCache.createCacheLayer(RawEntity<?> entity)
|
|
|
RAMRelationsCache.get(RawEntity<?> from,
java.lang.Class<T> toType,
java.lang.Class<? extends RawEntity<?>> throughType,
java.lang.String[] fields)
|
|
|
RelationsCache.get(RawEntity<?> from,
java.lang.Class<T> toType,
java.lang.Class<? extends RawEntity<?>> throughType,
java.lang.String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RAMRelationsCache.remove(RawEntity<?> entity,
java.lang.String[] fields)
|
|
void |
RelationsCache.remove(RawEntity<?> entity,
java.lang.String[] fields)
|
Method parameters in net.java.ao.cache with type arguments of type RawEntity | ||
---|---|---|
|
RAMRelationsCache.get(RawEntity<?> from,
java.lang.Class<T> toType,
java.lang.Class<? extends RawEntity<?>> throughType,
java.lang.String[] fields)
|
|
|
RelationsCache.get(RawEntity<?> from,
java.lang.Class<T> toType,
java.lang.Class<? extends RawEntity<?>> throughType,
java.lang.String[] fields)
|
|
void |
CacheLayer.markToFlush(java.lang.Class<? extends RawEntity<?>> type)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RAMRelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
|
void |
RelationsCache.put(RawEntity<?> from,
RawEntity<?>[] through,
java.lang.Class<? extends RawEntity<?>> throughType,
RawEntity<?>[] to,
java.lang.Class<? extends RawEntity<?>> toType,
java.lang.String[] fields)
|
Uses of RawEntity in net.java.ao.schema |
---|
Method parameters in net.java.ao.schema with type arguments of type RawEntity | |
---|---|
void |
AbstractTableNameConverter.addClassMapping(java.lang.Class<? extends RawEntity<?>> clazz,
java.lang.String name)
Adds an explicit mapping between a specific entity type and a corresponding table name. |
void |
AbstractTableNameConverter.addClassMappings(java.util.Map<java.lang.Class<? extends RawEntity<?>>,java.lang.String> mappings)
Convenience method to add multiple class mappings in a single method call. |
protected abstract java.lang.String |
AbstractTableNameConverter.convertName(java.lang.Class<? extends RawEntity<?>> entity)
Performs the actual operation of converting a class type into a proper table name. |
protected java.lang.String |
CamelCaseTableNameConverter.convertName(java.lang.Class<? extends RawEntity<?>> type)
|
protected java.lang.String |
PluralizedNameConverter.convertName(java.lang.Class<? extends RawEntity<?>> entity)
|
protected java.lang.String |
UnderscoreTableNameConverter.convertName(java.lang.Class<? extends RawEntity<?>> entity)
|
java.lang.String |
AbstractTableNameConverter.getName(java.lang.Class<? extends RawEntity<?>> entity)
Returns the corresponding table name for the given entity type. |
java.lang.String |
TableNameConverter.getName(java.lang.Class<? extends RawEntity<?>> clazz)
Generates a table name to correspond with the specified class. |
static DDLField[] |
SchemaGenerator.parseFields(java.lang.Class<? extends RawEntity<?>> clazz,
FieldNameConverter fieldConverter)
Not intended for public usage. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |