/** * @return the Date of the first capture in the result set */ public Date getFirstResultDate() { return uiResults.getCaptureResults().getFirstResultDate(); } /**
/** * @return the Date of the last capture in the result set */ public Date getLastResultDate() { return uiResults.getCaptureResults().getLastResultDate(); }
/** * @return the total number of results */ public long getResultCount() { return uiResults.getCaptureResults().getReturnedCount(); } /**
/** * @return the Date of the last capture in the result set */ public Date getLastResultDate() { return uiResults.getCaptureResults().getLastResultDate(); }
/** * @return the total number of results */ public long getResultCount() { return uiResults.getCaptureResults().getReturnedCount(); } /**
/** * @return the Date of the first capture in the result set */ public Date getFirstResultDate() { return uiResults.getCaptureResults().getFirstResultDate(); } /**
/** * @param uiResults the UIResults holding replay info */ public ToolBarData(UIResults uiResults) { this.uiResults = uiResults; fmt = uiResults.getFormatter(); results = uiResults.getCaptureResults(); curResult = uiResults.getResult(); findRelativeLinks(); Date firstDate = uiResults.getWbRequest().getStartDate(); Date lastDate = uiResults.getWbRequest().getEndDate(); yearPartitions = yearPartitioner.getRange(yearSize,firstDate,lastDate); Date firstYearDate = yearPartitions.get(0).getStart(); Date lastYearDate = yearPartitions.get(yearPartitions.size()-1).getEnd(); monthPartitions = monthPartitioner.getRange(monthSize,firstYearDate,lastYearDate); Iterator<CaptureSearchResult> it = results.iterator(); monthPartitioner.populate(monthPartitions,it); yearPartitioner.populate(yearPartitions,monthPartitions.iterator()); }
/** * @param uiResults the UIResults holding replay info */ public ToolBarData(UIResults uiResults) { this.uiResults = uiResults; fmt = uiResults.getFormatter(); results = uiResults.getCaptureResults(); curResult = uiResults.getResult(); findRelativeLinks(); Date firstDate = uiResults.getWbRequest().getStartDate(); Date lastDate = uiResults.getWbRequest().getEndDate(); yearPartitions = yearPartitioner.getRange(yearSize,firstDate,lastDate); Date firstYearDate = yearPartitions.get(0).getStart(); Date lastYearDate = yearPartitions.get(yearPartitions.size()-1).getEnd(); monthPartitions = monthPartitioner.getRange(monthSize,firstYearDate,lastYearDate); Iterator<CaptureSearchResult> it = results.iterator(); monthPartitioner.populate(monthPartitions,it); yearPartitioner.populate(yearPartitions,monthPartitions.iterator()); }
protected void init() { CaptureSearchResults cResults = results.getCaptureResults(); WaybackRequest wbRequest = results.getWbRequest(); String searchUrl =
protected void init() { CaptureSearchResults cResults = results.getCaptureResults(); WaybackRequest wbRequest = results.getWbRequest(); String searchUrl =