poussecafe.doc.model.domainprocessdoc.DomainProcessDocRepository Maven / Gradle / Ivy
package poussecafe.doc.model.domainprocessdoc;
import java.util.List;
import poussecafe.doc.model.boundedcontextdoc.BoundedContextDocId;
import poussecafe.domain.Repository;
public class DomainProcessDocRepository extends Repository {
public List findAll() {
return wrap(dataAccess().findAll());
}
@Override
public DomainProcessDocDataAccess dataAccess() {
return (DomainProcessDocDataAccess) super.dataAccess();
}
public List findByBoundedContextId(BoundedContextDocId id) {
return wrap(dataAccess().findByBoundedContextId(id));
}
}