Edit C:\apache-tomcat-7.0.69\webapps\sword\WEB-INF\classes\org\dspace\sword\DepositManager.class
???? 3? ? ? ? ? ? ? ? ? ? ? ? ? ? E ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * 0!"# 3!$ ?%&' 7 ()*+ ?, -. ?/01 2 ?3 45 678 G9 4: G; 4<=> M? 4@AB Q?CD EF EG (HI JK LM NO ?P JQ GR -ST b bU bVW @X EYZ b[\]^ E_ n` mabc s` rd ef gh ihjkl {` zm ymn Eo ypq Ers Etuv Ewx Eyz yh{ ?|} log Lorg/apache/log4j/Logger; swordService Lorg/dspace/sword/SWORDService; <init> "(Lorg/dspace/sword/SWORDService;)V Code LineNumberTable LocalVariableTable this !Lorg/dspace/sword/DepositManager; service getDepositTarget @(Lorg/purl/sword/base/Deposit;)Lorg/dspace/content/DSpaceObject; collectionService .Lorg/dspace/content/service/CollectionService; deposit Lorg/purl/sword/base/Deposit; urlManager "Lorg/dspace/sword/SWORDUrlManager; context Lorg/dspace/core/Context; loc Ljava/lang/String; dso !Lorg/dspace/content/DSpaceObject; StackMapTable{5~?? Exceptions D(Lorg/purl/sword/base/Deposit;)Lorg/purl/sword/base/DepositResponse; oboEmail e2 Ljava/io/IOException; e Ljava/lang/Exception; start Ljava/util/Date; swordContext Lorg/dspace/sword/SWORDContext; auth %Lorg/dspace/sword/SWORDAuthenticator; dep Lorg/dspace/sword/Depositor; result Lorg/dspace/sword/DepositResult; handle state I response %Lorg/purl/sword/base/DepositResponse; dsatom "Lorg/dspace/sword/DSpaceATOMEntry; entry Lorg/purl/sword/base/SWORDEntry; finish delta J????08?? storePackageAsFile (Lorg/purl/sword/base/Deposit;)V path dir Ljava/io/File; filenameBase packageFile headersFile is Ljava/io/InputStream; fos Ljava/io/OutputStream; pw Ljava/io/PrintWriter;T <clinit> ()V SourceFile DepositManager.java ? ? ? ? ? ? "Created instance of DepositManager??????????~?? java/lang/StringBuilder #Performing deposit using location: ?????? org/dspace/content/Collection????? -Location resolves to collection with handle: ??? and name: ??? org/dspace/content/Item 'Location resolves to item with handle: java/util/Date Initialising verbose deposit?? ? ? #org/dspace/sword/SWORDAuthenticator?? none?????? deposit_failed_authorisation user=?? ,on_behalf_of=????? 0org/purl/sword/base/SWORDAuthenticationException 7Cannot submit to the given collection with this context ?? Authenticated user: Depositing on behalf of: 2Initialising depositor for an Item in a Collection $org/dspace/sword/CollectionDepositor ?? 1Initialising depositor for a Bitstream in an Item org/dspace/sword/ItemDepositor NThe specified deposit target does not exist, or is not a collection or an item?? %org/dspace/sword/DSpaceSWORDException -Deposit target is not a collection or an item??? 'org/purl/sword/base/SWORDErrorException java/lang/RuntimeException????? ? ? java/io/IOException 'Unable to store SWORD package as file: ????? org/purl/sword/base/Deposit??? #org/purl/sword/base/DepositResponse ???????? -Initialising ATOM entry generator for an Item #org/dspace/sword/ItemEntryGenerator ? ??? 1Initialising ATOM entry generator for a Bitstream (org/dspace/sword/BitstreamEntryGenerator 2The deposit failed, see exceptions for explanation 6Result of deposit did not yield an Item or a Bitstream??????? 0NoOp Requested: Removed all traces of submission????? #Total time for deposit processing: ?? ms???????? java/io/File???? >Directory does not exist for writing packages on ingest error. sword-?? - ?? -headers java/io/BufferedInputStream java/io/FileInputStream?? ?? ?? java/io/BufferedOutputStream java/io/FileOutputStream ??????? ?? java/io/PrintWriter java/io/BufferedWriter java/io/FileWriter ?? Content-Disposition=???? Content-Type=?? Packaging=?? Location= On Behalf of=?? Slug=?? User name= org/dspace/sword/DepositManager?? java/lang/Object org/dspace/sword/SWORDUrlManager org/dspace/core/Context java/lang/String org/dspace/content/DSpaceObject org/dspace/sword/SWORDContext org/dspace/sword/Depositor org/dspace/sword/DepositResult java/lang/Exception org/dspace/sword/DSpaceATOMEntry org/purl/sword/base/SWORDEntry org/apache/log4j/Logger debug (Ljava/lang/Object;)V org/dspace/sword/SWORDService getUrlManager $()Lorg/dspace/sword/SWORDUrlManager; getContext ()Lorg/dspace/core/Context; getLocation ()Ljava/lang/String; getDSpaceObject N(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString message (Ljava/lang/String;)V 0org/dspace/content/factory/ContentServiceFactory getInstance 4()Lorg/dspace/content/factory/ContentServiceFactory; getCollectionService 0()Lorg/dspace/content/service/CollectionService; getHandle ,org/dspace/content/service/CollectionService getName 5(Lorg/dspace/content/DSpaceObject;)Ljava/lang/String; getSwordContext !()Lorg/dspace/sword/SWORDContext; canSubmit `(Lorg/dspace/sword/SWORDService;Lorg/purl/sword/base/Deposit;Lorg/dspace/content/DSpaceObject;)Z getOnBehalfOf ()Lorg/dspace/eperson/EPerson; org/dspace/eperson/EPerson getEmail getAuthenticated org/dspace/core/LogManager getHeader Q(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; info C(Lorg/dspace/sword/SWORDService;Lorg/dspace/content/DSpaceObject;)V error doDeposit ?(Lorg/purl/sword/base/Deposit;)Lorg/dspace/sword/DepositResult; getSwordConfig '()Lorg/dspace/sword/SWORDConfiguration; #org/dspace/sword/SWORDConfiguration isKeepPackageOnFailedIngest ()Z -(Ljava/lang/Object;)Ljava/lang/StringBuilder; warn #org/apache/commons/lang/StringUtils isBlank (Ljava/lang/String;)Z (I)V getMediaLink setLocation getItem ()Lorg/dspace/content/Item; getBitstream ()Lorg/dspace/content/Bitstream; getSWORDEntry _(Lorg/dspace/sword/DepositResult;Lorg/purl/sword/base/Deposit;)Lorg/purl/sword/base/SWORDEntry; isNoOp undoDeposit #(Lorg/dspace/sword/DepositResult;)V setNoOp (Z)V getTime ()J (J)Ljava/lang/StringBuilder; getVerboseDescription ()Ljava/lang/StringBuilder; setVerboseDescription setEntry #(Lorg/purl/sword/base/SWORDEntry;)V getFailedPackageDir exists isDirectory getUsername '(Ljava/lang/String;Ljava/lang/String;)V getFile ()Ljava/io/File; (Ljava/io/File;)V (Ljava/io/InputStream;)V (Ljava/io/OutputStream;)V org/dspace/core/Utils copy .(Ljava/io/InputStream;Ljava/io/OutputStream;)V java/io/OutputStream close java/io/InputStream (Ljava/io/Writer;)V getContentDisposition println getContentType getPackaging getSlug getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? R *? *+? ? ? ? ? 5 6 7 8 ? ? ? ? ? ? ? ? p ?*? ? M*? ? N+? :,-? :*? ? Y? ? ? ? ? ? ? @? ? :*? ? Y? ? ? ? ? ? ? ? ? ? ? )? ? !*? ? Y? ? ? ? ? ? ? ? F = >