Package org.dspace.authority
Class UpdateAuthorities
java.lang.Object
org.dspace.authority.UpdateAuthorities
- Author:
- Antoine Snyers (antoine at atmire.com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AuthorityValueServiceprotected final ConfigurationServiceprotected final ItemServiceprotected PrintWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.apache.commons.cli.Optionsprotected voidfollowUp(AuthorityValue authority) getPrint()static voidprotected static intprocessArgs(String[] args, UpdateAuthorities UpdateAuthorities) voidrun()voidsetPrint(PrintWriter print) protected voidupdateItems(AuthorityValue authority)
-
Field Details
-
print
-
itemService
-
authorityValueService
-
configurationService
-
-
Constructor Details
-
UpdateAuthorities
-
-
Method Details
-
main
- Throws:
org.apache.commons.cli.ParseException
-
processArgs
protected static int processArgs(String[] args, UpdateAuthorities UpdateAuthorities) throws org.apache.commons.cli.ParseException - Throws:
org.apache.commons.cli.ParseException
-
createCommandLineOptions
protected static org.apache.commons.cli.Options createCommandLineOptions() -
run
public void run() -
followUp
-
updateItems
-
getPrint
-
setPrint
-