Package org.dspace.embargo
Class DefaultEmbargoLifter
java.lang.Object
org.dspace.embargo.DefaultEmbargoLifter
- All Implemented Interfaces:
EmbargoLifter
Default plugin implementation of the embargo lifting function.
- Author:
- Larry Stone, Richard Rodgers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidliftEmbargo(Context context, Item item) Enforce lifting of embargo by turning read access to bitstreams in this Item back on.
-
Constructor Details
-
DefaultEmbargoLifter
public DefaultEmbargoLifter()
-
-
Method Details
-
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.
-