Class BrowseDAOFactory

java.lang.Object
org.dspace.browse.BrowseDAOFactory

public class BrowseDAOFactory extends Object
Factory class to generate DAOs based on the configuration
Author:
Richard Jones
  • Method Details

    • getInstance

      public static BrowseDAO getInstance(Context context) throws BrowseException
      Get an instance of the relevant Read Only DAO class, which will conform to the BrowseDAO interface
      Parameters:
      context - the DSpace context
      Returns:
      the relevant DAO
      Throws:
      BrowseException - if browse error