Interface EmbargoLifter

  • All Known Implementing Classes:
    DefaultEmbargoLifter

    public interface EmbargoLifter
    Plugin interface for the embargo lifting function.
    Author:
    Larry Stone, Richard Rodgers
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void liftEmbargo​(Context context, Item item)
      Implement the lifting of embargo in the "resource policies" (access control) by (for example) turning on default read access to all Bitstreams.
    • Method Detail

      • liftEmbargo

        void liftEmbargo​(Context context,
                         Item item)
                  throws SQLException,
                         AuthorizeException,
                         IOException
        Implement the lifting of embargo in the "resource policies" (access control) by (for example) turning on default read access to all Bitstreams.
        Parameters:
        context - The relevant DSpace Context.
        item - the Item on which to lift the embargo
        Throws:
        IOException - A general class of exceptions produced by failed or interrupted I/O operations.
        SQLException - An exception that provides information on a database access error or other errors.
        AuthorizeException - Exception indicating the current user of the context does not have permission to perform a particular action.