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 - SQLException - if database errorIOException - if IO errorAuthorizeException - if authorization errorprotected static void handleItem(Context context, Item item) throws SQLException, AuthorizeException, IOException
item - SQLException - if database errorAuthorizeException - if authorization errorIOException - if IO errorpublic static byte[] copy(Context context, Bitstream b) throws IOException, SQLException, AuthorizeException
b - the Bitstream to be copied.b.IOException - if IO errorSQLException - if database errorAuthorizeException - if authorization errorCopyright © 2016 DuraSpace. All rights reserved.