Interface CollectionIndexFactory

All Superinterfaces:
DSpaceObjectIndexFactory<IndexableCollection,Collection>, IndexFactory<IndexableCollection,Collection>
All Known Implementing Classes:
CollectionIndexFactoryImpl

public interface CollectionIndexFactory extends DSpaceObjectIndexFactory<IndexableCollection,Collection>
Factory interface for indexing/retrieving collections in the search core
Author:
Kevin Van de Velde (kevin at atmire dot com)
  • Method Details

    • getCollectionLocations

      List<String> getCollectionLocations(Context context, Collection collection) throws SQLException
      Return a list of the identifiers of the owning communities from the provided collection prepended by "m"
      Parameters:
      context - DSpace context object
      collection - DSpace collection
      Returns:
      A list of community identifiers with "m" prepended to every one
      Throws:
      SQLException - If database error