|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kodo.runtime.FetchConfiguration
public class FetchConfiguration
A Kodo 3.x backwards-compatible interface to fetch configuration.
Field Summary | |
---|---|
static int |
DEFAULT
Deprecated. |
static int |
EAGER_FETCH_MULTIPLE
Deprecated. |
static int |
EAGER_FETCH_NONE
Deprecated. |
static int |
EAGER_FETCH_SINGLE
Deprecated. |
static int |
EAGER_JOIN
Deprecated. |
static int |
EAGER_NONE
Deprecated. |
static int |
EAGER_PARALLEL
Deprecated. |
static String |
FETCH_GROUP_ALL
Deprecated. |
static String |
FETCH_GROUP_DEFAULT
Deprecated. |
static int |
QUERY_FLUSH_FALSE
Deprecated. |
static int |
QUERY_FLUSH_TRUE
Deprecated. |
static int |
QUERY_FLUSH_WITH_CONNECTION
Deprecated. |
Fields inherited from interface org.apache.openjpa.kernel.LockLevels |
---|
LOCK_NONE, LOCK_READ, LOCK_WRITE |
Fields inherited from interface org.apache.openjpa.kernel.QueryFlushModes |
---|
FLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTION |
Constructor Summary | |
---|---|
FetchConfiguration(KodoPersistenceManager pm,
FetchConfiguration fetch)
Deprecated. |
Method Summary | |
---|---|
boolean |
addFetchGroup(String group)
Deprecated. |
boolean |
addFetchGroups(Collection groups)
Deprecated. |
boolean |
addFetchGroups(String[] groups)
Deprecated. |
boolean |
addField(Class cls,
String field)
Deprecated. |
boolean |
addField(String field)
Deprecated. |
boolean |
addFields(Class cls,
Collection fields)
Deprecated. |
boolean |
addFields(Class cls,
String[] fields)
Deprecated. |
boolean |
addFields(Collection fields)
Deprecated. |
boolean |
addFields(String[] fields)
Deprecated. |
void |
clearFetchGroups()
Deprecated. |
void |
clearFields()
Deprecated. |
Object |
clone()
Deprecated. |
int |
getEagerFetchMode()
Deprecated. |
int |
getFetchBatchSize()
Deprecated. |
Set |
getFetchGroups()
Deprecated. |
Set |
getFields()
Deprecated. |
int |
getFlushBeforeQueries()
Deprecated. |
int |
getLockTimeout()
Deprecated. |
KodoPersistenceManager |
getPersistenceManager()
Deprecated. |
int |
getReadLockLevel()
Deprecated. |
int |
getSubclassFetchMode()
Deprecated. |
int |
getWriteLockLevel()
Deprecated. |
boolean |
hasFetchGroup(String group)
Deprecated. |
boolean |
hasField(Class cls,
String field)
Deprecated. |
boolean |
hasField(String field)
Deprecated. |
boolean |
isQueryCacheEnabled()
Deprecated. |
boolean |
removeFetchGroup(String group)
Deprecated. |
boolean |
removeFetchGroups(Collection groups)
Deprecated. |
boolean |
removeFetchGroups(String[] groups)
Deprecated. |
boolean |
removeField(Class cls,
String field)
Deprecated. |
boolean |
removeField(String field)
Deprecated. |
boolean |
removeFields(Class cls,
Collection fields)
Deprecated. |
boolean |
removeFields(Class cls,
String[] fields)
Deprecated. |
boolean |
removeFields(Collection fields)
Deprecated. |
boolean |
removeFields(String[] fields)
Deprecated. |
void |
resetFetchGroups()
Deprecated. |
void |
setEagerFetchMode(int mode)
Deprecated. |
void |
setFetchBatchSize(int fetchBatchSize)
Deprecated. |
void |
setFlushBeforeQueries(int flush)
Deprecated. |
void |
setLockTimeout(int timeout)
Deprecated. |
void |
setQueryCacheEnabled(boolean cache)
Deprecated. |
void |
setReadLockLevel(int level)
Deprecated. |
void |
setSubclassFetchMode(int mode)
Deprecated. |
void |
setWriteLockLevel(int level)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT
public static final String FETCH_GROUP_DEFAULT
public static final String FETCH_GROUP_ALL
public static final int EAGER_NONE
public static final int EAGER_JOIN
public static final int EAGER_PARALLEL
public static final int EAGER_FETCH_NONE
public static final int EAGER_FETCH_SINGLE
public static final int EAGER_FETCH_MULTIPLE
public static final int QUERY_FLUSH_TRUE
public static final int QUERY_FLUSH_FALSE
public static final int QUERY_FLUSH_WITH_CONNECTION
Constructor Detail |
---|
public FetchConfiguration(KodoPersistenceManager pm, FetchConfiguration fetch)
Method Detail |
---|
public KodoPersistenceManager getPersistenceManager()
public int getEagerFetchMode()
public void setEagerFetchMode(int mode)
public int getSubclassFetchMode()
public void setSubclassFetchMode(int mode)
public int getFetchBatchSize()
public void setFetchBatchSize(int fetchBatchSize)
public boolean isQueryCacheEnabled()
public void setQueryCacheEnabled(boolean cache)
public int getFlushBeforeQueries()
public void setFlushBeforeQueries(int flush)
public Set getFetchGroups()
public boolean hasFetchGroup(String group)
public boolean addFetchGroup(String group)
public boolean addFetchGroups(String[] groups)
public boolean addFetchGroups(Collection groups)
public boolean removeFetchGroup(String group)
public boolean removeFetchGroups(String[] groups)
public boolean removeFetchGroups(Collection groups)
public void clearFetchGroups()
public void resetFetchGroups()
public Set getFields()
public boolean hasField(String field)
public boolean hasField(Class cls, String field)
public boolean addField(String field)
public boolean addField(Class cls, String field)
public boolean addFields(String[] fields)
public boolean addFields(Class cls, String[] fields)
public boolean addFields(Collection fields)
public boolean addFields(Class cls, Collection fields)
public boolean removeField(String field)
public boolean removeField(Class cls, String field)
public boolean removeFields(String[] fields)
public boolean removeFields(Class cls, String[] fields)
public boolean removeFields(Collection fields)
public boolean removeFields(Class cls, Collection fields)
public void clearFields()
public int getLockTimeout()
public void setLockTimeout(int timeout)
public int getReadLockLevel()
public void setReadLockLevel(int level)
public int getWriteLockLevel()
public void setWriteLockLevel(int level)
public Object clone()
clone
in class Object
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |