public class LicenseCleanup extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static BitstreamService |
bitstreamService |
protected static BundleService |
bundleService |
protected static ItemService |
itemService |
protected static Templates |
templates |
| Constructor and Description |
|---|
LicenseCleanup() |
protected static final Templates templates
protected static final BitstreamService bitstreamService
protected static final BundleService bundleService
protected static final ItemService itemService
public static void main(String[] args) throws SQLException, AuthorizeException, IOException
args - SQLExceptionIOExceptionAuthorizeExceptionprotected static void handleItem(Context context, Item item) throws SQLException, AuthorizeException, IOException
item - SQLExceptionAuthorizeExceptionIOExceptionpublic static byte[] copy(Context context, Bitstream b) throws IOException, SQLException, AuthorizeException
b - the Bitstream to be copied.b.IOExceptionSQLExceptionAuthorizeExceptionCopyright © 2016 DuraSpace. All Rights Reserved.