Package com.opengamma.core.id

Examples of com.opengamma.core.id.ExternalIdWithDatesDisplayComparator


      searchRequest.addExternalId(id);
    }
    out.put("searchRequest", searchRequest);
   
    if (data().getUriInfo().getQueryParameters().size() > 0) {
      ExternalIdWithDatesDisplayComparator comparator = ExternalIdWithDatesDisplayComparatorUtils.getComparator(data().getConfigSource(), ExternalIdDisplayComparatorUtils.DEFAULT_CONFIG_NAME);
      HistoricalTimeSeriesInfoSearchResult searchResult = data().getHistoricalTimeSeriesMaster().search(searchRequest);
      for (HistoricalTimeSeriesInfoDocument doc : searchResult.getDocuments()) {
        // replace ids with one's sorted the way we want.
        ExternalIdBundleWithDates withCustomIdOrdering = doc.getInfo().getExternalIdBundle().withCustomIdOrdering(comparator);
        doc.getInfo().setExternalIdBundle(withCustomIdOrdering);
View Full Code Here

TOP

Related Classes of com.opengamma.core.id.ExternalIdWithDatesDisplayComparator

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.