Project

General

Profile

1
package eu.dnetlib.goldoa.service;
2

    
3
import eu.dnetlib.goldoa.domain.Invoice;
4
import eu.dnetlib.goldoa.domain.InvoiceFile;
5
import eu.dnetlib.goldoa.domain.ManagerException;
6

    
7
import java.io.InputStream;
8

    
9

    
10
/**
11
 * Created by antleb on 3/20/15.
12
 */
13

    
14
public interface InvoiceManager {
15

    
16
	public Invoice saveInvoice(Invoice invoice);
17

    
18
	public Invoice getInvoice(String invoiceId) throws ManagerException;
19

    
20
	Invoice uploadInvoice(String invoiceId, String mimetype, InputStream invoice) throws ManagerException;
21

    
22
	public InvoiceFile downloadInvoice(String invoiceId) throws ManagerException;
23
}
24

    
(11-11/29)