|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.bulkedit.MetadataImport
public class MetadataImport
Metadata importer to allow the batch import of metadata from a file
| Constructor Summary | |
|---|---|
MetadataImport(Context c,
ArrayList<DSpaceCSVLine> toImport)
Create an instance of the metadata importer. |
|
| Method Summary | |
|---|---|
static void |
main(String[] argv)
main method to run the metadata exporter |
ArrayList<BulkEditChange> |
runImport(boolean change,
boolean useWorkflow,
boolean workflowNotify,
boolean useTemplate)
Run an import. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetadataImport(Context c,
ArrayList<DSpaceCSVLine> toImport)
c - The contexttoImport - An array of CSV lines to examine| Method Detail |
|---|
public ArrayList<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 item
MetadataImportException - if something goes wrongpublic static void main(String[] argv)
argv - the command line arguments given
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||