Edit C:\Users\Admin\.m2\repository\org\dspace\dspace-api\6.2\org\dspace\app\packager\Packager.class
???? 3? ?G =H =I =J KL MNO KPQ GR1S T ?UVWXYZ[\]^_`abcdefgh>ij ?k ?lmnopqrstuv 6Gwxy 9G z{ z|} =G ~? @G? @??? EG? E? ~?? E???????? N????? U??????? 9? 9? 9? 9? 9? ~? 9? ~?? ?? ?? 9?? K?????? oG ?? ????? =? o? 9? ?? o?? ?? ?? ?????? ??? K? ?? ?????? M? ??? ??? =? o?? ?? o? M?????? ?? =? ?? =?? ?? ????? 9??? N???? E??????????? ?? ???? ?? E??? N? 9 ? U ? U N N packageType Ljava/lang/String; submit Z userInteractionEnabled <init> ()V Code LineNumberTable LocalVariableTable this "Lorg/dspace/app/packager/Packager; usageError (Ljava/lang/String;)V msg main ([Ljava/lang/String;)V sip -Lorg/dspace/content/packager/PackageIngester; dip 1Lorg/dspace/content/packager/PackageDisseminator; i I pn [Ljava/lang/String; myhelp &Lorg/apache/commons/cli/HelpFormatter; pair popt input Ljava/io/BufferedReader; e Ljava/lang/Exception; objToReplace !Lorg/dspace/content/DSpaceObject; choiceString parentObjs "[Lorg/dspace/content/DSpaceObject; dso argv options Lorg/apache/commons/cli/Options; parser *Lorg/apache/commons/cli/CommandLineParser; line $Lorg/apache/commons/cli/CommandLine; sourceFile eperson parents identifier pkgParams /Lorg/dspace/content/packager/PackageParameters; pluginService 'Lorg/dspace/core/service/PluginService; myPackager files context Lorg/dspace/core/Context; myEPerson Lorg/dspace/eperson/EPerson; StackMapTable ?Q?y}?????? ?? Exceptions ingest ?(Lorg/dspace/core/Context;Lorg/dspace/content/packager/PackageIngester;Lorg/dspace/content/packager/PackageParameters;Ljava/lang/String;[Lorg/dspace/content/DSpaceObject;)V result hdlResults Ljava/util/List; ie !Ljava/lang/IllegalStateException; 'Lorg/dspace/workflow/WorkflowException; pkgFile Ljava/io/File; parent LocalVariableTypeTable $Ljava/util/List<Ljava/lang/String;>;? ! "#$%& disseminate ?(Lorg/dspace/core/Context;Lorg/dspace/content/packager/PackageDisseminator;Lorg/dspace/content/DSpaceObject;Lorg/dspace/content/packager/PackageParameters;Ljava/lang/String;)V fileResults outputFile Ljava/util/List<Ljava/io/File;>; replace ?(Lorg/dspace/core/Context;Lorg/dspace/content/packager/PackageIngester;Lorg/dspace/content/packager/PackageParameters;Ljava/lang/String;Lorg/dspace/content/DSpaceObject;)V SourceFile Packager.java ? ? ? ? ? ? ? ?'()* ? (run with -h flag for details)+, org/apache/commons/cli/Options p THandle(s) of parent Community or Collection into which to ingest object (repeatable)-. (email address of eperson doing importing w install Qdisable workflow; install immediately without going through collection's workflow r restore Xingest in "restore" mode. Restores a missing object based on the contents in a package. k keep-existing ?if an object is found to already exist during a restore (-r), then keep the existing object and continue processing. Can only be used with '-r'. This avoids object-exists errors which are thrown by -r by default. f force-replace ?if an object is found to already exist during a restore (-r), then remove it and replace it with the contents of the package. Can only be used with '-r'. This REPLACES the object(s) in the repository with the contents from the package(s). t type package type or MIMEtype o option <Packager option to pass to plugin, "name=value" (repeatable) d 3Disseminate package (output); default is to submit. s 1Submission package (Input); this is the default. Handle of object to disseminate. a all ?also recursively ingest/disseminate any child packages, e.g. all Items within a Collection (not all packagers may support this option!) h help _help (you may also specify '-h -t [type]' for additional help with a specific type of packager) u no-user-interaction ?Skips over all user interaction (i.e. [y/n] question prompts) within this script. This flag can be used if you want to save (pipe) a report of all changes to a file, and therefore need to bypass all user interaction. "org/apache/commons/cli/PosixParser/0 -org/dspace/content/packager/PackageParameters12345 org/dspace/app/packager/Packager67 $org/apache/commons/cli/HelpFormatter $Packager [options] package-file|- 89 ? -------------------------------------------------------------- java/lang/StringBuilder Additional options for the :;<= packager:>? >-------------------------------------------------------------- B(These options may be specified using --option as described above) +org/dspace/content/packager/PackageIngester@A " Submission (SIP) plugin options: B? & No valid Submission plugin found for type. /org/dspace/content/packager/PackageDisseminator % Dissemination (DIP) plugin options: ) No valid Dissemination plugin found for * Available Submission Package (SIP) types:CD - Available Dissemination Package (DIP) types:EFGFHIJFKFLMNFOP \=QRS?TU V) )Warning: Illegal package option format: " " /Error - missing a REQUIRED argument or option. *PackageManager [options] package-file|- org/dspace/core/ContextW2XYZ[\] Error, eperson cannot be found: ? ?^_`Iadefg Error, Unknown package type: hij2klmnop "java/lang/IllegalArgumentException 0Bad identifier/handle -- Cannot resolve handle " ? ? java/io/BufferedReader java/io/InputStreamReaderqr ?s ?t : WARNING -- You are running the packager in REPLACE mode. n REPLACE mode may be potentially dangerous as it will automatically remove and replace contents within DSpace. ]We highly recommend backing up all your DSpace contents (files & database) before continuing. $ Would you like to continue? [y/n]: u ?v? ywx Beginning replacement process...CDy ? java/lang/Exceptionz ?{ ?*| Destination parents: org/dspace/content/DSpaceObject 1Bad parent list -- Cannot resolve parent handle " Owner: Parent: }?'(~e>? java/io/FileI ERROR: Package located at does not exist! Ingesting package located at ?I : Also ingesting all referenced packages (recursive mode).. _This may take a while, please check your logs for ongoing status while we process each package.?? CREATED a total of ?i:? DSpace Objects. H Would you like to view a list of all objects that were created? [y/n]: ??!?I?? java/lang/String RESTORED DSpace ?? ??i [ hdl= , dbID=??:? ] CREATED new DSpace '? java/lang/IllegalStateException?I SKIPPED processing package ' 0', as an Object already exists with this handle. %org/dspace/workflow/WorkflowException ,org/dspace/content/packager/PackageException ?? Disseminating DSpace ] to 8 Also disseminating all child objects (recursive mode)..?? dissemination package files. F Would you like to view a list of all files that were created? [y/n]: CREATED package file: ??>? CREATED package file: Package located at 4 Replacing DSpace object(s) with package located at Will replace existing DSpace ]?? REPLACED a total of I Would you like to view a list of all objects that were replaced? [y/n]: REPLACED DSpace C? java/lang/Object (org/apache/commons/cli/CommandLineParser "org/apache/commons/cli/CommandLine %org/dspace/core/service/PluginService org/dspace/eperson/EPerson java/io/PrintStream java/util/List java/util/Iterator java/io/IOException java/sql/SQLException java/io/FileNotFoundException 'org/dspace/authorize/AuthorizeException /org/dspace/content/crosswalk/CrosswalkException java/lang/System out Ljava/io/PrintStream; println exit (I)V addOption Y(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lorg/apache/commons/cli/Options; parse Y(Lorg/apache/commons/cli/Options;[Ljava/lang/String;)Lorg/apache/commons/cli/CommandLine; *org/dspace/core/factory/CoreServiceFactory getInstance .()Lorg/dspace/core/factory/CoreServiceFactory; getPluginService )()Lorg/dspace/core/service/PluginService; hasOption (C)Z printHelp 5(Ljava/lang/String;Lorg/apache/commons/cli/Options;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getOptionValue (C)Ljava/lang/String; toString ()Ljava/lang/String; getNamedPlugin 7(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; getParameterHelp getAllPluginNames &(Ljava/lang/Class;)[Ljava/lang/String; setWorkflowEnabled (Z)V setRestoreModeEnabled restoreModeEnabled ()Z setKeepExistingModeEnabled setReplaceModeEnabled getOptionValues (C)[Ljava/lang/String; setRecursiveModeEnabled getArgs ()[Ljava/lang/String; split ((Ljava/lang/String;I)[Ljava/lang/String; trim addProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; err 0org/dspace/eperson/factory/EPersonServiceFactory 4()Lorg/dspace/eperson/factory/EPersonServiceFactory; getEPersonService -()Lorg/dspace/eperson/service/EPersonService; )org/dspace/eperson/service/EPersonService findByEmail I(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/eperson/EPerson; setCurrentUser (Lorg/dspace/eperson/EPerson;)V replaceModeEnabled org/dspace/core/Context$Mode Mode InnerClasses BATCH_EDIT Lorg/dspace/core/Context$Mode; setMode !(Lorg/dspace/core/Context$Mode;)V length ()I .org/dspace/handle/factory/HandleServiceFactory 2()Lorg/dspace/handle/factory/HandleServiceFactory; getHandleService +()Lorg/dspace/handle/service/HandleService; 'org/dspace/handle/service/HandleService resolveToObject N(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; in Ljava/io/InputStream; (Ljava/io/InputStream;)V (Ljava/io/Reader;)V print readLine equalsIgnoreCase (Ljava/lang/String;)Z complete printStackTrace abort (Ljava/lang/Object;)V getHandle READ_ONLY exists recursiveModeEnabled ingestAll ?(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/io/File;Lorg/dspace/content/packager/PackageParameters;Ljava/lang/String;)Ljava/util/List; size (I)Ljava/lang/StringBuilder; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; org/dspace/core/Constants typeText getType getID ()Ljava/util/UUID; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ?(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/io/File;Lorg/dspace/content/packager/PackageParameters;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; keepExistingModeEnabled (Ljava/lang/Throwable;)V disseminateAll ?(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Lorg/dspace/content/packager/PackageParameters;Ljava/io/File;)Ljava/util/List; getCanonicalPath z(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Lorg/dspace/content/packager/PackageParameters;Ljava/io/File;)V replaceAll ?(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/io/File;Lorg/dspace/content/packager/PackageParameters;)Ljava/util/List; ?(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/io/File;Lorg/dspace/content/packager/PackageParameters;)Lorg/dspace/content/DSpaceObject; ! = ? ? ? ? ? ? ? ? ? ? J *? *? *? *? ? ? l o p q ? ? ? ? ? ? J ? *? ? ? ? ? ? v w x y ? ? ? ? ? ? ? -? Y? L+ ? W+? W+? W+? W+? W+? W+ ? W+!"#? W+$%&? W+'()? W+*+,? W+-./? W+012? W+345? W? 6Y? 7M,+*? 8 N::::? 9Y? ::? ;? <: ? =Y? >: -h? ???? @Y? A:B+? C-t? ??? D? ? ? EY? FG? H-t? I? HJ? H? K? ? L? ? M? N-t? I? O ? N:? 6? ? EY? FP? H-t? I? HQ? H? K? ? ? R ? ? &? ? EY? FS? H-t? I? HT? H? K? U-t? I? O ? U: ? 6? ? EY? FP? H-t? I? HV? H? K? ? ? W ? ? &? ? EY? FX? H-t? I? HT? H? K? ? ?? Y? N? Z :6 ?? &? ? EY? F[? H 2? H? K? ? ??? \? U? Z :6 ?? &? ? EY? F[? H 2? H? K? ? ???? -u? ?? ? -w? ?? ? ]-r? ?? ? ^-k? ?? ? _? ? `-f? ?? ? _? ? a-e? ?? -e? I:-p? ?? -p? b:-t? ?? -t? I? -i? ?? -i? I:-a? ?? ? c-? d:?? 2:-d? ?? ? -o? ?? ?-o? b:6 ?? o 2e? f:?? 2? g2? g? hW? >?? 2? gi? hW? %? j? EY? Fk? H 2? Hl? H? K? ? ???? ? ? ? ? jm? ? @Y? A:n+? C? ? oY? p:: ? q? r? s : ? ? EY? Ft? H? H? K? u ? v? w?? x? y N ? ? O ? N:? ? EY? Fz? H ? ? H? K? u:? B? {? :? |? }? ~ :? $? Y? EY? F?? H? Hl? H? K? ??: ? ? @? ?Y? ?Y? ?? ?? ?:? ?? ? ?? ? ?? ? ?? ?? ?:? ?:?? ?? >? ?? ? ?? ?? ? :? ?? ?? ? ?? ?? ? ? ? _? ? x? y N ? ? O ? N:? ? EY? Fz? H ? ? H? K? u:? ?? ?? ?? ?:6?? v? |? }2? ~ S2? '? Y? EY? F?? H2? Hl? H? K? ??? ? EY? F? ?? ?? H2? ?? H? K? ???? ? ?? ?? ? :? ?? ?? ? ?? ? ?? ?? y U ? ? O ? U:? ? EY? Fz? H ? ? H? K? u? |? }? ~ :? $? Y? EY? F?? H? Hl? H? K? ?? ? ?? ? \tw ?r?? ? ? ? ? } ~ ? ? ( ? , ? 8 ? D ? P ? \ ? d ? h ? t ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?5 ?= ?E ?L ?Y ?^ ?? ?? ?? ?? ?? ?? ?? ? ?# ?&