poussecafe.doc.model.servicedoc.ServiceDocRepository Maven / Gradle / Ivy
The newest version!
package poussecafe.doc.model.servicedoc;
import java.util.List;
import poussecafe.doc.model.moduledoc.ModuleDocId;
import poussecafe.domain.AggregateRepository;
public class ServiceDocRepository extends AggregateRepository {
public List findByModuleId(ModuleDocId id) {
return wrap(dataAccess().findByModuleDocId(id));
}
@Override
public ServiceDocDataAccess dataAccess() {
return (ServiceDocDataAccess) super.dataAccess();
}
public List findAll() {
return wrap(dataAccess().findAll());
}
}