Project

General

Profile

1 35542 antonis.le
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
 * Created by antleb on 3/20/15.
11
 */
12
public interface InvoiceManager {
13
14
    public Invoice saveInvoice(Invoice invoice);
15
16
    public Invoice getInvoice(String invoiceId) throws ManagerException;
17
18
    void uploadInvoice(String invoiceId, String mimetype, InputStream invoice) throws ManagerException;
19
20
    public InvoiceFile downloadInvoice(String invoiceId) throws ManagerException;
21
}