Edit C:\dspace\webapps\jspui\WEB-INF\classes\org\dspace\app\webui\servlet\admin\CurateServlet.class
???? 38 ? ? ? ? ? ?! " ?# $ ?% &' &( ?) *+ *, ?-./0 ?1 ?2 ?3 ?4 ?56 ?78 9: |;<=>?@ABCDE |F 9GHIJ ?=K ?LMNOP 4QR /S ?TU ?VW ?XYZI[ ?\] @S^_`aIb ?cd ISefg ?h |iMjklmn Wo Wpq Wrstuv ?wx 9y z{ |} ~? ?? ???? ~?? ?? ?? ? ??? ?? ???? ?? u? ?? |????? ??? ??? |?? ? ?? ?? ???/?? |? |?? ???????????????????????? ???? |?? TASK_QUEUE_NAME Ljava/lang/String; statusMessages Ljava/util/Map; Signature 5Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>; allTasks taskGroups groupedTasks 6Ljava/util/Map<Ljava/lang/String;[Ljava/lang/String;>; log Lorg/apache/log4j/Logger; communityService -Lorg/dspace/content/service/CommunityService; collectionService .Lorg/dspace/content/service/CollectionService; itemService (Lorg/dspace/content/service/ItemService; handleService )Lorg/dspace/handle/service/HandleService; configurationService *Lorg/dspace/services/ConfigurationService; <init> ()V Code LineNumberTable LocalVariableTable this 2Lorg/dspace/app/webui/servlet/admin/CurateServlet; StackMapTable?6 doDSGet k(Lorg/dspace/core/Context;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V context Lorg/dspace/core/Context; request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse; Exceptions??? doDSPost community Lorg/dspace/content/Community; collection Lorg/dspace/content/Collection; item Lorg/dspace/content/Item; dso !Lorg/dspace/content/DSpaceObject; handle button?J[b showPage d(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;)V page group groupOptions taskOptions processCurateObject U(Lorg/dspace/core/Context;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)V e Ljava/lang/Exception; task curator Lorg/dspace/curate/Curator; success Z??? processQueueObject getCurateMessage ?(Lorg/dspace/core/Context;Lorg/dspace/curate/Curator;Ljava/lang/String;Ljava/lang/String;Z)Lorg/dspace/app/webui/util/CurateTaskResult; status result getCurator /(Ljava/lang/String;)Lorg/dspace/curate/Curator; setStatusMessages keyValuePair [Ljava/lang/String; property statusCodes? setAllTasks properties setTaskGroups groups setGroupedTasks groupID members iterator Ljava/util/Iterator; LocalVariableTypeTable (Ljava/util/Iterator<Ljava/lang/String;>;? getGroupSelectOptions &(Ljava/lang/String;)Ljava/lang/String; sb Ljava/lang/StringBuilder;n getTaskSelectOptions taskID innerIterator member getTaskName <clinit> SourceFile CurateServlet.java ? ? java/util/HashMap ? ? java/util/LinkedHashMap ? ? ? ? ? ?????? ? ??? ? ??? ? ?????? ? ?????? ? ? curate.ui.queuename?? ? ? ? ? ? ? ? ? java/lang/Exception ? ? submit????? community_id?? submit_community_select collection_id submit_collection_select item_id submit_item_select submit_main_select submit_community_??????? org/dspace/content/Community??????? 'org/dspace/authorize/AuthorizeException ;Only community admins are allowed to perform curation tasks ?? submit_community_curate?? ? ? submit_community_queue ? ? /tools/curate-community.jsp ? ? submit_collection_? org/dspace/content/Collection <Only collection admins are allowed to perform curation tasks submit_collection_curate submit_collection_queue /tools/curate-collection.jsp submit_item_? org/dspace/content/Item 6Only item admins are allowed to perform curation tasks submit_item_curate submit_item_queue /tools/curate-item.jsp submit_main_ /0???? FOnly system admins are allowed to perform curation tasks over the site??? java/lang/StringBuilder Only object (hdl:?? .) admins are allowed to perform curation tasks?? submit_main_curate submit_main_queue submit_main_cancel /dspace-admin/curate-main.jsp ? ? integrity_error???? select_curate_group curate_group_options curate_task_options ? curate_task ? ? ? task_result ? ?? *org/dspace/app/webui/util/CurateTaskResult queue ? java/lang/String other >org.dspace.app.webui.servlet.admin.CurationServlet.null-result perform org/dspace/curate/Curator ? !" curate.ui.statusmessages#$ =%$&? UTF-8'()*+ curate.ui.tasknames curate.ui.taskgroups,-./01?2-34 curate.ui.taskgroup. <option selected="selected" value=" "> </option> <option value=" 5? 0org/dspace/app/webui/servlet/admin/CurateServlet67 *org/dspace/app/webui/servlet/DSpaceServlet javax/servlet/ServletException java/io/IOException java/sql/SQLException org/dspace/core/Context %javax/servlet/http/HttpServletRequest $java/io/UnsupportedEncodingException java/util/Iterator 0org/dspace/content/factory/ContentServiceFactory getInstance 4()Lorg/dspace/content/factory/ContentServiceFactory; getCommunityService /()Lorg/dspace/content/service/CommunityService; getCollectionService 0()Lorg/dspace/content/service/CollectionService; getItemService *()Lorg/dspace/content/service/ItemService; .org/dspace/handle/factory/HandleServiceFactory 2()Lorg/dspace/handle/factory/HandleServiceFactory; getHandleService +()Lorg/dspace/handle/service/HandleService; 1org/dspace/services/factory/DSpaceServicesFactory 5()Lorg/dspace/services/factory/DSpaceServicesFactory; getConfigurationService ,()Lorg/dspace/services/ConfigurationService; (org/dspace/services/ConfigurationService getProperty org/dspace/app/webui/util/UIUtil getSubmitButton M(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)Ljava/lang/String; equals (Ljava/lang/Object;)Z getParameter startsWith (Ljava/lang/String;)Z getUUIDParameter K(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)Ljava/util/UUID; +org/dspace/content/service/CommunityService find L(Lorg/dspace/core/Context;Ljava/util/UUID;)Lorg/dspace/content/DSpaceObject; setAttribute '(Ljava/lang/String;Ljava/lang/Object;)V authorizeService /Lorg/dspace/authorize/service/AuthorizeService; -org/dspace/authorize/service/AuthorizeService isAdmin =(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)Z (Ljava/lang/String;)V getHandle ()Ljava/lang/String; ,org/dspace/content/service/CollectionService &org/dspace/content/service/ItemService endsWith (Lorg/dspace/core/Context;)Z 'org/dspace/handle/service/HandleService resolveToObject N(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString getRequestLogInfo ;(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String; org/dspace/core/LogManager getHeader Q(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; org/apache/log4j/Logger warn (Ljava/lang/Object;)V $org/dspace/app/webui/util/JSPManager showIntegrityError R(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V showJSP curate .(Lorg/dspace/core/Context;Ljava/lang/String;)V getMessage setResult '(Ljava/lang/String;Ljava/lang/String;)V @(Lorg/dspace/core/Context;Ljava/lang/String;Ljava/lang/String;)V ^(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V getStatus (Ljava/lang/String;)I valueOf (I)Ljava/lang/String; java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; getResult org/dspace/core/I18nUtil ?(Ljava/lang/String;Lorg/dspace/core/Context;)Ljava/lang/String; length ()I addTask !org/dspace/curate/Curator$Invoked Invoked InnerClasses INTERACTIVE #Lorg/dspace/curate/Curator$Invoked; setInvoked @(Lorg/dspace/curate/Curator$Invoked;)Lorg/dspace/curate/Curator; getArrayProperty '(Ljava/lang/String;)[Ljava/lang/String; split trim java/net/URLDecoder decode 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; isEmpty ()Z keySet ()Ljava/util/Set; java/util/Set ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; containsKey getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? &