|
SRJRCFrames v0.1.296 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EntityDescriptor | |
---|---|
de.schwarzrot.data.access | provides the working class for the anonymous Persistence layer. |
de.schwarzrot.data.access.jdbc | classes for jdbc specific data access |
de.schwarzrot.data.access.pref | preferences related data access classes |
de.schwarzrot.data.access.support | helper classes used by the data accessors |
Uses of EntityDescriptor in de.schwarzrot.data.access |
---|
Methods in de.schwarzrot.data.access that return EntityDescriptor | |
---|---|
EntityDescriptor |
Repository.getEntityDescriptor(Class<?> entityType)
|
EntityDescriptor |
EntityDescriptorAccessor.getEntityDescriptor(Class<?> entityType)
|
EntityDescriptor |
NullEntityManager.getEntityDescriptor(Class<?> entityType,
TransactionResource<?> res)
|
EntityDescriptor |
EntityManager.getEntityDescriptor(Class<?> entityType,
TransactionResource<?> res)
accessor to description instances of entities. |
Methods in de.schwarzrot.data.access with parameters of type EntityDescriptor | |
---|---|
void |
EntityHolder.removeRelated(Class<?> relatedType,
Entity parent,
EntityDescriptor ed)
remove instances from cache, that are related to given parent |
Uses of EntityDescriptor in de.schwarzrot.data.access.jdbc |
---|
Methods in de.schwarzrot.data.access.jdbc that return EntityDescriptor | |
---|---|
EntityDescriptor |
JDBCEntityManager.getEntityDescriptor(Class<?> entityType,
Connection conn)
|
EntityDescriptor |
JDBCEntityManager.getEntityDescriptor(Class<?> entityType,
TransactionResource<?> res)
|
Methods in de.schwarzrot.data.access.jdbc with parameters of type EntityDescriptor | ||
---|---|---|
protected int |
JDBCEntityManager.find(List<?> resultList,
Class<?> entityType,
List<ConditionElement> args,
EntityDescriptor ed,
Connection conn,
DbUtil dbUtil,
boolean readRelated,
Collection<SortInfo> orderSequence)
internal call to read a number of entities. |
|
protected void |
JDBCEntityIntrospector.initForDescriptor(EntityDescriptor ed,
Object handle)
|
|
protected
|
JDBCEntityManager.instanceFromResultSet(ResultSet rs,
Connection conn,
EntityDescriptor ed,
DbUtil dbUtil,
boolean readRelated)
|
|
protected void |
JDBCEntityIntrospector.patchPropertyInfo(PropertyInfo info,
EntityDescriptor ed)
|
|
protected long |
JDBCEntityManager.queryId(EntityDescriptor ed,
Date now,
String userName,
Connection conn,
DbUtil dbUtil)
|
|
protected int |
JDBCEntityManager.readProperties(List resultList,
Class entityType,
Collection<String> properties,
List<ConditionElement> args,
EntityDescriptor ed,
Connection conn,
DbUtil dbUtil,
int maxRows,
boolean readRelated,
boolean uniq,
Collection<SortInfo> orderSequence)
|
|
protected
|
JDBCEntityManager.remove(Class<E> entityType,
List<ConditionElement> args,
EntityDescriptor ed,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.removeChildren(E instance,
EntityDescriptor ed,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.resolveGroupedUnnamedChildren(E instance,
EntityDescriptor ed,
PropertyInfo pi,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.resolveNamedChildren(E instance,
EntityDescriptor ed,
PropertyInfo pi,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.resolveReferences(E instance,
EntityDescriptor ed,
PropertyInfo pi,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.resolveRelated(EntityDescriptor ed,
E instance,
Connection conn,
DbUtil dbUtil)
resolve all relations, that could be defined for an Entity . |
|
protected
|
JDBCEntityManager.resolveSingleForeign(E instance,
EntityDescriptor ed,
PropertyInfo pi,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.resolveUnnamedChildren(E instance,
EntityDescriptor ed,
PropertyInfo pi,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.resolveWeightedReferences(E instance,
EntityDescriptor ed,
PropertyInfo pi,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.resultSet2EList(ca.odell.glazedlists.EventList<E> resultList,
ResultSet rs,
Connection conn,
EntityDescriptor ed,
DbUtil dbUtil,
int maxRows,
boolean readRelated)
|
|
protected
|
JDBCEntityManager.resultSet2List(List<E> resultList,
ResultSet rs,
Connection conn,
EntityDescriptor ed,
DbUtil dbUtil,
int maxRows,
boolean readRelated)
|
|
protected
|
JDBCEntityManager.resultSet2TrList(ca.odell.glazedlists.TransactionList<E> resultList,
ResultSet rs,
Connection conn,
EntityDescriptor ed,
DbUtil dbUtil,
int maxRows,
boolean readRelated)
|
|
protected void |
JDBCEntityManager.saveForeigns(EntityDescriptor ed,
Entity instance,
Connection conn,
DbUtil dbUtil)
|
|
protected void |
JDBCEntityManager.saveNamedChildren(EntityDescriptor ed,
Entity instance,
Connection conn,
DbUtil dbUtil)
|
|
protected
|
JDBCEntityManager.saveProperties(E instance,
Collection<String> propertyNames,
List<ConditionElement> args,
Connection conn,
DbUtil dbUtil,
EntityDescriptor ed)
|
|
protected void |
JDBCEntityManager.saveRelated(EntityDescriptor ed,
Entity instance,
Connection conn,
DbUtil dbUtil)
|
|
protected void |
JDBCEntityManager.saveSingleForeigns(EntityDescriptor ed,
Entity instance,
Connection conn,
DbUtil dbUtil)
|
|
protected void |
JDBCEntityManager.saveUnnamedChildren(EntityDescriptor ed,
Entity instance,
Connection conn,
DbUtil dbUtil)
|
|
protected void |
JDBCEntityIntrospector.setPersistenceInfo(EntityDescriptor ed,
String colName,
int colType,
int colSize,
int colDecimals)
add database model information to PropertyInfo entry and marks
that property as being persistent. |
|
protected
|
JDBCEntityManager.truncate(Connection conn,
EntityDescriptor ed,
DbUtil dbUtil)
|
|
protected void |
JDBCEntityIntrospector.validate(EntityDescriptor ed,
Object handle)
|
Uses of EntityDescriptor in de.schwarzrot.data.access.pref |
---|
Methods in de.schwarzrot.data.access.pref that return EntityDescriptor | |
---|---|
EntityDescriptor |
PreferencesEntityManager.getEntityDescriptor(Class<?> entityType,
TransactionResource<?> res)
|
Methods in de.schwarzrot.data.access.pref with parameters of type EntityDescriptor | ||
---|---|---|
protected
|
PreferencesEntityManager.fillEntity(E entity,
EntityDescriptor ed,
DataAccessor da)
|
|
PreferencesAccessor |
PreferencesManager.getPreferencesAccessor(EntityDescriptor ed)
convenience call. |
|
PreferencesAccessor |
PreferencesManager.getPreferencesAccessor(EntityDescriptor ed,
String subPath)
convenience call. |
|
void |
PreferencesEntityIntrospector.patchPropertyInfo(PropertyInfo info,
EntityDescriptor ed)
|
|
protected
|
PreferencesEntityManager.readForeigns(E any,
EntityDescriptor ed,
PreferencesManager pm)
|
|
protected
|
PreferencesEntityManager.readNamedChildren(E any,
EntityDescriptor ed,
PreferencesManager pm)
|
|
protected
|
PreferencesEntityManager.readRelated(E any,
EntityDescriptor ed,
PreferencesManager pm)
|
|
protected
|
PreferencesEntityManager.readUnnamedChildren(E any,
EntityDescriptor ed)
|
|
protected
|
PreferencesEntityManager.saveConfig(PreferencesManager pm,
E any,
EntityDescriptor ed,
boolean writeSystemConfig)
|
|
protected
|
PreferencesEntityManager.saveForeigns(PreferencesManager pm,
E any,
EntityDescriptor ed,
boolean writeSystemConfig)
|
|
protected
|
PreferencesEntityManager.saveMap(PreferencesManager pm,
E any,
String name,
Map<?,?> children,
EntityDescriptor ed,
boolean writeSystemConfig)
|
|
protected
|
PreferencesEntityManager.saveNamedChildren(PreferencesManager pm,
E any,
EntityDescriptor ed,
boolean writeSystemConfig)
|
|
protected
|
PreferencesEntityManager.saveProperties(PreferencesManager pm,
E instance,
String nodePath,
EntityDescriptor ed,
Collection<String> propertyNames,
boolean writeSystemConfig)
|
|
protected
|
PreferencesEntityManager.saveUnnamedChildren(PreferencesManager pm,
E any,
EntityDescriptor ed,
boolean writeSystemConfig)
|
Constructors in de.schwarzrot.data.access.pref with parameters of type EntityDescriptor | |
---|---|
PreferencesAccessor(PreferencesManager pm,
EntityDescriptor ed)
|
|
PreferencesAccessor(PreferencesManager prefsManager,
EntityDescriptor ed,
String subPath)
|
Uses of EntityDescriptor in de.schwarzrot.data.access.support |
---|
Methods in de.schwarzrot.data.access.support that return EntityDescriptor | |
---|---|
EntityDescriptor |
EntityIntrospector.getEntityDescriptor(Class<?> entityType,
Object handle)
ensures that entity introspection will happen only once in the lifetime of the application. |
Methods in de.schwarzrot.data.access.support with parameters of type EntityDescriptor | ||
---|---|---|
|
EntityUtils.copyProperties(E dest,
E src,
EntityDescriptor ed,
String[] propertyNames)
|
|
|
EntityUtils.createEntity(EntityDescriptor ed,
DataAccessor da,
EntityIntrospector ei)
create an entity from a resultset. |
|
protected
|
XMLExporter.exportForeigns(E instance,
EntityDescriptor ed,
Writer out)
|
|
protected
|
XMLExporter.exportNamedChildren(E instance,
EntityDescriptor ed,
Writer out)
|
|
protected
|
XMLExporter.exportRelated(E instance,
EntityDescriptor ed,
Map<String,Map<Long,Entity>> cache,
Writer out)
|
|
protected void |
XMLExporter.exportRelMap(String attrName,
Map<?,?> map,
EntityDescriptor ed,
int indent,
Writer out)
|
|
protected
|
XMLExporter.exportUnnamedChildren(E instance,
EntityDescriptor ed,
Writer out)
|
|
void |
EntityUtils.fillEntity(Entity entity,
EntityDescriptor ed,
DataAccessor da,
EntityIntrospector ei)
fills an entity instance from a resultset |
|
void |
EntityUtils.fillEntity(Entity entity,
String[] propertyNames,
EntityDescriptor ed,
DataAccessor da,
EntityIntrospector ei)
fills given properties of the entity from a resultset |
|
String |
ConditionElement.format(EntityDescriptor ed,
DbUtil du)
format the condition text with given parameters |
|
String |
AlternatingSequence.format(EntityDescriptor ed,
DbUtil du)
|
|
String |
AbstractConditionElement.format(EntityDescriptor ed,
DbUtil du)
|
|
String |
ConditionElement.format(EntityDescriptor ed,
PropertyInfo pi,
DbUtil du,
Object physValue)
format the condition text with the given parameters |
|
String |
AbstractFunctionCondtion.format(EntityDescriptor ed,
PropertyInfo pi,
DbUtil du,
Object physValue)
|
|
String |
AbstractConditionElement.format(EntityDescriptor ed,
PropertyInfo pi,
DbUtil du,
Object physValue)
|
|
String |
DbUtil.genCondition(EntityDescriptor ed,
Collection<ConditionElement> args)
generates a condition string for SQL statements |
|
String |
AbstractDbUtils.genCondition(EntityDescriptor ed,
Collection<ConditionElement> args)
|
|
|
DbUtil.genCondition(EntityDescriptor ed,
E instance,
Collection<String> fields)
generates a condition string for SQL statements |
|
|
AbstractDbUtils.genCondition(EntityDescriptor ed,
E instance,
Collection<String> fields)
|
|
String |
DbUtil.genCondition(EntityDescriptor ed,
Map<String,Object> args)
generates a condition string for SQL statements |
|
String |
AbstractDbUtils.genCondition(EntityDescriptor ed,
Map<String,Object> args)
|
|
String |
DbUtil.genInsert(EntityDescriptor ed,
Entity instance)
generates a SQL-insert statement for given instance |
|
String |
AbstractDbUtils.genInsert(EntityDescriptor ed,
Entity instance)
|
|
String |
DbUtil.genInsertIdQuery(EntityDescriptor ed,
Date dtCreated,
String userName)
generates a query for the generated autoincrement key. |
|
String |
AbstractDbUtils.genInsertIdQuery(EntityDescriptor ed,
Date dtCreated,
String userName)
|
|
String |
DbUtil.genOrder(EntityDescriptor ed,
Collection<String> properties)
generates the sorting part of a SQL query |
|
String |
AbstractDbUtils.genOrder(EntityDescriptor ed,
Collection<String> properties)
|
|
String |
DbUtil.genOrder(EntityDescriptor ed,
Collection<String> properties,
Collection<SortInfo> orderSequence)
generates the sorting part of an SQL-query. |
|
String |
AbstractDbUtils.genOrder(EntityDescriptor ed,
Collection<String> properties,
Collection<SortInfo> orderSequence)
|
|
String |
DbUtil.genRemove(EntityDescriptor ed,
Collection<ConditionElement> args)
generates a SQL delete statement |
|
String |
AbstractDbUtils.genRemove(EntityDescriptor ed,
Collection<ConditionElement> args)
|
|
String |
PgUtils.genTruncate(EntityDescriptor ed)
|
|
String |
DbUtil.genTruncate(EntityDescriptor ed)
generates a SQL statement that truncates a database table, which means, that all entries will be removed. |
|
String |
AbstractDbUtils.genTruncate(EntityDescriptor ed)
|
|
String |
DbUtil.genUpdate(EntityDescriptor ed,
Entity instance)
generates a SQL statement to change the persistent view of an entity |
|
String |
AbstractDbUtils.genUpdate(EntityDescriptor ed,
Entity instance)
|
|
String |
DbUtil.genUpdate(EntityDescriptor ed,
Entity instance,
Collection<String> fields,
boolean withCondition)
generates a SQL statement to partially change the persistent view of an entity. |
|
String |
AbstractDbUtils.genUpdate(EntityDescriptor ed,
Entity instance,
Collection<String> fields,
boolean withCondition)
|
|
String |
DbUtil.getMapped(EntityDescriptor ed,
String attributeName)
get the physical name for the given property, already quoted with the right syntax for the involved database |
|
String |
AbstractDbUtils.getMapped(EntityDescriptor ed,
String attributeName)
|
|
String |
PgUtils.getTableNameFor(EntityDescriptor ed)
|
|
String |
MyUtils.getTableNameFor(EntityDescriptor ed)
|
|
String |
DbUtil.getTableNameFor(EntityDescriptor ed)
returns the tablename for given entity |
|
protected void |
EntityIntrospector.initForDescriptor(EntityDescriptor ed,
Object handle)
empty callback for subclasses to extend introspection. |
|
protected
|
XMLExporter.investigate(E instance,
EntityDescriptor ed,
Map<String,Map<Long,Entity>> cache,
Map<String,PropertyInfo> relMap,
Writer out)
|
|
protected void |
EntityIntrospector.patchPropertyInfo(PropertyInfo info,
EntityDescriptor ed)
callback to extend/change introspection. |
|
protected
|
EntityUtils.setProperty(E instance,
String propertyName,
EntityDescriptor ed,
DataAccessor da)
|
|
protected void |
EntityIntrospector.validate(EntityDescriptor ed,
Object handle)
empty callback for subclasses to extend introspection. |
|
protected String |
PgUtils.xpandInsert(EntityDescriptor ed)
|
|
protected String |
AbstractDbUtils.xpandInsert(EntityDescriptor ed)
some databases need special keywords on insert statements to return the values of autoincrement keys. |
|
SRJRCFrames v0.1.296 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |