Package org.dspace.app.bulkedit
Class MetadataExportFilteredItemsReport
java.lang.Object
org.dspace.scripts.DSpaceRunnable<MetadataExportFilteredItemsReportScriptConfiguration<MetadataExportFilteredItemsReport>>
org.dspace.app.bulkedit.MetadataExportFilteredItemsReport
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
MetadataExportFilteredItemsReportCli
public class MetadataExportFilteredItemsReport
extends DSpaceRunnable<MetadataExportFilteredItemsReportScriptConfiguration<MetadataExportFilteredItemsReport>>
Metadata exporter to allow the batch export of metadata from a Filtered Items content report execution into a file
- Author:
- Jean-François Morin (Université Laval)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.dspace.scripts.DSpaceRunnable
DSpaceRunnable.StepResult -
Field Summary
FieldsFields inherited from class org.dspace.scripts.DSpaceRunnable
commandLine, handler, helpCommandLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringThis method will return the Configuration that the implementing DSpaceRunnable usesvoidThis method has to be included in every script and this will be the main execution block for the script that'll contain all the logic neededprotected voidvoidsetup()This method has to be included in every script and handles the setup of the script by parsing the CommandLine and setting the variablesMethods inherited from class org.dspace.scripts.DSpaceRunnable
getEpersonIdentifier, getFileNamesFromInputStreamOptions, initialize, printHelp, run, setEpersonIdentifier
-
Field Details
-
DEFAULT_FILENAME
- See Also:
-
-
Constructor Details
-
MetadataExportFilteredItemsReport
public MetadataExportFilteredItemsReport()
-
-
Method Details
-
getScriptConfiguration
public MetadataExportFilteredItemsReportScriptConfiguration<MetadataExportFilteredItemsReport> getScriptConfiguration()Description copied from class:DSpaceRunnableThis method will return the Configuration that the implementing DSpaceRunnable uses- Specified by:
getScriptConfigurationin classDSpaceRunnable<MetadataExportFilteredItemsReportScriptConfiguration<MetadataExportFilteredItemsReport>>- Returns:
- The
ScriptConfigurationthat this implementing DspaceRunnable uses
-
setup
public void setup() throws org.apache.commons.cli.ParseExceptionDescription copied from class:DSpaceRunnableThis method has to be included in every script and handles the setup of the script by parsing the CommandLine and setting the variables- Specified by:
setupin classDSpaceRunnable<MetadataExportFilteredItemsReportScriptConfiguration<MetadataExportFilteredItemsReport>>- Throws:
org.apache.commons.cli.ParseException- If something goes wrong
-
internalRun
Description copied from class:DSpaceRunnableThis method has to be included in every script and this will be the main execution block for the script that'll contain all the logic needed- Specified by:
internalRunin classDSpaceRunnable<MetadataExportFilteredItemsReportScriptConfiguration<MetadataExportFilteredItemsReport>>- Throws:
Exception- If something goes wrong
-
loghelpinfo
protected void loghelpinfo() -
getFileNameOrExportFile
-