Uses of Interface
net.java.ao.RawEntity

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
<T extends RawEntity<K>,K>
T
EntityManager.create(Class<T> type, DBParam... params)
          Creates a new entity of the specified type with the optionally specified initial parameters.
<T extends RawEntity<K>,K>
T
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
<T extends RawEntity<K>,K>
T
Common.createPeer(EntityManager manager, Class<T> type, K key)
           
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type)
          Returns all entities of the given type.
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type, Query query)
          Selects all entities matching the given type and Query.
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type, String criteria, Object... parameters)
          Convenience method to select all entities of the given type with the specified, parameterized criteria.
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type, String field, Query query)
          Selects all entities of the specified type which match the given Query.
<T extends RawEntity<K>,K>
T[]
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.
<T extends RawEntity<K>,K>
T[]
EntityManager.get(Class<T> type, K... keys)
          Returns an array of entities of the specified type corresponding to the varargs primary keys.
<T extends RawEntity<K>,K>
T
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
<T extends RawEntity<K>,K>
T
SearchableEntityManager.getAndInstantiate(Class<T> type, K key)
           
protected
<T extends RawEntity<K>,K>
T
EntityManager.getAndInstantiate(Class<T> type, K key)
          Creates a new instance of the entity of the specified type corresponding to the given primary key.
<X extends RawEntity<T>>
Class<X>
RawEntity.getEntityType()
          Returns the actual Class instance which corresponds to the original entity interface.
protected
<T extends RawEntity<K>,K>
T[]
EntityManager.peer(Class<T> type, K... keys)
           
protected
<T extends RawEntity<K>,K>
T
EntityManager.peer(Class<T> type, K key)
           
<T extends RawEntity<K>,K>
T[]
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
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type)
          Returns all entities of the given type.
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type, Query query)
          Selects all entities matching the given type and Query.
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type, String criteria, Object... parameters)
          Convenience method to select all entities of the given type with the specified, parameterized criteria.
<T extends RawEntity<K>,K>
T[]
EntityManager.find(Class<T> type, String field, Query query)
          Selects all entities of the specified type which match the given Query.
<T extends RawEntity<K>,K>
T[]
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.
<T extends RawEntity<K>,K>
T[]
EntityManager.get(Class<T> type, K... keys)
          Returns an array of entities of the specified type corresponding to the varargs primary keys.
protected
<T extends RawEntity<K>,K>
T[]
EntityManager.peer(Class<T> type, K... keys)
           
<T extends RawEntity<K>,K>
T[]
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
<K> K
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)
           
<K> int
EntityManager.count(Class<? extends RawEntity<K>> type)
          Counts all entities of the specified type.
<K> int
EntityManager.count(Class<? extends RawEntity<K>> type, Query query)
          Counts all entities of the specified type matching the given Query instance.
<K> int
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
<K> Class<K>
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
<K> DatabaseType<K>
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
<K> String
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
<T extends RawEntity<K>,K>
T[]
RelationsCache.get(RawEntity<?> from, Class<T> toType, Class<? extends RawEntity<?>> throughType, String[] fields)
           
<T extends RawEntity<K>,K>
T[]
RAMRelationsCache.get(RawEntity<?> from, Class<T> toType, Class<? extends RawEntity<?>> throughType, String[] fields)
           
 

Methods in net.java.ao.cache that return RawEntity
<T extends RawEntity<K>,K>
T[]
RelationsCache.get(RawEntity<?> from, Class<T> toType, Class<? extends RawEntity<?>> throughType, String[] fields)
           
<T extends RawEntity<K>,K>
T[]
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.
<T extends RawEntity<K>,K>
T[]
RelationsCache.get(RawEntity<?> from, Class<T> toType, Class<? extends RawEntity<?>> throughType, String[] fields)
           
<T extends RawEntity<K>,K>
T[]
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
<T extends RawEntity<K>,K>
T[]
RelationsCache.get(RawEntity<?> from, Class<T> toType, Class<? extends RawEntity<?>> throughType, String[] fields)
           
<T extends RawEntity<K>,K>
T[]
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.
 



Copyright © 2007-2011. All Rights Reserved.