/** * Apply this change to the transaction associated with the current thread. * * <p>This is a convenience method, equivalent to: * * <blockquote> * * <code> * apply(JTransaction.getCurrent()) * </code> * * </blockquote> * * @throws IllegalStateException if there is no {@link JTransaction} associated with the current * thread */ public void apply() { this.apply(JTransaction.getCurrent()); }
@Override public void apply(JTransaction jtx, JObject jobj) { jtx.readListField(jobj.getObjId(), this.getStorageId(), false).remove(this.index); }