code: public void onSave(StubAmp stub, Result<Void> result)
    {
      try {
        MethodAmp onDelete = _onDelete;
        MethodAmp onSave = _onSave;
        
        if (stub.state().isDelete() && onDelete != null) {
          onDelete.query(HeadersNull.NULL, result, stub);
        }
        else if (onSave != null) {
          //QueryRefAmp queryRef = new QueryRefChainAmpCompletion(result);
          onSave.query(HeadersNull.NULL, result, stub);
        }
        else {
          result.ok(null);
        }
        
        stub.state().onSaveComplete(stub);
        
        //stub.onSaveEnd(true);
      } catch (Throwable e) {
        e.printStackTrace();
        result.fail(e);
      }
    }
docs: /*
  public JournalAmp getJournal()
  {
  return _journal;
  }