Пример #1
0
 /**
  * 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());
 }
Пример #2
0
 @Override
 public void apply(JTransaction jtx, JObject jobj) {
   jtx.readListField(jobj.getObjId(), this.getStorageId(), false).remove(this.index);
 }