Package com.opengamma.master

Examples of com.opengamma.master.AbstractHistoryRequest


      context.stop();
    }
  }

  private D getPreviousDocument(final ObjectId oid, final Instant now, final Instant thisVersionFrom) {
    return historyByVersionsCorrections(new AbstractHistoryRequest() {
      @Override
      public Instant getCorrectionsFromInstant() {
        return now;
      }
View Full Code Here


      }
    }).getFirstDocument();
  }

  private List<D> getAllCurrentDocuments(final ObjectId oid, final Instant now) {
    return historyByVersionsCorrections(new AbstractHistoryRequest() {
      @Override
      public Instant getCorrectionsFromInstant() {
        return now;
      }
View Full Code Here

      }
    }).getDocuments();
  }

  private List<D> getCurrentDocumentsInRange(final ObjectId oid, final Instant now, final Instant from, final Instant to) {
    return historyByVersionsCorrections(new AbstractHistoryRequest() {
      @Override
      public Instant getCorrectionsFromInstant() {
        return now;
      }
View Full Code Here

TOP

Related Classes of com.opengamma.master.AbstractHistoryRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.