uoa-repository-manager-service/src/main/java/eu/dnetlib/repo/manager/service/AggregationService.java

18 lines
563 B
Java
Raw Normal View History

package eu.dnetlib.repo.manager.service;
import eu.dnetlib.openaire.exporter.model.dsm.AggregationInfo;
2022-12-20 19:53:54 +01:00
import org.json.JSONException;
import java.util.List;
import java.util.Map;
public interface AggregationService {
2022-12-20 19:53:54 +01:00
<T extends AggregationInfo> List<T> getRepositoryAggregations(String id) throws JSONException;
2022-12-20 19:53:54 +01:00
<T extends AggregationInfo> List<T> getRepositoryAggregations(String id, int from, int size) throws JSONException;
2022-12-20 19:53:54 +01:00
<T extends AggregationInfo> Map<String, List<T>> getRepositoryAggregationsByYear(String id) throws JSONException;
}