All Downloads are FREE. Search and download functionalities are using the official Maven repository.

poussecafe.journal.domain.JournalEntryRepository Maven / Gradle / Ivy

package poussecafe.journal.domain;

import java.util.List;
import poussecafe.domain.Repository;

public class JournalEntryRepository extends Repository {

    public List findByConsumptionId(String messageId) {
        return wrap(dataAccess().findByMessageId(messageId));
    }

    @Override
    public JournalEntryDataAccess dataAccess() {
        return (JournalEntryDataAccess) super.dataAccess();
    }

    public List findByStatus(ConsumptionStatus status) {
        return wrap(dataAccess().findByStatus(status));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy