Edit C:\Users\Admin\.m2\repository\org\dspace\dspace-api\6.2\org\dspace\handle\HandleServiceImpl.class
???? 3? ] ? J ? ? ? J ? ? ? ? ? ? ? J ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J ? ? ? ? ? J ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? J ? ? ? ? ? ? , ? ? ? ? ? ? J ? ? ? ? ? ? ? E ? ? ? ? ! R ? ?" J# ?$ ?%& ' ? ?( ?)*+ log Lorg/apache/log4j/Logger; EXAMPLE_PREFIX Ljava/lang/String; ConstantValue handleDAO !Lorg/dspace/handle/dao/HandleDAO; RuntimeVisibleAnnotations 8Lorg/springframework/beans/factory/annotation/Autowired; required configurationService *Lorg/dspace/services/ConfigurationService; siteService (Lorg/dspace/content/service/SiteService; <init> ()V Code LineNumberTable LocalVariableTable this %Lorg/dspace/handle/HandleServiceImpl; resolveToURL ?(Lorg/dspace/core/Context;Ljava/lang/String;)Ljava/lang/String; context Lorg/dspace/core/Context; handle dbhandle Lorg/dspace/handle/Handle; url StackMapTable ?, Exceptions- resolveUrlToHandle dspaceUrl handleResolver getCanonicalForm &(Ljava/lang/String;)Ljava/lang/String; handlePrefix createHandle N(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)Ljava/lang/String; dso !Lorg/dspace/content/DSpaceObject; handleId `(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/lang/String;)Ljava/lang/String; suppliedHandle a(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/lang/String;Z)Ljava/lang/String; previousType I force Z unbindHandle =(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)V handles Ljava/util/List; LocalVariableTypeTable ,Ljava/util/List<Lorg/dspace/handle/Handle;>;./ resolveToObject N(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; findHandle result getHandlesForPrefix =(Lorg/dspace/core/Context;Ljava/lang/String;)Ljava/util/List; prefix handleStrings $Ljava/util/List<Ljava/lang/String;>; Signature Q(Lorg/dspace/core/Context;Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>; getPrefix ()Ljava/lang/String; countHandlesByPrefix .(Lorg/dspace/core/Context;Ljava/lang/String;)J updateHandlesWithNewPrefix @(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;)I newPrefix oldPrefix modifyHandleDSpaceObject O(Lorg/dspace/core/Context;Ljava/lang/String;Lorg/dspace/content/DSpaceObject;)V newOwner dbHandle getInternalHandles L(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)Ljava/util/List; h(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)Ljava/util/List<Lorg/dspace/handle/Handle;>; findHandleInternal G(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/handle/Handle; createId -(Lorg/dspace/core/Context;)Ljava/lang/String; handleSuffix Ljava/lang/Long;01 ? countTotal (Lorg/dspace/core/Context;)I <clinit> SourceFile HandleServiceImpl.java n o ? ? java/lang/StringBuilder j k dspace.url23 ?45 /handle/6 ? _ `789 Resolved to :; handle.canonical.prefix,<=>?@A /BC= http://hdl.handle.net/ d e org/dspace/handle/HandleDEF ? ?GHIJKLMN?OPQRSTU Created new handle for VWX (ID=YZ4[ ) ? ?\]^_` java/lang/IllegalStateException 6Attempted to create a handle which is already in use: nHabc? 1Attempted to reuse a handle previously used by a for a new ? ?def.gh/i9jklmn` Unbound Handle o ? from object id= .Cannot find Handle entry to unbind for object ). Handle could have been unbinded before.p;qf .*/.*\.\d+r=s ? java/util/ArrayListt? nuv` handle.prefix #org/dspace/handle/HandleServiceImpl 123456789 'handle.prefix is not configured; using w; ? ? ? ?vxy ? "java/lang/IllegalArgumentException Handle is nullz ? ? ?{|}= 1~ ?? java/lang/Object 'org/dspace/handle/service/HandleService java/lang/String java/sql/SQLException java/util/List java/util/Iterator org/dspace/core/Context java/lang/Long (org/dspace/services/ConfigurationService getProperty append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString org/apache/log4j/Logger isDebugEnabled ()Z debug (Ljava/lang/Object;)V startsWith (Ljava/lang/String;)Z length ()I substring (I)Ljava/lang/String; #org/apache/commons/lang/StringUtils isBlank org/dspace/handle/dao/HandleDAO create ?(Lorg/dspace/core/Context;Ljava/lang/Object;)Ljava/lang/Object; setHandle (Ljava/lang/String;)V setDSpaceObject $(Lorg/dspace/content/DSpaceObject;)V org/dspace/content/DSpaceObject addHandle (Lorg/dspace/handle/Handle;)V getType java/lang/Integer valueOf (I)Ljava/lang/Integer; setResourceTypeId (Ljava/lang/Integer;)V save .(Lorg/dspace/core/Context;Ljava/lang/Object;)V org/dspace/core/Constants typeText [Ljava/lang/String; getID ()Ljava/util/UUID; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getDSpaceObject #()Lorg/dspace/content/DSpaceObject; java/util/UUID equals (Ljava/lang/Object;)Z getResourceTypeId ()Ljava/lang/Integer; intValue .org/apache/commons/collections/CollectionUtils isNotEmpty (Ljava/util/Collection;)Z iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getHandles ()Ljava/util/List; remove getHandle trace isEmpty matches findByPrefix size (I)V add error (ILjava/lang/Object;)V getHandlesByDSpaceObject findByHandle getNextHandleSuffix +(Lorg/dspace/core/Context;)Ljava/lang/Long; endsWith countRows getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! J ] ^ _ ` a b c K d e f g hZ i j k f g hZ i l m f g n o p 3 *? ? q ; <