diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/entity/SecondaryEntityDAO.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/entity/SecondaryEntityDAO.java
index a836194d7f3ea83739c34fe34311f56289465f02..dd7d37d6e105de8f9222c8454aefa1fb0fe0b651 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/entity/SecondaryEntityDAO.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/common/entity/SecondaryEntityDAO.java
@@ -56,11 +56,6 @@ import ch.systemsx.cisd.openbis.generic.shared.translator.DatabaseInstanceTransl
             ISecondaryEntityListingQuery.class })
 public class SecondaryEntityDAO
 {
-    interface ISecondaryEntitySetListingQuery
-    {
-        Iterable<SampleReferenceRecord> getSamples(LongSet sampleIds);
-    }
-
     /**
      * Creates a new instance based on {@link PersistencyResources} and home
      * {@link DatabaseInstancePE} of specified DAO factory.