/** * PUBLIC: * Enable history tracking on the m-m join table. */ public void setHistoryPolicy(HistoryPolicy policy) { this.historyPolicy = policy; if (policy != null) { policy.setMapping(this); } }
/** * INTERNAL: * Gets the actual as of clause represented by <code>this</code>. */ public AsOfClause getAsOfClause() { return (AsOfClause)super.getValue(); }
/** * INTERNAL: */ public void postDelete(ModifyQuery deleteQuery) { logicalDelete(deleteQuery, false); }
/** * INTERNAL: */ public void postUpdate(ObjectLevelModifyQuery writeQuery, boolean isShallow) { logicalDelete(writeQuery, true, isShallow); logicalInsert(writeQuery, true); }
/** * INTERNAL: */ public void postInsert(ObjectLevelModifyQuery writeQuery) { logicalInsert(writeQuery, false); }
/** * PUBLIC: * Set the HistoryPolicy for this descriptor. */ public void setHistoryPolicy(HistoryPolicy policy) { this.historyPolicy = policy; if (policy != null) { policy.setDescriptor(this); } }
/** * INTERNAL: */ // Bug 319276 - pass whether shallow insert/update public void postUpdate(ObjectLevelModifyQuery writeQuery) { postUpdate(writeQuery, false); }
/** * INTERNAL: * Add any temporal querying conditions to this object expression. */ public Expression additionalHistoryExpression(Expression context, Expression base) { return additionalHistoryExpression(context, base, null); }
/** * INTERNAL: */ public void postUpdate(ObjectLevelModifyQuery writeQuery, boolean isShallow) { logicalDelete(writeQuery, true, isShallow); logicalInsert(writeQuery, true); }
/** * PUBLIC: * Support history on the reference table. */ public void setHistoryPolicy(HistoryPolicy policy) { this.historyPolicy = policy; if (policy != null) { policy.setMapping(this); } }
/** * ADVANCED: * Answers if all objects are to be read as of a past time. Only true if * this is a special historical session. * @see #getAsOfClause */ public boolean hasAsOfClause() { return ((asOfClause != null) && (asOfClause.getValue() != null)); }
/** * INTERNAL: */ public void postDelete(ModifyQuery deleteQuery) { logicalDelete(deleteQuery, false); }
/** * INTERNAL: */ public void postInsert(ObjectLevelModifyQuery writeQuery) { logicalInsert(writeQuery, false); }
/** * PUBLIC: * Set the HistoryPolicy for this descriptor. */ public void setHistoryPolicy(HistoryPolicy policy) { this.historyPolicy = policy; if (policy != null) { policy.setDescriptor(this); } }
/** * INTERNAL: */ // Bug 319276 - pass whether shallow insert/update public void postUpdate(ObjectLevelModifyQuery writeQuery) { postUpdate(writeQuery, false); }
/** * PUBLIC: * Enable history tracking on the m-m join table. */ public void setHistoryPolicy(HistoryPolicy policy) { this.historyPolicy = policy; if (policy != null) { policy.setMapping(this); } }
/** * INTERNAL: * Gets the actual as of clause represented by <code>this</code>. */ public AsOfClause getAsOfClause() { return (AsOfClause)super.getValue(); }
/** * INTERNAL: * Performs a logical delete (update) on the historical schema. */ // Bug 319276 - pass whether shallow insert/update public void logicalDelete(ModifyQuery writeQuery, boolean isUpdate) { logicalDelete(writeQuery, isUpdate, false); }
/** * PUBLIC: * Support history on the reference table. */ public void setHistoryPolicy(HistoryPolicy policy) { this.historyPolicy = policy; if (policy != null) { policy.setMapping(this); } }
/** * ADVANCED: * Answers if all objects are to be read as of a past time. Only true if * this is a special historical session. * @see #getAsOfClause */ public boolean hasAsOfClause() { return ((asOfClause != null) && (asOfClause.getValue() != null)); }