public class MetadataImport
extends java.lang.Object
| Constructor and Description |
|---|
MetadataImport(Context c,
DSpaceCSV toImport)
Create an instance of the metadata importer.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] argv)
main method to run the metadata exporter
|
java.util.List<BulkEditChange> |
runImport(boolean change,
boolean useWorkflow,
boolean workflowNotify,
boolean useTemplate)
Run an import.
|
public java.util.List<BulkEditChange> runImport(boolean change, boolean useWorkflow, boolean workflowNotify, boolean useTemplate) throws MetadataImportException
change - Whether or not to write the changes to the databaseuseWorkflow - Whether the workflows should be used when creating new itemsworkflowNotify - If the workflows should be used, whether to send notifications or notuseTemplate - Use collection template if create new itemMetadataImportException - if something goes wrongpublic static void main(java.lang.String[] argv)
argv - the command line arguments givenCopyright © 2018 DuraSpace. All Rights Reserved.