public abstract class Resolver extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
<DAO extends DataAccessObject<?>> |
resolveAll(EditingContext aContext,
EntityBean aTemplate) |
<DAO extends DataAccessObject<?>> |
resolveOne(EditingContext aContext,
EntityBean aKey)
This method only assumes that the input
EntityBean contains
enough data to uniquely identify the object in a database - its primary
key attribute must be set. |
<DAO extends DataAccessObject<?>> |
resolveSet(EditingContext aContext,
String[] theWhereFields,
EntityBean aQuery) |
<EB extends EntityBean,DAO extends DataAccessObject<?>> |
resolveToMany(EditingContext aContext,
EntityBean.Relationship<?,EB> aRelationship,
EB aPK) |
<EB extends EntityBean,DAO extends DataAccessObject<?>> |
resolveToOne(EditingContext aContext,
EntityBean.Relationship<EB,?> aRelationship,
EB aFK) |
public final <DAO extends DataAccessObject<?>> List<DAO> resolveAll(EditingContext aContext, EntityBean aTemplate)
public final <DAO extends DataAccessObject<?>> DAO resolveOne(EditingContext aContext, EntityBean aKey)
EntityBean
contains
enough data to uniquely identify the object in a database - its primary
key attribute must be set. In terms of the other atributes; the bean may
be incomplete. The resulting DataSnapshot
will be complete.public final <DAO extends DataAccessObject<?>> List<DAO> resolveSet(EditingContext aContext, String[] theWhereFields, EntityBean aQuery)
public final <EB extends EntityBean,DAO extends DataAccessObject<?>> List<DAO> resolveToMany(EditingContext aContext, EntityBean.Relationship<?,EB> aRelationship, EB aPK)
public final <EB extends EntityBean,DAO extends DataAccessObject<?>> DAO resolveToOne(EditingContext aContext, EntityBean.Relationship<EB,?> aRelationship, EB aFK)