Projekt

Obecné

Profil

Stáhnout (615 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 7bf2464a Jakub Smid
package cz.zcu.kiv.backendapi.external;
2
3 0d303b8f Jakub Smid
import org.springframework.web.multipart.MultipartFile;
4
5 7bf2464a Jakub Smid
import java.util.List;
6
7
/**
8
 * External catalog service interface
9
 */
10
public interface IExternalCatalogItemService {
11
    /**
12
     * Updates external catalog
13 0d303b8f Jakub Smid
     *
14
     * @param file file from CIGS source
15 7bf2464a Jakub Smid
     */
16 0d303b8f Jakub Smid
    void updateCatalog(MultipartFile file);
17 7bf2464a Jakub Smid
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
}