|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.AbstractExtent
org.jpox.store.rdbms.extent.AbstractRDBMSExtent
org.jpox.store.rdbms.extent.ClassViewExtent
public class ClassViewExtent
An Extent of all persistent objects backed by a view.
| Field Summary | |
|---|---|
protected static org.jpox.util.Localiser |
LOCALISER_RDBMS
Localised messages |
| Fields inherited from class org.jpox.store.rdbms.extent.AbstractRDBMSExtent |
|---|
query, queryResultsByIterator |
| Fields inherited from class org.jpox.store.AbstractExtent |
|---|
candidateClass, cmd, LOCALISER, om, storeMgr, subclasses |
| Constructor Summary | |
|---|---|
ClassViewExtent(org.jpox.ObjectManager om,
org.jpox.store.mapped.DatastoreClass view,
java.lang.Class cls,
boolean subclasses,
org.jpox.metadata.AbstractClassMetaData cmd)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
isEmpty()
Returns true if this collection contains no elements. |
org.jpox.store.mapped.expression.QueryExpression |
newQueryStatement()
Create a new query to search for the candidate classes etc. |
org.jpox.store.mapped.expression.QueryExpression |
newQueryStatement(java.lang.Class candidateClass,
org.jpox.store.mapped.DatastoreIdentifier candidateAlias)
Create a query to search for the candidateClass and subclasses if true |
org.jpox.store.query.ResultObjectFactory |
newResultObjectFactory(org.jpox.store.mapped.expression.QueryExpression stmt,
boolean ignoreCache,
java.lang.Class resultClass,
boolean useFetchPlan)
Create a new factory for objects from the ResultSet. |
| Methods inherited from class org.jpox.store.rdbms.extent.AbstractRDBMSExtent |
|---|
close, closeAll, getFetchPlan, iterator |
| Methods inherited from class org.jpox.store.AbstractExtent |
|---|
getCandidateClass, getObjectManager, hasSubclasses, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final org.jpox.util.Localiser LOCALISER_RDBMS
| Constructor Detail |
|---|
public ClassViewExtent(org.jpox.ObjectManager om,
org.jpox.store.mapped.DatastoreClass view,
java.lang.Class cls,
boolean subclasses,
org.jpox.metadata.AbstractClassMetaData cmd)
om - Persistence Managerview - The viewcls - Candidate classsubclasses - Whether to include subclassescmd - MetaData for the candidate class| Method Detail |
|---|
public org.jpox.store.mapped.expression.QueryExpression newQueryStatement()
newQueryStatement in interface org.jpox.store.mapped.query.Queryable
public org.jpox.store.mapped.expression.QueryExpression newQueryStatement(java.lang.Class candidateClass,
org.jpox.store.mapped.DatastoreIdentifier candidateAlias)
newQueryStatement in interface org.jpox.store.mapped.query.QueryablecandidateClass - The class to usecandidateAlias - Alias for the candidate
public org.jpox.store.query.ResultObjectFactory newResultObjectFactory(org.jpox.store.mapped.expression.QueryExpression stmt,
boolean ignoreCache,
java.lang.Class resultClass,
boolean useFetchPlan)
newResultObjectFactory in interface org.jpox.store.mapped.query.Queryablestmt - The Query StatementignoreCache - Whether to ignore dirty objectsresultClass - Whether to create objects of a particular classuseFetchPlan - whether to use the fetch plan to retrieve fields in the same query
public boolean isEmpty()
isEmpty in interface org.jpox.store.mapped.query.Queryable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||