gov.nih.nci.cagrid.syncgts.core
Class HistoryManager

java.lang.Object
  extended by gov.nih.nci.cagrid.syncgts.core.HistoryManager

public class HistoryManager
extends java.lang.Object

Version:
$Id: ArgumentManagerTable.java,v 1.2 2004/10/15 16:35:16 langella Exp $
Author:
Stephen Langella , Scott Oster , Shannon Hastings

Field Summary
static int maxSyncReports
           
 
Constructor Summary
HistoryManager()
           
 
Method Summary
 java.io.File addReport(SyncReport report)
           
 SyncReport getLastReport()
           
 SyncReport getReport(java.lang.String fileName)
           
 void prune(DateFilter filter)
           
 SyncReport[] search(DateFilter startDate, DateFilter end)
           
 SyncReport[] search(DateFilter startDate, DateFilter end, java.io.File histDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxSyncReports

public static int maxSyncReports
Constructor Detail

HistoryManager

public HistoryManager()
Method Detail

addReport

public java.io.File addReport(SyncReport report)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getLastReport

public SyncReport getLastReport()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getReport

public SyncReport getReport(java.lang.String fileName)
                     throws java.lang.Exception
Throws:
java.lang.Exception

prune

public void prune(DateFilter filter)
           throws java.lang.Exception
Throws:
java.lang.Exception

search

public SyncReport[] search(DateFilter startDate,
                           DateFilter end)
                    throws java.lang.Exception
Throws:
java.lang.Exception

search

public SyncReport[] search(DateFilter startDate,
                           DateFilter end,
                           java.io.File histDir)
                    throws java.lang.Exception
Throws:
java.lang.Exception