package it.inaf.oats.vospacebackend.implementation;

import it.inaf.oats.vospacebackend.exceptions.VOSpaceBackendException;
import java.io.IOException;
import java.io.File;
import java.sql.SQLException;

/**
 *
 * @author bertocco
 */
public interface VOSpaceBackend {
    
    public boolean createFile(String orig_f_name, String tmp_file, String md5_sum) 
                      throws VOSpaceBackendException, SQLException, IOException;
    
    public File returnFile(String orig_f_name)
                      throws VOSpaceBackendException, SQLException, IOException;
    
    public boolean deleteFile(String orig_f_name) 
                      throws VOSpaceBackendException, SQLException;
    
}
