3t B CD CE F CG H IJ IK L MN BO PQ R ST UV W XY Z[ \ ] ^_ `abc d efg !hij Sklm nop *B qrs St qu vw vxy z{| *}~ * n 4 C 4 z ^ ^  S  X n X  n     n lh  X  C  C C C C C  C n   X n     n n n  ScommunityService-Lorg/dspace/content/service/CommunityService;collectionService.Lorg/dspace/content/service/CollectionService;authorizeService/Lorg/dspace/authorize/service/AuthorizeService;logLorg/apache/log4j/Logger;()VCodeLineNumberTableLocalVariableTablethis%Lorg/dspace/rest/CommunitiesResource; getCommunity(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)Lorg/dspace/rest/common/Community;dspaceCommunityLorg/dspace/content/Community;eLjava/sql/SQLException;-Lorg/dspace/rest/exceptions/ContextException; communityIdLjava/lang/String;expanduser_ip user_agent xforwardedforheadersLjavax/ws/rs/core/HttpHeaders;request'Ljavax/servlet/http/HttpServletRequest;contextLorg/dspace/core/Context; community"Lorg/dspace/rest/common/Community; StackMapTable[af ExceptionsRuntimeVisibleAnnotationsLjavax/ws/rs/GET;Ljavax/ws/rs/Path;value/{community_id}Ljavax/ws/rs/Produces;application/jsonapplication/xml"RuntimeVisibleParameterAnnotationsLjavax/ws/rs/PathParam; community_idLjavax/ws/rs/QueryParam;userIP userAgentLjavax/ws/rs/core/Context;getCommunities(Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)[Lorg/dspace/rest/common/Community;iIdspaceCommunitiesLjava/util/List;limitLjava/lang/Integer;offset communitiesLjava/util/ArrayList;LocalVariableTypeTable0Ljava/util/List;9Ljava/util/ArrayList;pLjavax/ws/rs/DefaultValue;1000getTopCommunities/top-communities20getCommunityCollections(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)[Lorg/dspace/rest/common/Collection;dspaceCollections collections1Ljava/util/List;:Ljava/util/ArrayList;|/{community_id}/collectionsgetCommunityCommunities(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)[Lorg/dspace/rest/common/Community;/{community_id}/communitiescreateCommunity(Lorg/dspace/rest/common/Community;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)Lorg/dspace/rest/common/Community;user)Lorg/dspace/authorize/AuthorizeException; retCommunityLjavax/ws/rs/POST;Ljavax/ws/rs/Consumes;addCommunityCollection(Ljava/lang/String;Lorg/dspace/rest/common/Collection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)Lorg/dspace/rest/common/Collection;dspaceCollectionLorg/dspace/content/Collection; collection#Lorg/dspace/rest/common/Collection; retCollectionaddCommunityCommunity(Ljava/lang/String;Lorg/dspace/rest/common/Community;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)Lorg/dspace/rest/common/Community;dspaceParentCommunityupdateCommunity(Ljava/lang/String;Lorg/dspace/rest/common/Community;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)Ljavax/ws/rs/core/Response;Ljavax/ws/rs/PUT;deleteCommunity(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)Ljavax/ws/rs/core/Response;Ljava/io/IOException;Ljavax/ws/rs/DELETE;deleteCommunityCollection(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;)Ljavax/ws/rs/core/Response; collectionId+/{community_id}/collections/{collection_id} collection_iddeleteCommunityCommunityparentCommunity subcommunityparentCommunityIdsubcommunityId+/{community_id}/communities/{community_id2} community_id2 findCommunityL(Lorg/dspace/core/Context;Ljava/lang/String;I)Lorg/dspace/content/Community;idaction SourceFileCommunitiesResource.java /communities        java/lang/StringBuilderReading community(id=  ).      org/dspace/core/Constants :;   org/dspace/rest/common/Community    java/sql/SQLExceptionCould not read community(id=), SQLException. Message:   !+org/dspace/rest/exceptions/ContextException), ContextException. Message: "  Community(id=) was successfully read. # Reading all communities.(offset= ,limit=$ %&java/util/ArrayList '(+Paging was badly set, using default values. ) *+ ,( -.org/dspace/content/DSpaceObject/ 01org/dspace/content/Community 232Could not read communities, SQLException. Message:6Could not read communities, ContextException. Message:"All communities successfully read. 45#[Lorg/dspace/rest/common/Community;$Reading all top communities.(offset= 6&6Could not read top communities, SQLException. Message::Could not read top communities, ContextException. Message:&All top communities successfully read.) collections.,Pagging was badly set, using default values. 78!org/dspace/rest/common/Collectionorg/dspace/content/Collection 9%) collections, SQLException. Message:)) collections, ContextException. Message:%) collections were successfully read.$[Lorg/dspace/rest/common/Collection;) subcommunities. :8() subcommunities, SQLException. Message:,) subcommunities, ContextException. Message:() subcommunities were successfully read. Creating community at top level. ;< = anonymous >?@ A User()) has not permission to create community! B#javax/ws/rs/WebApplicationExceptionC EF G HI Jname K LMcopyright_text N introductory_text O short_description P  side_bar_text Q RS;Could not create new top community, SQLException. Message: ?Could not create new top community, ContextException. Message: 'org/dspace/authorize/AuthorizeExceptionACould not create new top community, AuthorizeException. Message: =Community at top level has been successfully created. Handle: T $Adding collection into community(id= UV HWlicense X LY+Could not add collection into community(id=), AuthorizeException. Message:4Collection was successfully added into community(id=). Collection handle=#Add subcommunity into community(id= Z[-Could not add subcommunity into community(id=4Subcommunity was successfully added in community(id=Updating community(id=Could not update community(id=), ContextException Message:), AuthorizeException Message: ) has been successfully updated.\ ]_` abDeleting community(id= c dSCould not delete community(id=java/io/IOException), IOException. Message:) was successfully deleted. eF fgDeleting collection(id=) in community(id= hiCollection(id=) was not found! jF*) has not permission to delete collection!8User(anonymous) has not permission to delete collection! klCould not delete collection(id=), ContextExcpetion. Message:Subcommunity(id=") in community(id=) was not found!)) has not permission to delete community!7User(anonymous) has not permission to delete community! mn!Could not delete subcommunity(id=) from community(id=) has not permission to op community!&User(anonymous) has not permission to /Something get wrong while finding community(id=). SQLException, Message:#org/dspace/rest/CommunitiesResource qrorg/dspace/rest/Resourcejava/lang/Stringjavax/ws/rs/core/HttpHeaders%javax/servlet/http/HttpServletRequestorg/dspace/core/Contextjava/lang/Throwablejava/util/Listjava/lang/Integer0org/dspace/content/factory/ContentServiceFactory getInstance4()Lorg/dspace/content/factory/ContentServiceFactory;getCommunityService/()Lorg/dspace/content/service/CommunityService;getCollectionService0()Lorg/dspace/content/service/CollectionService;4org/dspace/authorize/factory/AuthorizeServiceFactory8()Lorg/dspace/authorize/factory/AuthorizeServiceFactory;getAuthorizeService1()Lorg/dspace/authorize/service/AuthorizeService;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;org/apache/log4j/Loggerinfo(Ljava/lang/Object;)V createContext()Lorg/dspace/core/Context;s"org/dspace/usage/UsageEvent$ActionAction InnerClassesVIEW$Lorg/dspace/usage/UsageEvent$Action; writeStats(Lorg/dspace/content/DSpaceObject;Lorg/dspace/usage/UsageEvent$Action;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/ws/rs/core/HttpHeaders;Ljavax/servlet/http/HttpServletRequest;Lorg/dspace/core/Context;)VservletContextLjavax/servlet/ServletContext;j(Lorg/dspace/content/Community;Ljavax/servlet/ServletContext;Ljava/lang/String;Lorg/dspace/core/Context;)VcompleteprocessFinally(Lorg/dspace/core/Context;)V-(Ljava/lang/Object;)Ljava/lang/StringBuilder;processException.(Ljava/lang/String;Lorg/dspace/core/Context;)V getMessagetrace+org/dspace/content/service/CommunityServicefindAll+(Lorg/dspace/core/Context;)Ljava/util/List;intValue()IwarnvalueOf(I)Ljava/lang/Integer;sizeget(I)Ljava/lang/Object;-org/dspace/authorize/service/AuthorizeServiceauthorizeActionBoolean>(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;I)Zadd(Ljava/lang/Object;)ZtoArray(([Ljava/lang/Object;)[Ljava/lang/Object; findAllTopgetCollections()Ljava/util/List;(Lorg/dspace/content/Collection;Ljavax/servlet/ServletContext;Ljava/lang/String;Lorg/dspace/core/Context;Ljava/lang/Integer;Ljava/lang/Integer;)VgetSubcommunitiesisAdmin(Lorg/dspace/core/Context;)ZabortgetCurrentUser()Lorg/dspace/eperson/EPerson;org/dspace/eperson/EPersongetEmailerror javax/ws/rs/core/Response$StatusStatus UNAUTHORIZED"Ljavax/ws/rs/core/Response$Status;%(Ljavax/ws/rs/core/Response$Status;)VcreateW(Lorg/dspace/content/Community;Lorg/dspace/core/Context;)Lorg/dspace/content/Community;CREATEgetName setMetadata^(Lorg/dspace/core/Context;Lorg/dspace/content/Community;Ljava/lang/String;Ljava/lang/String;)VgetCopyrightTextgetIntroductoryTextgetShortDescriptiongetSidebarTextupdate=(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)V getHandleUPDATE,org/dspace/content/service/CollectionServiceX(Lorg/dspace/core/Context;Lorg/dspace/content/Community;)Lorg/dspace/content/Collection; getLicense_(Lorg/dspace/core/Context;Lorg/dspace/content/Collection;Ljava/lang/String;Ljava/lang/String;)VcreateSubcommunityW(Lorg/dspace/core/Context;Lorg/dspace/content/Community;)Lorg/dspace/content/Community;javax/ws/rs/core/ResponseokResponseBuilder-()Ljavax/ws/rs/core/Response$ResponseBuilder;)javax/ws/rs/core/Response$ResponseBuilderbuild()Ljavax/ws/rs/core/Response;DELETEdeleteOKstatusO(Ljavax/ws/rs/core/Response$Status;)Ljavax/ws/rs/core/Response$ResponseBuilder;findByIdOrLegacyIdN(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; NOT_FOUNDremoveCollectionY(Lorg/dspace/core/Context;Lorg/dspace/content/Community;Lorg/dspace/content/Collection;)VremoveSubcommunityX(Lorg/dspace/core/Context;Lorg/dspace/content/Community;Lorg/dspace/content/Community;)VgetActionString(I)Ljava/lang/String; getLogger,(Ljava/lang/Class;)Lorg/apache/log4j/Logger;org/dspace/usage/UsageEvent! Y#**** (*+, #K Y  +:: :*+: * -Y *,: *k: Y +  *>: Y +" # *: * Y $+%& $^g$^!$^gVNO!P$T)V3WGZY[^idjg^i`ijbdijimn 3+ i" % !$ 3g lo Xs[ssDsssssA n Y '-(,: : : * ): *Y+: ,,,- -, -.d/M/N-,6  -,,,`s  0g*    123FY  14*+ : *  12   5W  * Y: Y 6  * 5: Y 7 # * :*  8& 9:--'!-NN'ENNPNz'*-2?H^flq$')EKNYa' w~ ?  ) nnnnnnnnn*D -A ? -A M ^w cf X[ssassssssssA n Y ;-(,: : : * <: *Y+: ,,,- -, -.d/M/N-,6  -,,,`s  0g*    123FY  14*+ : *  12   5W  * Y: Y =  * 5: Y > # * :*  ?& 9:--'!-NN'ENNPNz'*-2?H^flq   $ ')E K N Ya' w~ ?  ) nnnnnnnnn*D -A ? -A M ^w cf Xs[ssassssssss  Y  +@: : : * +: *   --, , A.d/N/:*Y+:  B: ,6,-,`x 0l*   123K CY 1D*, //E5W* 12   * k: Y +F  * >: Y +G # * :*  Y $+H& C9I$$J!$zAzJqzz|z!45!6$:)<3=H@`BhCnDtG}HIKMN ISabUWAaGbJYL[c\n[qawbzade3  " L%  ! $   $  S ` } lo Xs[ssl sssssssss  Y  +J: : : * +: *   --, , A.d/N/:*Y+:  K: ,6,-,`o 0c*   123B Y 14*, 5W* 12   * k: Y +L  * >: Y +M # * :*  Y $+N& 9:$ $ A!$ q8qAhqqsq!!$)3H`hnt} 8>ACZehnq|{3 " C%  ! $  $ S ` t lo Xs[ssl sssssssss[  O:::* PHQR: S ST: Y U VWXYYZ*[: * \,-* ]+^_* `+a_* b+c_* d+e_* f+g_* hY *i:*: Y j  *\: Y k # *5: Y m n *: * Y op  8! _l /8V_}& !&*2<[ft /58:V\_a} *< t  : a  $<)cff X[ss0sss ʲ Y q+:: :*+: * r-* s: * t,uv* ],wv* `,xv* b,yv* d,zv* f,{v* |* hCY *id//E: *: Y }+  *k: Y }+~  *>: Y }+" # *: * Y +  $ $9l$f!$ 09]f&()!*$.)031G3V4i6|789:;<=>S T AC0S6T9F;H]ScTfKhMOMSTSWXWY3 V " ;" h% !$  7 !!llo Xs[ss;ssss"#V  Y +:: :*+: * r-* : * ],^_* `,a_* b,c_* d,e_* f,g_* h* hY *i: *: Y +  *h: Y +~  *;: Y +"  *: * Y + $$l$J!$wwAwJnwwyw!yz!{$)3GVi|AGJLntw3$ V " " L" !$ 7 lll Xs[ss;ssss%& u Y +::*+: * r-* ],^_* `,a_* b,c_* d,e_* f,g_* h*: Y +~  *h: Y +  *;: Y +  *: * Y $+!!!!l!EEE<EEGEv!&0DWj}<BEPn 0 " " " uuuuuuuu!T4 lll X's[ss;ssss() U Y +::*+:*,-**h*: Y + *: Y +~ *k: Y + *>: Y +"# *: * Y $+ !bk!bl!b!b!!b"k"""""$"v ! &0CP]b+h,km+,+, "+,$&+,"+-/K0 02m"""*%UUUUUUU!45kll+lo X,s9ssss-.M L Y ,+::*+: *,D:  1Q Y ,.XYZ*  3KQS+ Y USTW WXYYZ*  * h* |* r-* -*: Y ,+  *: Y ,+~  *}: Y ,+  *G: Y ,+ # *: * Y ,+ *,5*,kl*,*,!*,5bk,O'P*T/V9WJYO[T\r]}_abdhjmnoqs'v,25y7{bhk~m B9 J 7+ m+ +* . LLL/LLLLL*"I } 0E ^ uu+ux X,s1Dss2sss3.D C Y +::*+: *,4:  1Q Y ,.XYZ*  3KQS+ Y USTW WXYYZ*  * h* h* r-* -*: Y ,+  *: Y ,+~  *}: Y ,+  *G: Y ,+" # *: * Y ,+ !#,!#bl!#!#!!#,Yb ,!&0AFKit #),.Y_bd904 A5 .+ d+ +* . CC6C7CCCCC!"I t  E ^ uu+ux X,s8Dss9sss:;:*+,4:0+Q Y $,.XYZ* +3o+Q+S7 Y U+ST*W% Y *WXYYZ&: Y ,+ J:EUY` $&-*,.>!<=E N! B"X>!  .?@ sAX@D@^