package ru.yandex.qe.dispenser.domain.dao.history.quota;

import ru.yandex.qe.dispenser.api.v1.DiOrder;
import ru.yandex.qe.dispenser.domain.Quota;
import ru.yandex.qe.dispenser.domain.QuotaHistoryEvent;
import ru.yandex.qe.dispenser.domain.dao.history.HistoryDao;
import ru.yandex.qe.dispenser.domain.dao.history.HistoryFilter;
import ru.yandex.qe.dispenser.domain.dao.quota.QuotaReader;
import ru.yandex.qe.dispenser.domain.util.RelativePage;
import ru.yandex.qe.dispenser.domain.util.RelativePageInfo;

public interface QuotaHistoryDao extends HistoryDao<QuotaHistoryEvent, QuotaReader.QuotaFilterParams, HistoryFilter> {
    RelativePage<QuotaHistoryEvent> read(final Quota.Key quotaKey, final HistoryFilter historyFilter, RelativePageInfo pageInfo, DiOrder order);
}
