Edit C:\Users\Admin\.m2\repository\org\dspace\dspace-api\6.2\org\dspace\content\BundleServiceImpl.class
???? 3! ? ? ? ! "#$% & ?'()* + , ?-./ 012 34 5 67 #8 9: ;1<=>=?@ *A BCDE *5 FC G *H1I *J BK ?L #M)N ?OPQR ?ST.U.Q V *C W1XPY Z1[)\] ^5_` K ?abcd Ne ?f gh)i)j)k1lPmnop qrs1C t =u ^v1wx yz y{ y| y} y~ y?? ?Q? ? ? ? ? #? ? ?? A ??? x?1? =?? "? ?? ?? F? ???? ?? ?? ?? ?? ?? ???? log Lorg/apache/log4j/Logger; bundleDAO "Lorg/dspace/content/dao/BundleDAO; RuntimeVisibleAnnotations 8Lorg/springframework/beans/factory/annotation/Autowired; required bitstreamService -Lorg/dspace/content/service/BitstreamService; itemService (Lorg/dspace/content/service/ItemService; authorizeService /Lorg/dspace/authorize/service/AuthorizeService; resourcePolicyService 4Lorg/dspace/authorize/service/ResourcePolicyService; <init> ()V Code LineNumberTable LocalVariableTable this &Lorg/dspace/content/BundleServiceImpl; find F(Lorg/dspace/core/Context;Ljava/util/UUID;)Lorg/dspace/content/Bundle; context Lorg/dspace/core/Context; id Ljava/util/UUID; bundle Lorg/dspace/content/Bundle; StackMapTable Exceptions create a(Lorg/dspace/core/Context;Lorg/dspace/content/Item;Ljava/lang/String;)Lorg/dspace/content/Bundle; item Lorg/dspace/content/Item; name Ljava/lang/String;? getBitstreamByName M(Lorg/dspace/content/Bundle;Ljava/lang/String;)Lorg/dspace/content/Bitstream; bitstream Lorg/dspace/content/Bitstream; target@? addBitstream U(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;Lorg/dspace/content/Bitstream;)V bs bitstreams Ljava/util/List; topOrder I LocalVariableTypeTable 0Ljava/util/List<Lorg/dspace/content/Bitstream;>;? removeBitstream owningItemT? inheritCollectionDefaultPolicies V(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;Lorg/dspace/content/Collection;)V rp %Lorg/dspace/authorize/ResourcePolicy; collection Lorg/dspace/content/Collection; policies i Ljava/util/Iterator; newPolicies 7Ljava/util/List<Lorg/dspace/authorize/ResourcePolicy;>; ;Ljava/util/Iterator<Lorg/dspace/authorize/ResourcePolicy;>; replaceAllBitstreamPolicies G(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;Ljava/util/List;)V newpolicies Signature n(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;Ljava/util/List<Lorg/dspace/authorize/ResourcePolicy;>;)V getBitstreamPolicies F(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;)Ljava/util/List; list m(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;)Ljava/util/List<Lorg/dspace/authorize/ResourcePolicy;>; getBundlePolicies setOrder H(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;[Ljava/util/UUID;)V bitstreamId bitstreamIds [Ljava/util/UUID; currentBitstreams updatedBitstreams? getAdminObject X(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;I)Lorg/dspace/content/DSpaceObject; action adminObject !Lorg/dspace/content/DSpaceObject; community Lorg/dspace/content/Community;????x getParentObject W(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;)Lorg/dspace/content/DSpaceObject; items +Ljava/util/List<Lorg/dspace/content/Item;>; updateLastModified 7(Lorg/dspace/core/Context;Lorg/dspace/content/Bundle;)V dso update delete getSupportsTypeConstant ()I findByIdOrLegacyId H(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/Bundle; findByLegacyId 7(Lorg/dspace/core/Context;I)Lorg/dspace/content/Bundle; countTotal (Lorg/dspace/core/Context;)I =(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)V ^(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;I)Lorg/dspace/content/DSpaceObject; ](Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)Lorg/dspace/content/DSpaceObject; L(Lorg/dspace/core/Context;Ljava/util/UUID;)Lorg/dspace/content/DSpaceObject; =(Lorg/dspace/core/Context;I)Lorg/dspace/content/DSpaceObject; N(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; <clinit> sLorg/dspace/content/DSpaceObjectServiceImpl<Lorg/dspace/content/Bundle;>;Lorg/dspace/content/service/BundleService; SourceFile BundleServiceImpl.java ? ? ? ? org/dspace/content/Bundle??? ? ???? find_bundle java/lang/StringBuilder not_found,bundle_id=??????????? bundle_id=??? java/sql/SQLException )Bundle must be created with non-null name ?? ? ? org/dspace/core/Constants??? ???? ? ??????????? create_bundle???? org/dspace/event/Event ?????????????? org/dspace/content/Bitstream????? add_bitstream ,bitstream_id=? ??????? ????? ???? ? ?? ? remove_bitstream ? ? org/dspace/content/Item ???? ?? ? ? ?????? Collection ? ' has no default bitstream READ policies java/util/ArrayList ? ? #org/dspace/authorize/ResourcePolicy????? ? ??????????? ? 3Invalid bitstream id while changing bitstream order Bundle: , bitstream id: ?? oEncountered a bitstream not in this bundle while changing bitstream order. Bitstream order will not be changed. PSize of old list and new list do not match. Bitstream order will not be changed.? ??? ? org/dspace/content/Community????? ? org/dspace/content/DSpaceObject update_bundle ? ? ?? ? ? ? delete_bundle ? ? java/util/LinkedList ? ? ?? ? ? ? ? ? ? ? ? ? ? $org/dspace/content/BundleServiceImpl *org/dspace/content/DSpaceObjectServiceImpl (org/dspace/content/service/BundleService 'org/dspace/authorize/AuthorizeException java/util/Iterator java/util/List java/io/IOException java/util/UUID org/dspace/core/Context org/dspace/content/Collection org/dspace/content/dao/BundleDAO findByID N(Lorg/dspace/core/Context;Ljava/lang/Class;Ljava/util/UUID;)Ljava/lang/Object; org/apache/log4j/Logger isDebugEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; org/dspace/core/LogManager getHeader Q(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; debug (Ljava/lang/Object;)V #org/apache/commons/lang/StringUtils isBlank (Ljava/lang/String;)Z (Ljava/lang/String;)V -org/dspace/authorize/service/AuthorizeService authorizeAction >(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;I)V ?(Lorg/dspace/core/Context;Ljava/lang/Object;)Ljava/lang/Object; setName .(Lorg/dspace/core/Context;Ljava/lang/String;)V &org/dspace/content/service/ItemService addBundle P(Lorg/dspace/core/Context;Lorg/dspace/content/Item;Lorg/dspace/content/Bundle;)V getItems ()Ljava/util/List; contains (Ljava/lang/Object;)Z addItem (Lorg/dspace/content/Item;)V getID ()Ljava/util/UUID; info '(IILjava/util/UUID;Ljava/lang/String;)V addEvent (Lorg/dspace/event/Event;)V getBitstreams iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getName java/lang/String equals !(Lorg/dspace/content/Bitstream;)V getBundles add getSequenceID valueOf (I)Ljava/lang/String; getIdentifiers Q(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)Ljava/util/ArrayList; M(IILjava/util/UUID;ILjava/util/UUID;Ljava/lang/String;Ljava/util/ArrayList;)V inheritPolicies ^(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Lorg/dspace/content/DSpaceObject;)V +org/dspace/content/service/BitstreamService getPrimaryBitstream ()Lorg/dspace/content/Bitstream; unsetPrimaryBitstreamID size remove getPoliciesActionFilter M(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;I)Ljava/util/List; 2org/dspace/authorize/service/ResourcePolicyService clone e(Lorg/dspace/core/Context;Lorg/dspace/authorize/ResourcePolicy;)Lorg/dspace/authorize/ResourcePolicy; setAction (I)V .org/apache/commons/collections/CollectionUtils isNotEmpty (Ljava/util/Collection;)Z removeAllPolicies addPolicies M(Lorg/dspace/core/Context;Ljava/util/List;Lorg/dspace/content/DSpaceObject;)V getPolicies L(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)Ljava/util/List; addAll warn clearBitstreams getOwningCollection !()Lorg/dspace/content/Collection; getCommunities get (I)Ljava/lang/Object; +org/dspace/authorize/AuthorizeConfiguration $canItemAdminPerformBitstreamDeletion *canCollectionAdminPerformBitstreamDeletion )canCommunityAdminPerformBitstreamDeletion $canItemAdminPerformBitstreamCreation *canCollectionAdminPerformBitstreamCreation )canCommunityAdminPerformBitstreamCreation save .(Lorg/dspace/core/Context;Ljava/lang/Object;)V isModified isMetadataModified getType getDetails <(IILjava/util/UUID;Ljava/lang/String;Ljava/util/ArrayList;)V clearModified clearDetails (Ljava/util/Collection;)V clear removeBundle (Lorg/dspace/content/Bundle;)V isNumeric java/lang/Integer parseInt (Ljava/lang/String;)I fromString $(Ljava/lang/String;)Ljava/util/UUID; N(Lorg/dspace/core/Context;ILjava/lang/Class;)Lorg/dspace/content/DSpaceObject; countRows getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ?Z ? ? ? ? ? ?Z ? ? ? ? ? ?Z ? ? ? ? ? ?Z ? ? ? ? ? ?Z ? ? ? ? 3 *? ? ? : ; ? ? ? ? ? ? ? i*? +,? ? N-? -? ? ? "? +? Y? ? ,? ? ? ? ?? ? ? "? +? Y? ? ,? ? ? ? -? ? "