Package org.dspace.embargo
Class DefaultEmbargoLifter
- java.lang.Object
-
- org.dspace.embargo.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 Summary
Constructors Constructor Description DefaultEmbargoLifter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidliftEmbargo(Context context, Item item)Enforce lifting of embargo by turning read access to bitstreams in this Item back on.
-
-
-
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:
liftEmbargoin interfaceEmbargoLifter- Parameters:
context- the DSpace contextitem- 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.
-
-