37 E C C C C C C  C    ' C  + 4   1 1 1 4 1 4 < < < = 1 logLorg/apache/log4j/Logger; siteService(Lorg/dspace/content/service/SiteService;communityService-Lorg/dspace/content/service/CommunityService;authorizeService/Lorg/dspace/authorize/service/AuthorizeService;configurationService*Lorg/dspace/services/ConfigurationService;()VCodeLineNumberTableLocalVariableTablethis#Lorg/dspace/rest/HierarchyResource; getHierarchy(Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)Lorg/dspace/rest/common/HierarchySite;siteLorg/dspace/content/Site;dspaceCommunitiesLjava/util/List;eLjava/sql/SQLException;Ljava/lang/Exception; user_agentLjava/lang/String; xforwardedforheadersLjavax/ws/rs/core/HttpHeaders;request'Ljavax/servlet/http/HttpServletRequest;contextLorg/dspace/core/Context;repo&Lorg/dspace/rest/common/HierarchySite;LocalVariableTypeTable0Ljava/util/List; StackMapTable ExceptionsRuntimeVisibleAnnotationsLjavax/ws/rs/GET;Ljavax/ws/rs/Produces;valueapplication/jsonapplication/xml"RuntimeVisibleParameterAnnotationsLjavax/ws/rs/QueryParam; userAgentLjavax/ws/rs/core/Context;processCommunityW(Lorg/dspace/core/Context;Lorg/dspace/rest/common/HierarchyCommunity;Ljava/util/List;)Vmycoll,Lorg/dspace/rest/common/HierarchyCollection;collLorg/dspace/content/Collection;myCollsmycomm+Lorg/dspace/rest/common/HierarchyCommunity;collscommLorg/dspace/content/Community;parent communities parentComms>Ljava/util/List;1Ljava/util/List;=Ljava/util/List; Signaturew(Lorg/dspace/core/Context;Lorg/dspace/rest/common/HierarchyCommunity;Ljava/util/List;)V SourceFileHierarchyResource.javaLjavax/ws/rs/Path; /hierarchy PQ HI JK LM NO$org/dspace/rest/common/HierarchySite rest.hierarchy-authenticate  Q             Qjava/sql/SQLException FGjava/lang/StringBuilder   occurred while trying to close java/lang/Exception   !"java/util/ArrayList #$ %& '( )*org/dspace/content/Communityorg/dspace/core/Constants+ ,-)org/dspace/rest/common/HierarchyCommunity P. /0 12 3$org/dspace/content/Collection*org/dspace/rest/common/HierarchyCollection 42!org/dspace/rest/HierarchyResource 56org/dspace/rest/Resourceorg/dspace/core/Contextjava/lang/Throwablejava/lang/Stringjavax/ws/rs/core/HttpHeaders%javax/servlet/http/HttpServletRequest$java/io/UnsupportedEncodingException#javax/ws/rs/WebApplicationExceptionjava/util/Listjava/util/Iterator0org/dspace/content/factory/ContentServiceFactory getInstance4()Lorg/dspace/content/factory/ContentServiceFactory;getSiteService*()Lorg/dspace/content/service/SiteService;getCommunityService/()Lorg/dspace/content/service/CommunityService;4org/dspace/authorize/factory/AuthorizeServiceFactory8()Lorg/dspace/authorize/factory/AuthorizeServiceFactory;getAuthorizeService1()Lorg/dspace/authorize/service/AuthorizeService;1org/dspace/services/factory/DSpaceServicesFactory5()Lorg/dspace/services/factory/DSpaceServicesFactory;getConfigurationService,()Lorg/dspace/services/ConfigurationService; createContext()Lorg/dspace/core/Context;(org/dspace/services/ConfigurationServicegetBooleanProperty(Ljava/lang/String;Z)ZturnOffAuthorisationSystem&org/dspace/content/service/SiteServicefindSite4(Lorg/dspace/core/Context;)Lorg/dspace/content/Site;org/dspace/content/SitegetID()Ljava/util/UUID;java/util/UUIDtoString()Ljava/lang/String;setId(Ljava/lang/String;)VgetNamesetName getHandle setHandle+org/dspace/content/service/CommunityService findAllTop+(Lorg/dspace/core/Context;)Ljava/util/List;complete getMessageappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;org/apache/log4j/Loggererror(Ljava/lang/Object;)VprocessException.(Ljava/lang/String;Lorg/dspace/core/Context;)Vsize()IsetCommunities(Ljava/util/List;)Viterator()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object;-org/dspace/authorize/service/AuthorizeServiceauthorizeActionBoolean>(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;I)Z9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vadd(Ljava/lang/Object;)ZgetCollections()Ljava/util/List;setCollectionsgetSubcommunities getLogger,(Ljava/lang/Class;)Lorg/apache/log4j/Logger;!CE FGHIJKLMNOPQRg-**** * S-/01"2T -UVWXR : Y::* *:*:*: Y!"#$#%&o:()^V: Y!"#$#%&4: *":  Y! "#$#%& otw j' jS HI LM N%Q2R?SITSU`VjZo\t_w]y^_WXZ\_]^_Z\_]^_bT 28YZ` [\y]^ ]_]^]^ UV`abacdefgh ijk ` [lmE%noQpaqXpar sttuvnorpwxyz{|}[s~s#}s}sbRy --*+Y,:,--.:/01:* +3ڻ4Y5678:9W::*m+Y,:  ;.:  /J 0<: * + 3ڻ=Y > ? @A:   9W*+B+Sbghjkmno<pLqOsjttu{vwxyz{}~Tp 8 a\ j{\<UVgh\\k*a {lmZ (N sn('snwQR! CDS.z}s|}[s~s