1
|
package cz.zcu.kiv.backendapi.external;
|
2
|
|
3
|
import org.springframework.web.multipart.MultipartFile;
|
4
|
|
5
|
import java.util.List;
|
6
|
|
7
|
/**
|
8
|
* External catalog service interface
|
9
|
*/
|
10
|
public interface IExternalCatalogItemService {
|
11
|
/**
|
12
|
* Updates external catalog
|
13
|
*
|
14
|
* @param file file from CIGS source
|
15
|
*/
|
16
|
void updateCatalog(MultipartFile file);
|
17
|
|
18
|
/**
|
19
|
* Returns external catalog items satisfying given filter
|
20
|
*
|
21
|
* @param name name
|
22
|
* @return list of external catalog items satisfying given filter
|
23
|
*/
|
24
|
List<ExternalCatalogItem> getCatalog(String name, ExternalSource source);
|
25
|
}
|