| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_35) on Wed Oct 10 18:40:34 CDT 2012 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| StoreContext (OpenJPA Parent POM 2.2.1 API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2012-10-10"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="StoreContext (OpenJPA Parent POM 2.2.1 API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoreContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/openjpa/kernel/StoreContext.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="StoreContext.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.openjpa.kernel</FONT> |
| <BR> |
| Interface StoreContext</H2> |
| <DL> |
| <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A>, <A HREF="../../../../org/apache/openjpa/slice/DistributedBroker.html" title="interface in org.apache.openjpa.slice">DistributedBroker</A></DD> |
| </DL> |
| <DL> |
| <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/openjpa/kernel/BrokerImpl.html" title="class in org.apache.openjpa.kernel">BrokerImpl</A>, <A HREF="../../../../org/apache/openjpa/kernel/DelegatingBroker.html" title="class in org.apache.openjpa.kernel">DelegatingBroker</A>, <A HREF="../../../../org/apache/openjpa/slice/DistributedBrokerImpl.html" title="class in org.apache.openjpa.slice">DistributedBrokerImpl</A>, <A HREF="../../../../org/apache/openjpa/kernel/FinalizingBrokerImpl.html" title="class in org.apache.openjpa.kernel">FinalizingBrokerImpl</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <B>StoreContext</B></DL> |
| </PRE> |
| |
| <P> |
| Represents a set of managed objects and their environment. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.4.0</DD> |
| <DT><B>Author:</B></DT> |
| <DD>Abe White</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#EXCLUDE_ALL">EXCLUDE_ALL</A></B></CODE> |
| |
| <BR> |
| Marker bitset to indicate that all field loads should be excluded in |
| the <code>find</code> methods of this interface.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#OID_ALLOW_NEW">OID_ALLOW_NEW</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#OID_COPY">OID_COPY</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#OID_NODELETED">OID_NODELETED</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#OID_NOVALIDATE">OID_NOVALIDATE</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#beginStore()">beginStore</A></B>()</CODE> |
| |
| <BR> |
| Begin a data store transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#embed(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.meta.ValueMetaData)">embed</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> owner, |
| <A HREF="../../../../org/apache/openjpa/meta/ValueMetaData.html" title="interface in org.apache.openjpa.meta">ValueMetaData</A> ownerMeta)</CODE> |
| |
| <BR> |
| Make the given instance embedded.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#extentIterator(java.lang.Class, boolean, org.apache.openjpa.kernel.FetchConfiguration, boolean)">extentIterator</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls, |
| boolean subs, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| boolean ignoreChanges)</CODE> |
| |
| <BR> |
| Return an iterator over all instances of the given type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)">find</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| boolean validate, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</CODE> |
| |
| <BR> |
| Find the persistence object with the given oid.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)">find</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags)</CODE> |
| |
| <BR> |
| Return the object with the given oid.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findAll(java.util.Collection, boolean, org.apache.openjpa.kernel.FindCallbacks)">findAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oids, |
| boolean validate, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</CODE> |
| |
| <BR> |
| Return the objects with the given oids.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findAll(java.util.Collection, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)">findAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oids, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags)</CODE> |
| |
| <BR> |
| Return the objects with the given oids.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#findCached(java.lang.Object, org.apache.openjpa.kernel.FindCallbacks)">findCached</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</CODE> |
| |
| <BR> |
| Return the instance for the given oid/object , or null if not |
| found in the L1 cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getAllowReferenceToSiblingContext()">getAllowReferenceToSiblingContext</A></B>()</CODE> |
| |
| <BR> |
| Affirms if this context will allow its managed instances to refer instances |
| that are managed by other contexts.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getBroker()">getBroker</A></B>()</CODE> |
| |
| <BR> |
| Return the broker for this context, if possible.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getClassLoader()">getClassLoader</A></B>()</CODE> |
| |
| <BR> |
| Return the current thread's class loader at the time this context |
| was obtained.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConfiguration()">getConfiguration</A></B>()</CODE> |
| |
| <BR> |
| Return the configuration associated with this context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnection()">getConnection</A></B>()</CODE> |
| |
| <BR> |
| Return the connection in use by the context, or a new connection if none.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory()">getConnectionFactory</A></B>()</CODE> |
| |
| <BR> |
| Return the 'JTA' ConnectionFactory, looking it up from JNDI if needed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory2()">getConnectionFactory2</A></B>()</CODE> |
| |
| <BR> |
| Return the 'NonJTA' ConnectionFactory, looking it up from JNDI if needed.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactory2Name()">getConnectionFactory2Name</A></B>()</CODE> |
| |
| <BR> |
| Return the 'NonJTA' ConnectionFactoryName.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionFactoryName()">getConnectionFactoryName</A></B>()</CODE> |
| |
| <BR> |
| Return the 'JTA' connectionFactoryName</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionPassword()">getConnectionPassword</A></B>()</CODE> |
| |
| <BR> |
| Return the connection password.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getConnectionUserName()">getConnectionUserName</A></B>()</CODE> |
| |
| <BR> |
| Return the connection user name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDeletedTypes()">getDeletedTypes</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes that have been deleted in the current |
| transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDetachState()">getDetachState</A></B>()</CODE> |
| |
| <BR> |
| Detach mode constant to determine which fields are part of the |
| detached graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()">getDirtyObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a list of current dirty instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getFetchConfiguration()">getFetchConfiguration</A></B>()</CODE> |
| |
| <BR> |
| Return the (mutable) fetch configuration for loading objects from this |
| context.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getLockLevel(java.lang.Object)">getLockLevel</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return the lock level of the specified object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/LockManager.html" title="interface in org.apache.openjpa.kernel">LockManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getLockManager()">getLockManager</A></B>()</CODE> |
| |
| <BR> |
| Return the lock manager in use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getManagedObjects()">getManagedObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a list of all managed instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getObjectId(java.lang.Object)">getObjectId</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return the oid of the given instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getObjectIdType(java.lang.Class)">getObjectIdType</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls)</CODE> |
| |
| <BR> |
| Return the application or datastore identity class the given persistent |
| class uses for object ids.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getOrderDirtyObjects()">getOrderDirtyObjects</A></B>()</CODE> |
| |
| <BR> |
| Whether to maintain the order in which objects are dirtied for |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()"><CODE>getDirtyObjects()</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPendingTransactionalObjects()">getPendingTransactionalObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a list of instances which will become transactional upon |
| the next transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPersistedTypes()">getPersistedTypes</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes that have been made persistent in the current |
| transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPopulateDataCache()">getPopulateDataCache</A></B>()</CODE> |
| |
| <BR> |
| Whether objects accessed during this transaction will be added to the |
| store cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getPostLoadOnMerge()">getPostLoadOnMerge</A></B>()</CODE> |
| |
| <BR> |
| Force sending a @PostLoad lifecycle event while merging.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getStateManager(java.lang.Object)">getStateManager</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return the state manager for the given instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html" title="class in org.apache.openjpa.kernel">DelegatingStoreManager</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getStoreManager()">getStoreManager</A></B>()</CODE> |
| |
| <BR> |
| Return the store manager in use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getTransactionalObjects()">getTransactionalObjects</A></B>()</CODE> |
| |
| <BR> |
| Return a list of current transaction instances.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getUpdatedTypes()">getUpdatedTypes</A></B>()</CODE> |
| |
| <BR> |
| Return the set of classes for objects that have been modified |
| in the current transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getVersion(java.lang.Object)">getVersion</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Returns the current version indicator for <code>o</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#hasConnection()">hasConnection</A></B>()</CODE> |
| |
| <BR> |
| Whether the broker has a dedicated connection based on the configured |
| connection retain mode and transaction status.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isActive()">isActive</A></B>()</CODE> |
| |
| <BR> |
| Whether a logical transaction is active.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isCached(java.util.List)">isCached</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oid)</CODE> |
| |
| <BR> |
| Indicate whether the oid can be found in the StoreContext's L1 cache or in the StoreManager cache.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isDeleted(java.lang.Object)">isDeleted</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is deleted.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isDirty(java.lang.Object)">isDirty</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is dirty.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isManaged()">isManaged</A></B>()</CODE> |
| |
| <BR> |
| Whether this context is using managed transactions.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isNew(java.lang.Object)">isNew</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is a newly-created instance registered |
| with <code>broker</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isPersistent(java.lang.Object)">isPersistent</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is persistent.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isStoreActive()">isStoreActive</A></B>()</CODE> |
| |
| <BR> |
| Whether a data store transaction is active.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isTrackChangesByType()">isTrackChangesByType</A></B>()</CODE> |
| |
| <BR> |
| Whether memory usage is reduced during this transaction at the expense |
| of tracking changes at the type level instead of the instance level, |
| resulting in more aggressive cache invalidation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#isTransactional(java.lang.Object)">isTransactional</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
| |
| <BR> |
| Return whether the given object is transactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#lock()">lock</A></B>()</CODE> |
| |
| <BR> |
| Synchronizes on an internal lock if the |
| <code>Multithreaded</code> flag is set to true.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#newObjectId(java.lang.Class, java.lang.Object)">newObjectId</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> val)</CODE> |
| |
| <BR> |
| Create a new object id instance from the given value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)">nontransactional</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given object non-transactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#nontransactionalAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)">nontransactionalAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given objects nontransactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#popFetchConfiguration()">popFetchConfiguration</A></B>()</CODE> |
| |
| <BR> |
| Pops the fetch configuration from the top of the stack, making the |
| next one down the active one.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#pushFetchConfiguration()">pushFetchConfiguration</A></B>()</CODE> |
| |
| <BR> |
| Pushes a new fetch configuration that inherits from the current |
| fetch configuration onto a stack, and makes the new configuration |
| the active one.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#pushFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration)">pushFetchConfiguration</A></B>(<A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fc)</CODE> |
| |
| <BR> |
| Pushes the fetch configuration argument onto a stack, and makes the new configuration |
| the active one.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">retrieve</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| boolean fgOnly, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Immediately load the given object's persistent fields.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieveAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">retrieveAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> objs, |
| boolean fgOnly, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Retrieve the given objects' persistent state.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setAllowReferenceToSiblingContext(boolean)">setAllowReferenceToSiblingContext</A></B>(boolean flag)</CODE> |
| |
| <BR> |
| Affirms if this context will allow its managed instances to refer instances |
| that are managed by other contexts.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setConnectionFactory2Name(java.lang.String)">setConnectionFactory2Name</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactory2Name)</CODE> |
| |
| <BR> |
| Set the 'NonJTA' ConnectionFactoryName.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setConnectionFactoryName(java.lang.String)">setConnectionFactoryName</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactoryName)</CODE> |
| |
| <BR> |
| Set the 'JTA' ConnectionFactoryName.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setDetachState(int)">setDetachState</A></B>(int mode)</CODE> |
| |
| <BR> |
| Detach mode constant to determine which fields are part of the |
| detached graph.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setOrderDirtyObjects(boolean)">setOrderDirtyObjects</A></B>(boolean order)</CODE> |
| |
| <BR> |
| Whether to maintain the order in which objects are dirtied for |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()"><CODE>getDirtyObjects()</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setPopulateDataCache(boolean)">setPopulateDataCache</A></B>(boolean cache)</CODE> |
| |
| <BR> |
| Whether to populate the store cache with objects used by this |
| transaction.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setPostLoadOnMerge(boolean)">setPostLoadOnMerge</A></B>(boolean allow)</CODE> |
| |
| <BR> |
| Set to <code>true</code> if the merge operation should trigger |
| a @PostLoad lifecycle event.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#setTrackChangesByType(boolean)">setTrackChangesByType</A></B>(boolean largeTransaction)</CODE> |
| |
| <BR> |
| If a large number of objects will be created, modified, or deleted |
| during this transaction setting this option to true will reduce memory |
| usage if you perform periodic flushes by tracking changes at the type |
| level instead of the instance level, resulting in more aggressive cache |
| invalidation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#transactional(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)">transactional</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| boolean updateVersion, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given object transactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#transactionalAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)">transactionalAll</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> objs, |
| boolean updateVersion, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</CODE> |
| |
| <BR> |
| Make the given objects transactional.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#unlock()">unlock</A></B>()</CODE> |
| |
| <BR> |
| Releases the internal lock.</TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="EXCLUDE_ALL"><!-- --></A><H3> |
| EXCLUDE_ALL</H3> |
| <PRE> |
| static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> <B>EXCLUDE_ALL</B></PRE> |
| <DL> |
| <DD>Marker bitset to indicate that all field loads should be excluded in |
| the <code>find</code> methods of this interface. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OID_NOVALIDATE"><!-- --></A><H3> |
| OID_NOVALIDATE</H3> |
| <PRE> |
| static final int <B>OID_NOVALIDATE</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.StoreContext.OID_NOVALIDATE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OID_NODELETED"><!-- --></A><H3> |
| OID_NODELETED</H3> |
| <PRE> |
| static final int <B>OID_NODELETED</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.StoreContext.OID_NODELETED">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OID_COPY"><!-- --></A><H3> |
| OID_COPY</H3> |
| <PRE> |
| static final int <B>OID_COPY</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.StoreContext.OID_COPY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="OID_ALLOW_NEW"><!-- --></A><H3> |
| OID_ALLOW_NEW</H3> |
| <PRE> |
| static final int <B>OID_ALLOW_NEW</B></PRE> |
| <DL> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.openjpa.kernel.StoreContext.OID_ALLOW_NEW">Constant Field Values</A></DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getBroker()"><!-- --></A><H3> |
| getBroker</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/Broker.html" title="interface in org.apache.openjpa.kernel">Broker</A> <B>getBroker</B>()</PRE> |
| <DL> |
| <DD>Return the broker for this context, if possible. Note that a broker |
| will be unavailable in remote contexts, and this method may return null. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConfiguration()"><!-- --></A><H3> |
| getConfiguration</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/conf/OpenJPAConfiguration.html" title="interface in org.apache.openjpa.conf">OpenJPAConfiguration</A> <B>getConfiguration</B>()</PRE> |
| <DL> |
| <DD>Return the configuration associated with this context. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFetchConfiguration()"><!-- --></A><H3> |
| getFetchConfiguration</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> <B>getFetchConfiguration</B>()</PRE> |
| <DL> |
| <DD>Return the (mutable) fetch configuration for loading objects from this |
| context. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="pushFetchConfiguration()"><!-- --></A><H3> |
| pushFetchConfiguration</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> <B>pushFetchConfiguration</B>()</PRE> |
| <DL> |
| <DD>Pushes a new fetch configuration that inherits from the current |
| fetch configuration onto a stack, and makes the new configuration |
| the active one. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the new fetch configuration<DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="pushFetchConfiguration(org.apache.openjpa.kernel.FetchConfiguration)"><!-- --></A><H3> |
| pushFetchConfiguration</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> <B>pushFetchConfiguration</B>(<A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fc)</PRE> |
| <DL> |
| <DD>Pushes the fetch configuration argument onto a stack, and makes the new configuration |
| the active one. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the new fetch configuration<DT><B>Since:</B></DT> |
| <DD>2.1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="popFetchConfiguration()"><!-- --></A><H3> |
| popFetchConfiguration</H3> |
| <PRE> |
| void <B>popFetchConfiguration</B>()</PRE> |
| <DL> |
| <DD>Pops the fetch configuration from the top of the stack, making the |
| next one down the active one. This returns void to avoid confusion, |
| since fetch configurations tend to be used in method-chaining |
| patterns often. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/openjpa/util/UserException.html" title="class in org.apache.openjpa.util">UserException</A></CODE> - if the fetch configuration stack is empty<DT><B>Since:</B></DT> |
| <DD>1.1.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getClassLoader()"><!-- --></A><H3> |
| getClassLoader</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A> <B>getClassLoader</B>()</PRE> |
| <DL> |
| <DD>Return the current thread's class loader at the time this context |
| was obtained. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLockManager()"><!-- --></A><H3> |
| getLockManager</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/LockManager.html" title="interface in org.apache.openjpa.kernel">LockManager</A> <B>getLockManager</B>()</PRE> |
| <DL> |
| <DD>Return the lock manager in use. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStoreManager()"><!-- --></A><H3> |
| getStoreManager</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html" title="class in org.apache.openjpa.kernel">DelegatingStoreManager</A> <B>getStoreManager</B>()</PRE> |
| <DL> |
| <DD>Return the store manager in use. This will be a wrapper around the |
| native store manager, which you can retrieve via |
| <A HREF="../../../../org/apache/openjpa/kernel/DelegatingStoreManager.html#getInnermostDelegate()"><CODE>DelegatingStoreManager.getInnermostDelegate()</CODE></A>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionUserName()"><!-- --></A><H3> |
| getConnectionUserName</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionUserName</B>()</PRE> |
| <DL> |
| <DD>Return the connection user name. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionPassword()"><!-- --></A><H3> |
| getConnectionPassword</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionPassword</B>()</PRE> |
| <DL> |
| <DD>Return the connection password. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findCached(java.lang.Object, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> |
| findCached</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>findCached</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Return the instance for the given oid/object , or null if not |
| found in the L1 cache. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oid</CODE> - the object's id |
| <DT><B>Returns:</B><DD>the cached object, or null if not cached</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> |
| find</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>find</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| boolean validate, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Find the persistence object with the given oid. If |
| <code>validate</code> is true, the broker will check the store |
| for the object, and return null if it does not exist. If |
| <code>validate</code> is false, this method never returns null. The |
| broker will either return its cached instance, attempt to create a |
| hollow instance, or throw an <code>ObjectNotFoundException</code> if |
| unable to return a hollow instance. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>validate</CODE> - if true, validate that the instance exists in the |
| store and load fetch group fields, otherwise return |
| any cached or hollow instance</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findAll(java.util.Collection, boolean, org.apache.openjpa.kernel.FindCallbacks)"><!-- --></A><H3> |
| findAll</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>findAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oids, |
| boolean validate, |
| <A HREF="../../../../org/apache/openjpa/kernel/FindCallbacks.html" title="interface in org.apache.openjpa.kernel">FindCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Return the objects with the given oids. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oids</CODE> - the oids of the objects to return |
| <DT><B>Returns:</B><DD>the objects that were looked up, in the same order as the oids |
| parameter<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, boolean, org.apache.openjpa.kernel.FindCallbacks)"><CODE>find(Object,boolean,FindCallbacks)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)"><!-- --></A><H3> |
| find</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>find</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> oid, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags)</PRE> |
| <DL> |
| <DD>Return the object with the given oid. If present, the |
| cached instance will be returned. Otherwise, the instance will be |
| initialized through the store as usual; however, in this case |
| the store will be passed the given execution data, and the |
| system will load the object according to the given fetch configuration |
| (or the context's configuration, if the given one is null). |
| Fields can optionally be excluded from required loading using the |
| <code>exclude</code> mask. By default this method does not find new |
| unflushed instances, validates, and does not throw an exception |
| if a cached instance has been deleted concurrently. These options |
| are controllable through the given <code>OID_XXX</code> flags. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findAll(java.util.Collection, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)"><!-- --></A><H3> |
| findAll</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] <B>findAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oids, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/BitSet.html?is-external=true" title="class or interface in java.util">BitSet</A> exclude, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> edata, |
| int flags)</PRE> |
| <DL> |
| <DD>Return the objects with the given oids. |
| <P> |
| <DD><DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#find(java.lang.Object, org.apache.openjpa.kernel.FetchConfiguration, java.util.BitSet, java.lang.Object, int)"><CODE>find(Object,FetchConfiguration,BitSet,Object,int)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="extentIterator(java.lang.Class, boolean, org.apache.openjpa.kernel.FetchConfiguration, boolean)"><!-- --></A><H3> |
| extentIterator</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>extentIterator</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls, |
| boolean subs, |
| <A HREF="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</A> fetch, |
| boolean ignoreChanges)</PRE> |
| <DL> |
| <DD>Return an iterator over all instances of the given type. The iterator |
| should be closed with <A HREF="../../../../org/apache/openjpa/util/ImplHelper.html#close(java.lang.Object)"><CODE>ImplHelper.close(java.lang.Object)</CODE></A> |
| when no longer needed. This method delegates to |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreManager.html#executeExtent(org.apache.openjpa.meta.ClassMetaData, boolean, org.apache.openjpa.kernel.FetchConfiguration)"><CODE>StoreManager.executeExtent(org.apache.openjpa.meta.ClassMetaData, boolean, org.apache.openjpa.kernel.FetchConfiguration)</CODE></A>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| retrieve</H3> |
| <PRE> |
| void <B>retrieve</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| boolean fgOnly, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Immediately load the given object's persistent fields. One might |
| use this action to make sure that an instance's fields are loaded |
| before transitioning it to transient. Note that this action is not |
| recursive. Any related objects that are loaded will not necessarily |
| have their fields loaded. Unmanaged target is ignored. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>fgOnly</CODE> - indicator as to whether to retrieve only fields |
| in the current fetch groups, or all fields<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><CODE>retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="retrieveAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| retrieveAll</H3> |
| <PRE> |
| void <B>retrieveAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> objs, |
| boolean fgOnly, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Retrieve the given objects' persistent state. Unmanaged targets are |
| ignored. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>fgOnly</CODE> - indicator as to whether to retrieve only fields<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><CODE>retrieve(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="embed(java.lang.Object, java.lang.Object, org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.meta.ValueMetaData)"><!-- --></A><H3> |
| embed</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> <B>embed</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> id, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> owner, |
| <A HREF="../../../../org/apache/openjpa/meta/ValueMetaData.html" title="interface in org.apache.openjpa.meta">ValueMetaData</A> ownerMeta)</PRE> |
| <DL> |
| <DD>Make the given instance embedded. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the instance to embed; may be null to create a new instance<DD><CODE>id</CODE> - the id to give the embedded state manager; may be |
| null for default<DD><CODE>owner</CODE> - the owning state manager<DD><CODE>ownerMeta</CODE> - the value in which the object is embedded |
| <DT><B>Returns:</B><DD>the state manager for the embedded instance</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getObjectIdType(java.lang.Class)"><!-- --></A><H3> |
| getObjectIdType</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> <B>getObjectIdType</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls)</PRE> |
| <DL> |
| <DD>Return the application or datastore identity class the given persistent |
| class uses for object ids. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newObjectId(java.lang.Class, java.lang.Object)"><!-- --></A><H3> |
| newObjectId</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>newObjectId</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls, |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> val)</PRE> |
| <DL> |
| <DD>Create a new object id instance from the given value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>cls</CODE> - the persistent class that uses this identity value<DD><CODE>val</CODE> - an object id instance, stringified object id, or primary |
| key value</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPersistedTypes()"><!-- --></A><H3> |
| getPersistedTypes</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?>> <B>getPersistedTypes</B>()</PRE> |
| <DL> |
| <DD>Return the set of classes that have been made persistent in the current |
| transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.3.4</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDeletedTypes()"><!-- --></A><H3> |
| getDeletedTypes</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?>> <B>getDeletedTypes</B>()</PRE> |
| <DL> |
| <DD>Return the set of classes that have been deleted in the current |
| transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.3.4</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getUpdatedTypes()"><!-- --></A><H3> |
| getUpdatedTypes</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?>> <B>getUpdatedTypes</B>()</PRE> |
| <DL> |
| <DD>Return the set of classes for objects that have been modified |
| in the current transaction. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.3.4</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getManagedObjects()"><!-- --></A><H3> |
| getManagedObjects</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getManagedObjects</B>()</PRE> |
| <DL> |
| <DD>Return a list of all managed instances. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTransactionalObjects()"><!-- --></A><H3> |
| getTransactionalObjects</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getTransactionalObjects</B>()</PRE> |
| <DL> |
| <DD>Return a list of current transaction instances. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPendingTransactionalObjects()"><!-- --></A><H3> |
| getPendingTransactionalObjects</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getPendingTransactionalObjects</B>()</PRE> |
| <DL> |
| <DD>Return a list of instances which will become transactional upon |
| the next transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDirtyObjects()"><!-- --></A><H3> |
| getDirtyObjects</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>getDirtyObjects</B>()</PRE> |
| <DL> |
| <DD>Return a list of current dirty instances. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOrderDirtyObjects()"><!-- --></A><H3> |
| getOrderDirtyObjects</H3> |
| <PRE> |
| boolean <B>getOrderDirtyObjects</B>()</PRE> |
| <DL> |
| <DD>Whether to maintain the order in which objects are dirtied for |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()"><CODE>getDirtyObjects()</CODE></A>. Default is the store manager's decision. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setOrderDirtyObjects(boolean)"><!-- --></A><H3> |
| setOrderDirtyObjects</H3> |
| <PRE> |
| void <B>setOrderDirtyObjects</B>(boolean order)</PRE> |
| <DL> |
| <DD>Whether to maintain the order in which objects are dirtied for |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#getDirtyObjects()"><CODE>getDirtyObjects()</CODE></A>. Default is the store manager's decision. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStateManager(java.lang.Object)"><!-- --></A><H3> |
| getStateManager</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/openjpa/kernel/OpenJPAStateManager.html" title="interface in org.apache.openjpa.kernel">OpenJPAStateManager</A> <B>getStateManager</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return the state manager for the given instance. Includes objects |
| made persistent in the current transaction. If <code>obj</code> is not |
| a managed type or is managed by another context, throw an exception. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getLockLevel(java.lang.Object)"><!-- --></A><H3> |
| getLockLevel</H3> |
| <PRE> |
| int <B>getLockLevel</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return the lock level of the specified object. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getVersion(java.lang.Object)"><!-- --></A><H3> |
| getVersion</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getVersion</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Returns the current version indicator for <code>o</code>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDirty(java.lang.Object)"><!-- --></A><H3> |
| isDirty</H3> |
| <PRE> |
| boolean <B>isDirty</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return whether the given object is dirty. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTransactional(java.lang.Object)"><!-- --></A><H3> |
| isTransactional</H3> |
| <PRE> |
| boolean <B>isTransactional</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return whether the given object is transactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="transactional(java.lang.Object, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| transactional</H3> |
| <PRE> |
| void <B>transactional</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| boolean updateVersion, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Make the given object transactional. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pc</CODE> - instance to make transactional<DD><CODE>updateVersion</CODE> - if true, the instance's version will be |
| incremented at the next flush</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="transactionalAll(java.util.Collection, boolean, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| transactionalAll</H3> |
| <PRE> |
| void <B>transactionalAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> objs, |
| boolean updateVersion, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Make the given objects transactional. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>objs</CODE> - instances to make transactional<DD><CODE>updateVersion</CODE> - if true, the instance's version will be |
| incremented at the next flush</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nontransactional(java.lang.Object, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| nontransactional</H3> |
| <PRE> |
| void <B>nontransactional</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> pc, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Make the given object non-transactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="nontransactionalAll(java.util.Collection, org.apache.openjpa.kernel.OpCallbacks)"><!-- --></A><H3> |
| nontransactionalAll</H3> |
| <PRE> |
| void <B>nontransactionalAll</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> objs, |
| <A HREF="../../../../org/apache/openjpa/kernel/OpCallbacks.html" title="interface in org.apache.openjpa.kernel">OpCallbacks</A> call)</PRE> |
| <DL> |
| <DD>Make the given objects nontransactional. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isPersistent(java.lang.Object)"><!-- --></A><H3> |
| isPersistent</H3> |
| <PRE> |
| boolean <B>isPersistent</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return whether the given object is persistent. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isNew(java.lang.Object)"><!-- --></A><H3> |
| isNew</H3> |
| <PRE> |
| boolean <B>isNew</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return whether the given object is a newly-created instance registered |
| with <code>broker</code>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isDeleted(java.lang.Object)"><!-- --></A><H3> |
| isDeleted</H3> |
| <PRE> |
| boolean <B>isDeleted</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return whether the given object is deleted. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getObjectId(java.lang.Object)"><!-- --></A><H3> |
| getObjectId</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getObjectId</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
| <DL> |
| <DD>Return the oid of the given instance. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDetachState()"><!-- --></A><H3> |
| getDetachState</H3> |
| <PRE> |
| int <B>getDetachState</B>()</PRE> |
| <DL> |
| <DD>Detach mode constant to determine which fields are part of the |
| detached graph. Defaults to <A HREF="../../../../org/apache/openjpa/kernel/DetachState.html#DETACH_LOADED"><CODE>DetachState.DETACH_LOADED</CODE></A>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDetachState(int)"><!-- --></A><H3> |
| setDetachState</H3> |
| <PRE> |
| void <B>setDetachState</B>(int mode)</PRE> |
| <DL> |
| <DD>Detach mode constant to determine which fields are part of the |
| detached graph. Defaults to <A HREF="../../../../org/apache/openjpa/kernel/DetachState.html#DETACH_LOADED"><CODE>DetachState.DETACH_LOADED</CODE></A>. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPopulateDataCache()"><!-- --></A><H3> |
| getPopulateDataCache</H3> |
| <PRE> |
| boolean <B>getPopulateDataCache</B>()</PRE> |
| <DL> |
| <DD>Whether objects accessed during this transaction will be added to the |
| store cache. Defaults to true. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.3.4</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setPopulateDataCache(boolean)"><!-- --></A><H3> |
| setPopulateDataCache</H3> |
| <PRE> |
| void <B>setPopulateDataCache</B>(boolean cache)</PRE> |
| <DL> |
| <DD>Whether to populate the store cache with objects used by this |
| transaction. Defaults to true. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.3.4</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isTrackChangesByType()"><!-- --></A><H3> |
| isTrackChangesByType</H3> |
| <PRE> |
| boolean <B>isTrackChangesByType</B>()</PRE> |
| <DL> |
| <DD>Whether memory usage is reduced during this transaction at the expense |
| of tracking changes at the type level instead of the instance level, |
| resulting in more aggressive cache invalidation. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.0.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTrackChangesByType(boolean)"><!-- --></A><H3> |
| setTrackChangesByType</H3> |
| <PRE> |
| void <B>setTrackChangesByType</B>(boolean largeTransaction)</PRE> |
| <DL> |
| <DD>If a large number of objects will be created, modified, or deleted |
| during this transaction setting this option to true will reduce memory |
| usage if you perform periodic flushes by tracking changes at the type |
| level instead of the instance level, resulting in more aggressive cache |
| invalidation. Upon transaction commit the data cache will have to |
| more aggressively flush objects. The store cache will have to flush |
| instances of objects for each class of object modified during the |
| transaction. A side benefit of large transaction mode is that smaller |
| update messages can be used for |
| <A HREF="../../../../org/apache/openjpa/event/RemoteCommitEvent.html" title="class in org.apache.openjpa.event"><CODE>RemoteCommitEvent</CODE></A>s. Defaults to false. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.0.0</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isManaged()"><!-- --></A><H3> |
| isManaged</H3> |
| <PRE> |
| boolean <B>isManaged</B>()</PRE> |
| <DL> |
| <DD>Whether this context is using managed transactions. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isActive()"><!-- --></A><H3> |
| isActive</H3> |
| <PRE> |
| boolean <B>isActive</B>()</PRE> |
| <DL> |
| <DD>Whether a logical transaction is active. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isStoreActive()"><!-- --></A><H3> |
| isStoreActive</H3> |
| <PRE> |
| boolean <B>isStoreActive</B>()</PRE> |
| <DL> |
| <DD>Whether a data store transaction is active. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="beginStore()"><!-- --></A><H3> |
| beginStore</H3> |
| <PRE> |
| void <B>beginStore</B>()</PRE> |
| <DL> |
| <DD>Begin a data store transaction. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasConnection()"><!-- --></A><H3> |
| hasConnection</H3> |
| <PRE> |
| boolean <B>hasConnection</B>()</PRE> |
| <DL> |
| <DD>Whether the broker has a dedicated connection based on the configured |
| connection retain mode and transaction status. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnection()"><!-- --></A><H3> |
| getConnection</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnection</B>()</PRE> |
| <DL> |
| <DD>Return the connection in use by the context, or a new connection if none. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lock()"><!-- --></A><H3> |
| lock</H3> |
| <PRE> |
| void <B>lock</B>()</PRE> |
| <DL> |
| <DD>Synchronizes on an internal lock if the |
| <code>Multithreaded</code> flag is set to true. Make sure to call |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreContext.html#unlock()"><CODE>unlock()</CODE></A> in a finally clause of the same method. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="unlock()"><!-- --></A><H3> |
| unlock</H3> |
| <PRE> |
| void <B>unlock</B>()</PRE> |
| <DL> |
| <DD>Releases the internal lock. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionFactoryName()"><!-- --></A><H3> |
| getConnectionFactoryName</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionFactoryName</B>()</PRE> |
| <DL> |
| <DD>Return the 'JTA' connectionFactoryName |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setConnectionFactoryName(java.lang.String)"><!-- --></A><H3> |
| setConnectionFactoryName</H3> |
| <PRE> |
| void <B>setConnectionFactoryName</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactoryName)</PRE> |
| <DL> |
| <DD>Set the 'JTA' ConnectionFactoryName. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionFactory2Name()"><!-- --></A><H3> |
| getConnectionFactory2Name</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getConnectionFactory2Name</B>()</PRE> |
| <DL> |
| <DD>Return the 'NonJTA' ConnectionFactoryName. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setConnectionFactory2Name(java.lang.String)"><!-- --></A><H3> |
| setConnectionFactory2Name</H3> |
| <PRE> |
| void <B>setConnectionFactory2Name</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> connectionFactory2Name)</PRE> |
| <DL> |
| <DD>Set the 'NonJTA' ConnectionFactoryName. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionFactory()"><!-- --></A><H3> |
| getConnectionFactory</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnectionFactory</B>()</PRE> |
| <DL> |
| <DD>Return the 'JTA' ConnectionFactory, looking it up from JNDI if needed. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the JTA connection factory or null if connectionFactoryName is blank.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getConnectionFactory2()"><!-- --></A><H3> |
| getConnectionFactory2</H3> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>getConnectionFactory2</B>()</PRE> |
| <DL> |
| <DD>Return the 'NonJTA' ConnectionFactory, looking it up from JNDI if needed. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the NonJTA connection factory or null if connectionFactoryName is blank.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isCached(java.util.List)"><!-- --></A><H3> |
| isCached</H3> |
| <PRE> |
| boolean <B>isCached</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> oid)</PRE> |
| <DL> |
| <DD>Indicate whether the oid can be found in the StoreContext's L1 cache or in the StoreManager cache. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>oid</CODE> - List of ObjectIds for PersistenceCapables which may be found in memory. |
| <DT><B>Returns:</B><DD>true if the oid is available in memory (cached) otherwise false.<DT><B>Since:</B></DT> |
| <DD>2.0.0.</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAllowReferenceToSiblingContext(boolean)"><!-- --></A><H3> |
| setAllowReferenceToSiblingContext</H3> |
| <PRE> |
| void <B>setAllowReferenceToSiblingContext</B>(boolean flag)</PRE> |
| <DL> |
| <DD>Affirms if this context will allow its managed instances to refer instances |
| that are managed by other contexts. |
| <B>Note</B>: Some specification (such as JPA) does not warranty predictable |
| behavior when strict group-like property of a persistent context (where managed |
| instances can only refer to instances managed by the <em>same</em> context). |
| Please be aware of consequences when the flag is set to true. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>2.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAllowReferenceToSiblingContext()"><!-- --></A><H3> |
| getAllowReferenceToSiblingContext</H3> |
| <PRE> |
| boolean <B>getAllowReferenceToSiblingContext</B>()</PRE> |
| <DL> |
| <DD>Affirms if this context will allow its managed instances to refer instances |
| that are managed by other contexts. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>false by default.<DT><B>Since:</B></DT> |
| <DD>2.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setPostLoadOnMerge(boolean)"><!-- --></A><H3> |
| setPostLoadOnMerge</H3> |
| <PRE> |
| void <B>setPostLoadOnMerge</B>(boolean allow)</PRE> |
| <DL> |
| <DD>Set to <code>true</code> if the merge operation should trigger |
| a @PostLoad lifecycle event. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>allow</CODE> - PostLoad lifecycle events to be triggered on a merge operation</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPostLoadOnMerge()"><!-- --></A><H3> |
| getPostLoadOnMerge</H3> |
| <PRE> |
| boolean <B>getPostLoadOnMerge</B>()</PRE> |
| <DL> |
| <DD>Force sending a @PostLoad lifecycle event while merging. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD><code>false</code> by default<DT><B>Since:</B></DT> |
| <DD>2.2</DD> |
| </DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StoreContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/openjpa/kernel/StateManagerImpl.html" title="class in org.apache.openjpa.kernel"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/openjpa/kernel/StoreManager.html" title="interface in org.apache.openjpa.kernel"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/openjpa/kernel/StoreContext.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="StoreContext.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2006-2012 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |