|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Extent<T>
An extent is a logical view of all instances of a class.
Method Summary | |
---|---|
void |
closeAll()
Close all open iterators that are consuming database resources. |
Class<T> |
getElementClass()
The extent's element type. |
OpenJPAEntityManager |
getEntityManager()
The owning entity manager. |
FetchPlan |
getFetchPlan()
Fetch configuration for controlling how iterated objects are loaded. |
boolean |
getIgnoreChanges()
Whether the extent sees inserts and deletes in the current transaction. |
boolean |
hasSubclasses()
Whether the extent includes subclasses. |
List<T> |
list()
List the extent contents. |
void |
setIgnoreChanges(boolean ignoreChanges)
Whether the extent sees inserts and deletes in the current transaction. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Class<T> getElementClass()
boolean hasSubclasses()
OpenJPAEntityManager getEntityManager()
FetchPlan getFetchPlan()
boolean getIgnoreChanges()
void setIgnoreChanges(boolean ignoreChanges)
List<T> list()
void closeAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |