| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_252) on Fri Jul 16 09:39:04 UTC 2021 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>HistoryPolicy (EclipseLink 3.0.2, API Reference)</title> |
| <meta name="date" content="2021-07-16"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="HistoryPolicy (EclipseLink 3.0.2, API Reference)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/persistence/history/AsOfSCNClause.html" title="class in org.eclipse.persistence.history"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/persistence/history/HistoryPolicy.html" target="_top">Frames</a></li> |
| <li><a href="HistoryPolicy.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.persistence.history</div> |
| <h2 title="Class HistoryPolicy" class="title">Class HistoryPolicy</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.persistence.history.HistoryPolicy</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">HistoryPolicy</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> |
| <div class="block"><b>Purpose:</b>Expresses how historical data is saved on the data store. |
| <p>This information is used to both maintain a history of all objects |
| modified through TopLink and to enable point in time querying. |
| <p>If Oracle 9R2 or later Flashback is used this policy is not required, as |
| the preservation of history is automatic. |
| <p>Descriptors, ManyToManyMappings, DirectCollectionMappings, |
| and DirectMapMappings only can have a history policy, as only they have associated |
| database tables.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../serialized-form.html#org.eclipse.persistence.history.HistoryPolicy">Serialized Form</a></dd> |
| <dt><span class="simpleTagLabel">Author:</span></dt> |
| <dd>Stephen McRitchie</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#descriptor">descriptor</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#endFields">endFields</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseTable></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#historicalTables">historicalTables</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#mapping">mapping</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#shouldHandleWrites">shouldHandleWrites</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#startFields">startFields</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#usesLocalTime">usesLocalTime</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#HistoryPolicy--">HistoryPolicy</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#addEndFieldName-java.lang.String-">addEndFieldName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> endFieldName)</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#addHistoryTableName-java.lang.String-">addHistoryTableName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">PUBLIC: |
| Use to specify the names of the mirroring historical tables.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#addHistoryTableName-java.lang.String-java.lang.String-">addHistoryTableName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sourceTableName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> historyTableName)</code> |
| <div class="block">PUBLIC: |
| Use to specify the names of the mirroring historical tables.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#additionalHistoryExpression-org.eclipse.persistence.expressions.Expression-org.eclipse.persistence.expressions.Expression-">additionalHistoryExpression</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> context, |
| <a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> base)</code> |
| <div class="block">INTERNAL: |
| Add any temporal querying conditions to this object expression.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#additionalHistoryExpression-org.eclipse.persistence.expressions.Expression-org.eclipse.persistence.expressions.Expression-java.lang.Integer-">additionalHistoryExpression</a></span>(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> context, |
| <a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> base, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> tableIndex)</code> |
| <div class="block">INTERNAL: |
| Add any temporal querying conditions to this object expression.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#addStartFieldName-java.lang.String-">addStartFieldName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> startFieldName)</code> |
| <div class="block">PUBLIC: |
| Sets the name of the start field.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#checkWastedVersioning-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.internal.helper.DatabaseTable-">checkWastedVersioning</a></span>(org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow, |
| org.eclipse.persistence.internal.helper.DatabaseTable table)</code> |
| <div class="block">INTERNAL: |
| Checks for the case where an object has multiple tables but only some |
| are part of a minimal update.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#clone--">clone</a></span>()</code> |
| <div class="block">PUBLIC: |
| Performs a sufficiently deep clone.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getCurrentTime-org.eclipse.persistence.internal.sessions.AbstractSession-">getCurrentTime</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">PUBLIC: |
| Whenever a historical record is logically deleted (updated) or inserted, |
| the end and start fields respectively will be set to this value.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getDescriptor--">getDescriptor</a></span>()</code> |
| <div class="block">PUBLIC: |
| Return the descriptor of the policy.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.persistence.internal.helper.DatabaseField</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getEnd--">getEnd</a></span>()</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.persistence.internal.helper.DatabaseField</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getEnd-int-">getEnd</a></span>(int i)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getEndFieldName--">getEndFieldName</a></span>()</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getEndFields--">getEndFields</a></span>()</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseTable></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getHistoricalTables--">getHistoricalTables</a></span>()</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getHistoryTableNames--">getHistoryTableNames</a></span>()</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getMapping--">getMapping</a></span>()</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getMinimumTimeIncrement-org.eclipse.persistence.internal.sessions.AbstractSession-">getMinimumTimeIncrement</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Return a minimal time increment supported by the platform.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>protected org.eclipse.persistence.internal.helper.DatabaseField</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getStart--">getStart</a></span>()</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>protected org.eclipse.persistence.internal.helper.DatabaseField</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getStart-int-">getStart</a></span>(int i)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getStartFieldName--">getStartFieldName</a></span>()</code> |
| <div class="block">PUBLIC: |
| Answers the name of the start field.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#getStartFields--">getStartFields</a></span>()</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#initialize-org.eclipse.persistence.internal.sessions.AbstractSession-">initialize</a></span>(org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Initialize a HistoryPolicy.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#logicalDelete-org.eclipse.persistence.queries.ModifyQuery-boolean-">logicalDelete</a></span>(<a href="../../../../org/eclipse/persistence/queries/ModifyQuery.html" title="class in org.eclipse.persistence.queries">ModifyQuery</a> writeQuery, |
| boolean isUpdate)</code> |
| <div class="block">INTERNAL: |
| Performs a logical delete (update) on the historical schema.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#logicalDelete-org.eclipse.persistence.queries.ModifyQuery-boolean-boolean-">logicalDelete</a></span>(<a href="../../../../org/eclipse/persistence/queries/ModifyQuery.html" title="class in org.eclipse.persistence.queries">ModifyQuery</a> writeQuery, |
| boolean isUpdate, |
| boolean isShallow)</code> |
| <div class="block">INTERNAL: |
| Performs a logical delete (update) on the historical schema.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#logicalInsert-org.eclipse.persistence.queries.ObjectLevelModifyQuery-boolean-">logicalInsert</a></span>(<a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelModifyQuery</a> writeQuery, |
| boolean isUpdate)</code> |
| <div class="block">INTERNAL: |
| Perform a logical insert into the historical schema, creating a new version |
| of an object.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#mappingLogicalDelete-org.eclipse.persistence.queries.ModifyQuery-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.internal.sessions.AbstractSession-">mappingLogicalDelete</a></span>(<a href="../../../../org/eclipse/persistence/queries/ModifyQuery.html" title="class in org.eclipse.persistence.queries">ModifyQuery</a> originalQuery, |
| org.eclipse.persistence.internal.sessions.AbstractRecord arguments, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Performs a logical delete (update) on the historical schema.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#mappingLogicalInsert-org.eclipse.persistence.queries.DataModifyQuery-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.internal.sessions.AbstractSession-">mappingLogicalInsert</a></span>(<a href="../../../../org/eclipse/persistence/queries/DataModifyQuery.html" title="class in org.eclipse.persistence.queries">DataModifyQuery</a> originalQuery, |
| org.eclipse.persistence.internal.sessions.AbstractRecord arguments, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</code> |
| <div class="block">INTERNAL: |
| Performs a logical insert into the historical schema.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#postDelete-org.eclipse.persistence.queries.ModifyQuery-">postDelete</a></span>(<a href="../../../../org/eclipse/persistence/queries/ModifyQuery.html" title="class in org.eclipse.persistence.queries">ModifyQuery</a> deleteQuery)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#postInsert-org.eclipse.persistence.queries.ObjectLevelModifyQuery-">postInsert</a></span>(<a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelModifyQuery</a> writeQuery)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#postUpdate-org.eclipse.persistence.queries.ObjectLevelModifyQuery-">postUpdate</a></span>(<a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelModifyQuery</a> writeQuery)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#postUpdate-org.eclipse.persistence.queries.ObjectLevelModifyQuery-boolean-">postUpdate</a></span>(<a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelModifyQuery</a> writeQuery, |
| boolean isShallow)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-">setDescriptor</a></span>(<a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a> descriptor)</code> |
| <div class="block">PUBLIC:</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setEndFields-java.util.List-">setEndFields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField> endFields)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setEndFieldType-java.lang.String-java.lang.Class-">setEndFieldType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">ADVANCED:</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setHistoricalTables-java.util.List-">setHistoricalTables</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseTable> historicalTables)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setMapping-org.eclipse.persistence.mappings.DatabaseMapping-">setMapping</a></span>(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a> mapping)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setShouldHandleWrites-boolean-">setShouldHandleWrites</a></span>(boolean value)</code> |
| <div class="block">Sets if TopLink is responsible for writing history.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setShouldUseDatabaseTime-boolean-">setShouldUseDatabaseTime</a></span>(boolean value)</code> |
| <div class="block">Sets if the Timestamp used in maintainaing history should be the |
| current time according to the database.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setStartFields-java.util.List-">setStartFields</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField> startFields)</code> |
| <div class="block">INTERNAL:</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setStartFieldType-java.lang.Class-">setStartFieldType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</code> |
| <div class="block">ADVANCED: |
| Sets the type of all start fields.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#shouldHandleWrites--">shouldHandleWrites</a></span>()</code> |
| <div class="block">Answers if TopLink is responsible for writing history.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#shouldUseDatabaseTime--">shouldUseDatabaseTime</a></span>()</code> |
| <div class="block">Answers if the Timestamp used in maintaining history should be the |
| current time according to the database.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#shouldUseLocalTime--">shouldUseLocalTime</a></span>()</code> |
| <div class="block">Answers if the Timestamp used in maintaining history should be |
| System.currentTimeMillis();</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#useDatabaseTime--">useDatabaseTime</a></span>()</code> |
| <div class="block">Answers if the Timestamp used in maintaining history should be the |
| current time according to the database.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#useLocalTime--">useLocalTime</a></span>()</code> |
| <div class="block">Answers if the Timestamp used in maintaining history should be |
| System.currentTimeMillis();</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#verifyTableQualifiers-org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform-">verifyTableQualifiers</a></span>(org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform platform)</code> |
| <div class="block">INTERNAL: Check that the qualifiers on the historical tables are |
| properly set.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="descriptor"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>descriptor</h4> |
| <pre>protected <a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a> descriptor</pre> |
| </li> |
| </ul> |
| <a name="mapping"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mapping</h4> |
| <pre>protected <a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a> mapping</pre> |
| </li> |
| </ul> |
| <a name="historicalTables"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>historicalTables</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseTable> historicalTables</pre> |
| </li> |
| </ul> |
| <a name="startFields"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startFields</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField> startFields</pre> |
| </li> |
| </ul> |
| <a name="endFields"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endFields</h4> |
| <pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField> endFields</pre> |
| </li> |
| </ul> |
| <a name="shouldHandleWrites"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldHandleWrites</h4> |
| <pre>protected boolean shouldHandleWrites</pre> |
| </li> |
| </ul> |
| <a name="usesLocalTime"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>usesLocalTime</h4> |
| <pre>protected boolean usesLocalTime</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="HistoryPolicy--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>HistoryPolicy</h4> |
| <pre>public HistoryPolicy()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="additionalHistoryExpression-org.eclipse.persistence.expressions.Expression-org.eclipse.persistence.expressions.Expression-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>additionalHistoryExpression</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> additionalHistoryExpression(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> context, |
| <a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> base)</pre> |
| <div class="block">INTERNAL: |
| Add any temporal querying conditions to this object expression.</div> |
| </li> |
| </ul> |
| <a name="additionalHistoryExpression-org.eclipse.persistence.expressions.Expression-org.eclipse.persistence.expressions.Expression-java.lang.Integer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>additionalHistoryExpression</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> additionalHistoryExpression(<a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> context, |
| <a href="../../../../org/eclipse/persistence/expressions/Expression.html" title="class in org.eclipse.persistence.expressions">Expression</a> base, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> tableIndex)</pre> |
| <div class="block">INTERNAL: |
| Add any temporal querying conditions to this object expression.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>tableIndex</code> - not null indicates that only expression for a single table should be returned.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> clone()</pre> |
| <div class="block">PUBLIC: |
| Performs a sufficiently deep clone. |
| Use to quickly setup standard policies on multiple descriptors.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCurrentTime-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCurrentTime</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCurrentTime(org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">PUBLIC: |
| Whenever a historical record is logically deleted (updated) or inserted, |
| the end and start fields respectively will be set to this value.</div> |
| </li> |
| </ul> |
| <a name="getMinimumTimeIncrement-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMinimumTimeIncrement</h4> |
| <pre>public long getMinimumTimeIncrement(org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| Return a minimal time increment supported by the platform.</div> |
| </li> |
| </ul> |
| <a name="getDescriptor--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDescriptor</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a> getDescriptor()</pre> |
| <div class="block">PUBLIC: |
| Return the descriptor of the policy.</div> |
| </li> |
| </ul> |
| <a name="getHistoricalTables--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHistoricalTables</h4> |
| <pre>public final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseTable> getHistoricalTables()</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="getHistoryTableNames--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHistoryTableNames</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getHistoryTableNames()</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="getMapping--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMapping</h4> |
| <pre>public <a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a> getMapping()</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="getStart--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStart</h4> |
| <pre>protected org.eclipse.persistence.internal.helper.DatabaseField getStart()</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="getStart-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStart</h4> |
| <pre>protected org.eclipse.persistence.internal.helper.DatabaseField getStart(int i)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="getStartFieldName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStartFieldName</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getStartFieldName()</pre> |
| <div class="block">PUBLIC: |
| Answers the name of the start field. Assumes that multiple tables |
| for a descriptor have the same field names.</div> |
| </li> |
| </ul> |
| <a name="getStartFields--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStartFields</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField> getStartFields()</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="getEnd--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEnd</h4> |
| <pre>protected org.eclipse.persistence.internal.helper.DatabaseField getEnd()</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="getEnd-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEnd</h4> |
| <pre>protected org.eclipse.persistence.internal.helper.DatabaseField getEnd(int i)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="getEndFieldName--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEndFieldName</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEndFieldName()</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="getEndFields--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEndFields</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField> getEndFields()</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="setDescriptor-org.eclipse.persistence.descriptors.ClassDescriptor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDescriptor</h4> |
| <pre>public void setDescriptor(<a href="../../../../org/eclipse/persistence/descriptors/ClassDescriptor.html" title="class in org.eclipse.persistence.descriptors">ClassDescriptor</a> descriptor)</pre> |
| <div class="block">PUBLIC:</div> |
| </li> |
| </ul> |
| <a name="initialize-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>initialize</h4> |
| <pre>public void initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| Initialize a HistoryPolicy.</div> |
| </li> |
| </ul> |
| <a name="addHistoryTableName-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addHistoryTableName</h4> |
| <pre>public void addHistoryTableName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">PUBLIC: |
| Use to specify the names of the mirroring historical tables. |
| <p> |
| Assumes that the order in which tables are added with descriptor.addTableName() |
| matches the order in which mirroring historical tables are added with |
| descriptor.addHistoryTableName().</div> |
| </li> |
| </ul> |
| <a name="addHistoryTableName-java.lang.String-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addHistoryTableName</h4> |
| <pre>public void addHistoryTableName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sourceTableName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> historyTableName)</pre> |
| <div class="block">PUBLIC: |
| Use to specify the names of the mirroring historical tables. |
| <p> |
| Explicitly states that <code>sourceTableName</code> is mirrored by history table |
| <code>historyTableName</code>. |
| The order in which tables are added with descriptor.addTableName() |
| should still match the order in which mirroring historical tables are |
| added with descriptor.addMirroringHistoryTableName().</div> |
| </li> |
| </ul> |
| <a name="setHistoricalTables-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHistoricalTables</h4> |
| <pre>public void setHistoricalTables(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseTable> historicalTables)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="setMapping-org.eclipse.persistence.mappings.DatabaseMapping-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMapping</h4> |
| <pre>public void setMapping(<a href="../../../../org/eclipse/persistence/mappings/DatabaseMapping.html" title="class in org.eclipse.persistence.mappings">DatabaseMapping</a> mapping)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="setStartFields-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStartFields</h4> |
| <pre>protected void setStartFields(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField> startFields)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="addStartFieldName-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addStartFieldName</h4> |
| <pre>public void addStartFieldName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> startFieldName)</pre> |
| <div class="block">PUBLIC: |
| Sets the name of the start field. |
| <p> |
| By default all tables belonging to a descriptor have the same primary |
| key field names, and so the same start field names also. |
| <p> |
| However, if <code>startFieldName</code> is qualified, i.e. of the form |
| "EMPLOYEE_HIST.EMP_START", then this call will only set the start field |
| name for a single historical table.</div> |
| </li> |
| </ul> |
| <a name="setStartFieldType-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStartFieldType</h4> |
| <pre>public void setStartFieldType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">ADVANCED: |
| Sets the type of all start fields. Not required to be set as the default |
| of Timestamp is assumed.</div> |
| </li> |
| </ul> |
| <a name="setEndFields-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEndFields</h4> |
| <pre>protected void setEndFields(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.eclipse.persistence.internal.helper.DatabaseField> endFields)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="addEndFieldName-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addEndFieldName</h4> |
| <pre>public void addEndFieldName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> endFieldName)</pre> |
| <div class="block">PUBLIC:</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#addStartFieldName-java.lang.String-"><code>addStartFieldName(java.lang.String)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setEndFieldType-java.lang.String-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEndFieldType</h4> |
| <pre>public void setEndFieldType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> type)</pre> |
| <div class="block">ADVANCED:</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setStartFieldType-java.lang.Class-"><code>setStartFieldType(java.lang.Class)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setShouldHandleWrites-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShouldHandleWrites</h4> |
| <pre>public void setShouldHandleWrites(boolean value)</pre> |
| <div class="block">Sets if TopLink is responsible for writing history. |
| <p> |
| If history is maintained via low level database triggers or application |
| logic a policy is still needed for point in time querying. |
| <p> |
| If Oracle flashback is used no HistoryPolicy is needed. |
| <p> |
| Setting this to false lets you use History for many other applications. |
| For instance a table that tracks available flights or hotel deals may |
| benefit from a HistoryPolicy just to simplify temporal querying. |
| <p>If all hotel discounts have a start and end date, you could query on |
| all discounts available at a certain date.</div> |
| </li> |
| </ul> |
| <a name="shouldHandleWrites--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldHandleWrites</h4> |
| <pre>public boolean shouldHandleWrites()</pre> |
| <div class="block">Answers if TopLink is responsible for writing history. |
| <p> |
| If history is maintained via low level database triggers or application |
| logic a policy is still usefull for point in time querying. |
| <p> |
| If Oracle flashback is used no HistoryPolicy is needed.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true by default</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#setShouldHandleWrites-boolean-"><code>setShouldHandleWrites(boolean)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setShouldUseDatabaseTime-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShouldUseDatabaseTime</h4> |
| <pre>public void setShouldUseDatabaseTime(boolean value)</pre> |
| <div class="block">Sets if the Timestamp used in maintainaing history should be the |
| current time according to the database.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - if false uses localTime (default) instead</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldUseLocalTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldUseLocalTime</h4> |
| <pre>public boolean shouldUseLocalTime()</pre> |
| <div class="block">Answers if the Timestamp used in maintaining history should be |
| System.currentTimeMillis();</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true by default</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#shouldUseDatabaseTime--"><code>shouldUseDatabaseTime()</code></a>, |
| <a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#useLocalTime--"><code>useLocalTime()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="shouldUseDatabaseTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldUseDatabaseTime</h4> |
| <pre>public boolean shouldUseDatabaseTime()</pre> |
| <div class="block">Answers if the Timestamp used in maintaining history should be the |
| current time according to the database.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>false by default</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#shouldUseLocalTime--"><code>shouldUseLocalTime()</code></a>, |
| <a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#useDatabaseTime--"><code>useDatabaseTime()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="useLocalTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>useLocalTime</h4> |
| <pre>public void useLocalTime()</pre> |
| <div class="block">Answers if the Timestamp used in maintaining history should be |
| System.currentTimeMillis();</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#useDatabaseTime--"><code>useDatabaseTime()</code></a>, |
| <a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#shouldUseLocalTime--"><code>shouldUseLocalTime()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="useDatabaseTime--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>useDatabaseTime</h4> |
| <pre>public void useDatabaseTime()</pre> |
| <div class="block">Answers if the Timestamp used in maintaining history should be the |
| current time according to the database.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#useLocalTime--"><code>useLocalTime()</code></a>, |
| <a href="../../../../org/eclipse/persistence/history/HistoryPolicy.html#shouldUseDatabaseTime--"><code>shouldUseDatabaseTime()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="verifyTableQualifiers-org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>verifyTableQualifiers</h4> |
| <pre>protected void verifyTableQualifiers(org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform platform)</pre> |
| <div class="block">INTERNAL: Check that the qualifiers on the historical tables are |
| properly set. |
| <p>A similar method exists on ClassDescriptor.</div> |
| </li> |
| </ul> |
| <a name="checkWastedVersioning-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.internal.helper.DatabaseTable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkWastedVersioning</h4> |
| <pre>protected boolean checkWastedVersioning(org.eclipse.persistence.internal.sessions.AbstractRecord modifyRow, |
| org.eclipse.persistence.internal.helper.DatabaseTable table)</pre> |
| <div class="block">INTERNAL: |
| Checks for the case where an object has multiple tables but only some |
| are part of a minimal update.</div> |
| </li> |
| </ul> |
| <a name="postDelete-org.eclipse.persistence.queries.ModifyQuery-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>postDelete</h4> |
| <pre>public void postDelete(<a href="../../../../org/eclipse/persistence/queries/ModifyQuery.html" title="class in org.eclipse.persistence.queries">ModifyQuery</a> deleteQuery)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="postUpdate-org.eclipse.persistence.queries.ObjectLevelModifyQuery-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>postUpdate</h4> |
| <pre>public void postUpdate(<a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelModifyQuery</a> writeQuery)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="postUpdate-org.eclipse.persistence.queries.ObjectLevelModifyQuery-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>postUpdate</h4> |
| <pre>public void postUpdate(<a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelModifyQuery</a> writeQuery, |
| boolean isShallow)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="postInsert-org.eclipse.persistence.queries.ObjectLevelModifyQuery-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>postInsert</h4> |
| <pre>public void postInsert(<a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelModifyQuery</a> writeQuery)</pre> |
| <div class="block">INTERNAL:</div> |
| </li> |
| </ul> |
| <a name="logicalInsert-org.eclipse.persistence.queries.ObjectLevelModifyQuery-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>logicalInsert</h4> |
| <pre>public void logicalInsert(<a href="../../../../org/eclipse/persistence/queries/ObjectLevelModifyQuery.html" title="class in org.eclipse.persistence.queries">ObjectLevelModifyQuery</a> writeQuery, |
| boolean isUpdate)</pre> |
| <div class="block">INTERNAL: |
| Perform a logical insert into the historical schema, creating a new version |
| of an object. |
| <p>Called by postInsert() and also postUpdate() (which first does a logicalDelete |
| of the previous version).</div> |
| </li> |
| </ul> |
| <a name="mappingLogicalInsert-org.eclipse.persistence.queries.DataModifyQuery-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mappingLogicalInsert</h4> |
| <pre>public void mappingLogicalInsert(<a href="../../../../org/eclipse/persistence/queries/DataModifyQuery.html" title="class in org.eclipse.persistence.queries">DataModifyQuery</a> originalQuery, |
| org.eclipse.persistence.internal.sessions.AbstractRecord arguments, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| Performs a logical insert into the historical schema. Direct |
| collections and many to many mappings are maintained through the session |
| events.</div> |
| </li> |
| </ul> |
| <a name="logicalDelete-org.eclipse.persistence.queries.ModifyQuery-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>logicalDelete</h4> |
| <pre>public void logicalDelete(<a href="../../../../org/eclipse/persistence/queries/ModifyQuery.html" title="class in org.eclipse.persistence.queries">ModifyQuery</a> writeQuery, |
| boolean isUpdate)</pre> |
| <div class="block">INTERNAL: |
| Performs a logical delete (update) on the historical schema.</div> |
| </li> |
| </ul> |
| <a name="logicalDelete-org.eclipse.persistence.queries.ModifyQuery-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>logicalDelete</h4> |
| <pre>public void logicalDelete(<a href="../../../../org/eclipse/persistence/queries/ModifyQuery.html" title="class in org.eclipse.persistence.queries">ModifyQuery</a> writeQuery, |
| boolean isUpdate, |
| boolean isShallow)</pre> |
| <div class="block">INTERNAL: |
| Performs a logical delete (update) on the historical schema.</div> |
| </li> |
| </ul> |
| <a name="mappingLogicalDelete-org.eclipse.persistence.queries.ModifyQuery-org.eclipse.persistence.internal.sessions.AbstractRecord-org.eclipse.persistence.internal.sessions.AbstractSession-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>mappingLogicalDelete</h4> |
| <pre>public void mappingLogicalDelete(<a href="../../../../org/eclipse/persistence/queries/ModifyQuery.html" title="class in org.eclipse.persistence.queries">ModifyQuery</a> originalQuery, |
| org.eclipse.persistence.internal.sessions.AbstractRecord arguments, |
| org.eclipse.persistence.internal.sessions.AbstractSession session)</pre> |
| <div class="block">INTERNAL: |
| Performs a logical delete (update) on the historical schema. Direct |
| collections and many to many mappings are maintained through the session |
| events.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">EclipseLink 3.0.2, API Reference</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/persistence/history/AsOfSCNClause.html" title="class in org.eclipse.persistence.history"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/persistence/history/HistoryPolicy.html" target="_top">Frames</a></li> |
| <li><a href="HistoryPolicy.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="http://www.eclipse.org/eclipselink">Eclipse.org - EclipseLink Project</a>. All rights reserved.</small></p> |
| </body> |
| </html> |