|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.FetchGroupManager
public class FetchGroupManager
Manager for dynamic fetch groups. Manages a set of fetch groups with each FetchGroup for a particular class with a name.
| Constructor Summary | |
|---|---|
FetchGroupManager(OMFContext ctx)
Constructor for a FetchGroupManager for a particular OMFContext. |
|
| Method Summary | |
|---|---|
void |
addFetchGroup(FetchGroup grp)
Method to add a dynamic fetch group. |
void |
clearFetchGroups()
Clear out all fetch groups from use by this manager. |
FetchGroup |
createFetchGroup(java.lang.Class cls,
java.lang.String name)
Method to create a new FetchGroup for the class and name. |
FetchGroup |
getFetchGroup(java.lang.Class cls,
java.lang.String name)
Accessor for a fetch group for the specified class. |
java.util.Set |
getFetchGroupsWithName(java.lang.String name)
Accessor for the fetch groups for the specified name. |
void |
removeFetchGroup(FetchGroup grp)
Method to remove a dynamic FetchGroup from use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FetchGroupManager(OMFContext ctx)
ctx - The OMFContext| Method Detail |
|---|
public void addFetchGroup(FetchGroup grp)
grp - The fetch grouppublic void removeFetchGroup(FetchGroup grp)
grp - The group
public FetchGroup getFetchGroup(java.lang.Class cls,
java.lang.String name)
cls - The classname - Name of the group
public FetchGroup createFetchGroup(java.lang.Class cls,
java.lang.String name)
cls - The classname - Name of the group
public java.util.Set getFetchGroupsWithName(java.lang.String name)
name - Name of the group
public void clearFetchGroups()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||