package com.l7tech.server.service;

import com.l7tech.gateway.common.service.ServiceDocument;
import com.l7tech.objectmodel.Goid;
import com.l7tech.server.util.ReadOnlyHibernateCallback;
import java.sql.SQLException;
import java.util.Collection;
import org.hibernate.HibernateException;
import org.hibernate.Session;

class al extends ReadOnlyHibernateCallback<Collection<ServiceDocument>> {
   final Goid val$serviceId;
   final ServiceDocumentManagerImpl this$0;

   al(ServiceDocumentManagerImpl var1, Goid var2) {
      this.this$0 = var1;
      this.val$serviceId = var2;
   }

   public Collection<ServiceDocument> doInHibernateReadOnly(Session var1) throws HibernateException, SQLException {
      return this.this$0.a(var1, this.val$serviceId, false, null);
   }
}
