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