Interface AccessStatusHelper

All Known Implementing Classes:
DefaultAccessStatusHelper

public interface AccessStatusHelper
Plugin interface for the access status calculation.
  • Method Details

    • getAccessStatusFromItem

      String getAccessStatusFromItem(Context context, Item item, Date threshold) throws SQLException
      Calculate the access status for the item.
      Parameters:
      context - the DSpace context
      item - the item
      threshold - the embargo threshold date
      Returns:
      an access status value
      Throws:
      SQLException - An exception that provides information on a database access error or other errors.
    • getEmbargoFromItem

      String getEmbargoFromItem(Context context, Item item, Date threshold) throws SQLException
      Retrieve embargo information for the item
      Parameters:
      context - the DSpace context
      item - the item to check for embargo information
      threshold - the embargo threshold date
      Returns:
      an embargo date
      Throws:
      SQLException - An exception that provides information on a database access error or other errors.