ServiceArchive.java [src/cokeyconverter] Revision: default Date:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package cokeyconverter;
import java.util.ArrayList;
import java.util.Set;
import org.codehaus.jettison.json.JSONObject;
/**
*
* @author <a href="mailto:shaun.case@colostate.edu">Shaun Case</a>
*/
public interface ServiceArchive {
public ArrayList<ModelArchive> getArchiveByReqIP(String ip, String service) throws Exception;
public ModelArchive getArchiveBySUID(String suid) throws Exception;
public JSONObject getServiceRequest(String suid) throws Exception;
public JSONObject getServiceResponse(String suid) throws Exception;
public void shutdown() throws Exception;
public long getCount();
public Set<String> keys(int skip, int limit, String sortby, boolean sortAsc);
public boolean hasArchive(String suid) throws Exception;
}