Class DefaultEmbargoLifter

  • All Implemented Interfaces:
    EmbargoLifter

    public class DefaultEmbargoLifter
    extends Object
    implements EmbargoLifter
    Default plugin implementation of the embargo lifting function.
    Author:
    Larry Stone, Richard Rodgers
    • Constructor Detail

      • DefaultEmbargoLifter

        public DefaultEmbargoLifter()
    • Method Detail

      • liftEmbargo

        public void liftEmbargo​(Context context,
                                Item item)
                         throws SQLException,
                                AuthorizeException,
                                IOException
        Enforce lifting of embargo by turning read access to bitstreams in this Item back on.
        Specified by:
        liftEmbargo in interface EmbargoLifter
        Parameters:
        context - the DSpace context
        item - the item to embargo
        Throws:
        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.
        IOException - A general class of exceptions produced by failed or interrupted I/O operations.