3} 45 46 4789 :;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\ ]^ _`a 34b 3c def ghijklmno dpqrs _t uvw G4x yz I{ G|} ~ G G G G     [4 [ Z p  [ G I G G      [ [ G   { G g   I Z Z  I  G  I      I I Z Z Z g    {       d    contextLorg/dspace/core/Context;harvestedCollectionService7Lorg/dspace/harvest/service/HarvestedCollectionService;ePersonService+Lorg/dspace/eperson/service/EPersonService;collectionService.Lorg/dspace/content/service/CollectionService;()VCodeLineNumberTableLocalVariableTablethis Lorg/dspace/app/harvest/Harvest;main([Ljava/lang/String;)Vmyhelp&Lorg/apache/commons/cli/HelpFormatter;harvestedCollection(Lorg/dspace/harvest/HarvestedCollection;harvestedCollectionsLjava/util/List;argv[Ljava/lang/String;parser*Lorg/apache/commons/cli/CommandLineParser;options Lorg/apache/commons/cli/Options;line$Lorg/apache/commons/cli/CommandLine;commandLjava/lang/String;eperson collection oaiSourceoaiSetID metadataKey harvestTypeI harvesterLocalVariableTypeTable:Ljava/util/List; StackMapTable6w ExceptionsresolveCollection3(Ljava/lang/String;)Lorg/dspace/content/Collection;dso!Lorg/dspace/content/DSpaceObject;seLjava/sql/SQLException; collectionIDtargetCollectionLorg/dspace/content/Collection;configureCollectionL(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)VhceLjava/lang/Exception;typeoaiSetId mdConfigIdpurgeCollection'(Ljava/lang/String;Ljava/lang/String;)VitemLorg/dspace/content/Item;Lorg/dspace/eperson/EPerson; itemService(Lorg/dspace/content/service/ItemService;itLjava/util/Iterator;iemail/Ljava/util/Iterator; runHarvesthex(Lorg/dspace/harvest/HarvestingException;)Lorg/dspace/authorize/AuthorizeException;Ljava/io/IOException;!Lorg/dspace/harvest/OAIHarvester;resetHarvestingexstartHarvester pingResponder9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)VerrorserversetmetadataFormaterrors$Ljava/util/List; SourceFile Harvest.java "org/apache/commons/cli/PosixParserorg/apache/commons/cli/Optionsppurge"delete all items in the collection rrun"run the standard harvest proceduregpingtest the OAI server and setoonce3run the harvest procedure with specified parametersssetup$Set the collection up for harvestingSstartstart the harvest loopRreset'reset harvest status on all collectionsP!purge all harvestable collectionsc$harvesting collection (handle or id)ttype of harvesting (0 for none)aaddressaddress of the OAI-PMH server oai_set_id7id of the PMH set representing the harvested collectionmmetadata_formatithe name of the desired metadata format for harvesting, resolved to namespace and crosswalk in dspace.cfghhelp   $org/apache/commons/cli/HelpFormatterHarvest     8 PING OAI server: Harvest -g -a oai_source -i oai_set_id RUNONCE harvest with arbitrary options: Harvest -o -e eperson -c collection -t harvest_type -a oai_source -i oai_set_id -m metadata_formatzSETUP a collection for harvesting: Harvest -s -c collection -t harvest_type -a oai_source -i oai_set_id -m metadata_format5RUN harvest once: Harvest -r -e eperson -c collection#START harvest scheduler: Harvest -S$RESET all harvest status: Harvest -RMPURGE a collection of items and settings: Harvest -p -e eperson -c collection8PURGE all harvestable collections: Harvest -P -e eperson configrunOncepurgeAll  org/dspace/app/harvest/Harvestorg/dspace/core/Context   >Error - no parameters specified (run with -h flag for details)  8Error - a target collection and eperson must be provided (run with -h flag for details)  ( &#Error - an eperson must be provided ! "# $% &' ()&org/dspace/harvest/HarvestedCollectionjava/lang/StringBuilderQPurging the following collections (deleting items and resetting harvest status): *+ ,- ./0 12  3-Error - a target collection must be providedDError - both the OAI server address and OAI set id must be specifiedRError - a metadata key (commonly the prefix) must be specified for this collection  )* 456 78 9:; <= >?org/dspace/core/Constantsorg/dspace/content/CollectionLooking up by id:  , parsed as ' *@', in context: *A BCD EFCannot resolve  to collectionjava/sql/SQLException GRunning: configure collection H EI JI K LM N OP Qjava/lang/ExceptionChanges could not be committedRPurging collection of all items and resetting last_harvested and harvest_message: R ST UVW 7X YZ [\org/dspace/content/Item Deleting: ]2 ^_ `a b cd e fdRunning: a harvest cycle on Initializing the harvester... gorg/dspace/harvest/OAIHarvester h success. &org/dspace/harvest/HarvestingExceptionfailed. i2java/lang/IllegalStateExceptionUnable to harvest jUnable to access databaseHarvest started... Failed to run harvester'org/dspace/authorize/AuthorizeExceptionjava/io/IOExceptionHarvest complete. 4Resetting harvest status flag on all collections... Starting harvest loop... k 7l mno p running. Testing basic PMH access: dc qr s'OKjava/lang/String tTesting ORE support: uvw 7x yz {|java/lang/Object(org/apache/commons/cli/CommandLineParser"org/apache/commons/cli/CommandLinejava/util/Listjava/util/Iteratororg/dspace/content/DSpaceObjectjava/lang/Throwableorg/dspace/eperson/EPerson&org/dspace/content/service/ItemService addOptionY(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lorg/apache/commons/cli/Options;parseY(Lorg/apache/commons/cli/Options;[Ljava/lang/String;)Lorg/apache/commons/cli/CommandLine; hasOption(C)Z printHelp5(Ljava/lang/String;Lorg/apache/commons/cli/Options;)Vjava/lang/SystemoutLjava/io/PrintStream;java/io/PrintStreamprintln(Ljava/lang/String;)Vexit(I)VgetOptionValue(C)Ljava/lang/String;java/lang/IntegerparseInt(Ljava/lang/String;)Iorg/dspace/core/Context$ModeMode InnerClasses BATCH_EDITLorg/dspace/core/Context$Mode;!(Lorg/dspace/core/Context$Mode;)Vequals(Ljava/lang/Object;)Z5org/dspace/harvest/service/HarvestedCollectionServicefindAll+(Lorg/dspace/core/Context;)Ljava/util/List;iterator()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object;append-(Ljava/lang/String;)Ljava/lang/StringBuilder; getCollection!()Lorg/dspace/content/Collection;getID()Ljava/util/UUID;java/util/UUIDtoString()Ljava/lang/String;completeindexOf(I)I.org/dspace/handle/factory/HandleServiceFactory getInstance2()Lorg/dspace/handle/factory/HandleServiceFactory;getHandleService+()Lorg/dspace/handle/service/HandleService;'org/dspace/handle/service/HandleServiceresolveToObjectN(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject;getType()I(I)Ljava/lang/StringBuilder;-(Ljava/lang/Object;)Ljava/lang/StringBuilder; fromString$(Ljava/lang/String;)Ljava/util/UUID;,org/dspace/content/service/CollectionServicefindL(Lorg/dspace/core/Context;Ljava/util/UUID;)Lorg/dspace/content/DSpaceObject;printStackTrace(Ljava/lang/Object;)Vb(Lorg/dspace/core/Context;Lorg/dspace/content/Collection;)Lorg/dspace/harvest/HarvestedCollection;createturnOffAuthorisationSystemsetHarvestParams:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)VsetHarvestStatusupdateD(Lorg/dspace/core/Context;Lorg/dspace/harvest/HarvestedCollection;)VrestoreAuthSystemState)org/dspace/eperson/service/EPersonService findByEmailI(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/eperson/EPerson;setCurrentUser(Lorg/dspace/eperson/EPerson;)V0org/dspace/content/factory/ContentServiceFactory4()Lorg/dspace/content/factory/ContentServiceFactory;getItemService*()Lorg/dspace/content/service/ItemService;findByCollectionN(Lorg/dspace/core/Context;Lorg/dspace/content/Collection;)Ljava/util/Iterator; getHandle removeItemT(Lorg/dspace/core/Context;Lorg/dspace/content/Collection;Lorg/dspace/content/Item;)V uncacheEntity%(Lorg/dspace/core/ReloadableEntity;)VdispatchEventssetLastHarvested(Ljava/util/Date;)VsetHarvestMessagesetHarvestStartTimeprinte(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Lorg/dspace/harvest/HarvestedCollection;)V getMessage*(Ljava/lang/String;Ljava/lang/Throwable;)V0org/dspace/harvest/factory/HarvestServiceFactory4()Lorg/dspace/harvest/factory/HarvestServiceFactory;getHarvestSchedulingService7()Lorg/dspace/harvest/service/HarvestSchedulingService;3org/dspace/harvest/service/HarvestSchedulingServicestartNewSchedulerverifyOAIharvesterI(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Ljava/util/List;isEmptyerrgetHarvestedCollectionService9()Lorg/dspace/harvest/service/HarvestedCollectionService;0org/dspace/eperson/factory/EPersonServiceFactory4()Lorg/dspace/eperson/factory/EPersonServiceFactory;getEPersonService-()Lorg/dspace/eperson/service/EPersonService;getCollectionService0()Lorg/dspace/content/service/CollectionService;!G  /*)  ;YLYM, W,   W,  W, W, W, W, W, W, W, !" W,#$% W,&'( W,)*+ W,,-. W,/00 W+,*1N:::::: 6 -h2X3Y4:  5,67897:97;97<97=97>97?97@9A-s2B:-p2:-r2 :-g2:-o2C:-S2:-R2:-P2D:-e2 -eE:-c2 -cE:-t2-tEF6 6 -a2 -aE:-i2 -iE:-m2 -mE: GYH:  WIYJKL7M9A N-7O97P9A QN RzN SjDN7T97P9AULV:  W:  XG YZ:7[Y\]^_`a^b9 _`acLdN37O97P9A cLdBNe7e97P9A7f97P9A 7g97P9A   h4N*7f97P9A i4689(:4;@<L=X>d?pB|CDEFGIKMNOPQRSUWXYZ[ \ ]^_`a!b$c)d,e1f4g9h<l@oIpMrVsZucvgxpyt{}|~ 05:=DNX]`hlx %(2<ADLPYblqyL 5] 30-*'$!    ] ]%@  , "M" pN+y+/j,klL+mM, ,nNN,pNF7[Y\q^+^r^+Fst^Lub9vL+wxpN-%7[Y\y^+^z^b9A :|-{B ,1#9*i+|/1275694 &,B%B 7}9*+~:7`UL:UL:L-ULLLdL?L6:79ALL:L Lm|m|^>@AD)E.F=ICJNKTLaMgNmVsX|P~QRSVXVX[\ )D~  6= > a   )7[Y\^+^b9*+~NL,:LL:L-:6XYY:7[Y\^^b9vL-L2p L6UL-:)ULLLL*:79AL: L %efj-k5l;nCoPpSq]r`sltuvyz{} (p lD-CPS7)))  PDS\8  [ W7[Y\^+^b97N*+~:UL:YLN79E:779Y:779YL,:79L-Ld-:Y:Y:Y79#PS#Pt{{z!#*9HPSU]htv~z *&9Uv    #!*S"#` jM$M% &`7ULVK*WL+X&+YZM,,UL,ײ79K79*OR6 .38DGORS[_ .;S ' ;+  ({$779K*# '^  )*7*+,,N-79,-W:XY:97*+,,N-79,-W:XY:96 #.LW_qz >L++,-./ /0   1<Uv- ./23 yI@