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 am extends ReadOnlyHibernateCallback<Collection<ServiceDocument>> {
   final Goid val$serviceId;
   final String val$type;
   final ServiceDocumentManagerImpl this$0;

   am(ServiceDocumentManagerImpl var1, Goid var2, String var3) {
      this.this$0 = var1;
      this.val$serviceId = var2;
      this.val$type = var3;
   }

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