Edit C:\dspace\webapps\rest\WEB-INF\classes\org\dspace\rest\filter\ItemFilterUtil.class
???? 3A A ? ? ? ? ? ? ? ? ? ? B ? ? ? . ? ? ? ? ? ? ? ? ? B ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 ? ? ? ? ? ? ? ? ? ? 8 ? ? 8 ? 8 ? . ? ? ? ? ? ? ? ? ? ? ? ? BundleName InnerClasses itemService (Lorg/dspace/content/service/ItemService; log Lorg/apache/log4j/Logger; <init> ()V Code LineNumberTable LocalVariableTable this 'Lorg/dspace/rest/filter/ItemFilterUtil; getDocumentMimeTypes ()[Ljava/lang/String; getSupportedDocumentMimeTypes getSupportedImageMimeTypes countOriginalBitstream (Lorg/dspace/content/Item;)I item Lorg/dspace/content/Item; countBitstream N(Lorg/dspace/rest/filter/ItemFilterUtil$BundleName;Lorg/dspace/content/Item;)I bundle Lorg/dspace/content/Bundle; bundleName 2Lorg/dspace/rest/filter/ItemFilterUtil$BundleName; count I StackMapTable ? ? getBitstreamNames ](Lorg/dspace/rest/filter/ItemFilterUtil$BundleName;Lorg/dspace/content/Item;)Ljava/util/List; bit Lorg/dspace/content/Bitstream; names Ljava/util/ArrayList; LocalVariableTypeTable )Ljava/util/ArrayList<Ljava/lang/String;>; ? Signature q(Lorg/dspace/rest/filter/ItemFilterUtil$BundleName;Lorg/dspace/content/Item;)Ljava/util/List<Ljava/lang/String;>; countOriginalBitstreamMime H(Lorg/dspace/core/Context;Lorg/dspace/content/Item;[Ljava/lang/String;)I context Lorg/dspace/core/Context; mimeList [Ljava/lang/String; countBitstreamMime z(Lorg/dspace/core/Context;Lorg/dspace/rest/filter/ItemFilterUtil$BundleName;Lorg/dspace/content/Item;[Ljava/lang/String;)I e Ljava/sql/SQLException; mime Ljava/lang/String; ? ? ? s ? ? ? countBitstreamByDesc a(Lorg/dspace/rest/filter/ItemFilterUtil$BundleName;Lorg/dspace/content/Item;[Ljava/lang/String;)I bitDesc desc descList countBitstreamSmallerThanMinSize ?(Lorg/dspace/core/Context;Lorg/dspace/rest/filter/ItemFilterUtil$BundleName;Lorg/dspace/content/Item;[Ljava/lang/String;Ljava/lang/String;)I prop size J countBitstreamLargerThanMaxSize $countOriginalBitstreamMimeStartsWith G(Lorg/dspace/core/Context;Lorg/dspace/content/Item;Ljava/lang/String;)I prefix countBitstreamMimeStartsWith y(Lorg/dspace/core/Context;Lorg/dspace/rest/filter/ItemFilterUtil$BundleName;Lorg/dspace/content/Item;Ljava/lang/String;)I hasUnsupportedBundle /(Lorg/dspace/content/Item;[Ljava/lang/String;)Z bundleList bundles hasOriginalBitstreamMime H(Lorg/dspace/core/Context;Lorg/dspace/content/Item;[Ljava/lang/String;)Z hasBitstreamMime z(Lorg/dspace/core/Context;Lorg/dspace/rest/filter/ItemFilterUtil$BundleName;Lorg/dspace/content/Item;[Ljava/lang/String;)Z hasMetadataMatch G(Lorg/dspace/content/Item;Ljava/lang/String;Ljava/util/regex/Pattern;)Z md "Lorg/dspace/content/MetadataValue; field fieldList regex Ljava/util/regex/Pattern; hasOnlyMetadataMatch matches Z ? recentlyModified (Lorg/dspace/content/Item;I)Z days cal Lcom/ibm/icu/util/Calendar; <clinit> SourceFile ItemFilterUtil.java I J ? ? ? ? ? rest.report-mime-document #rest.report-mime-document-supported rest.report-mime-document-image ] X Y ? org/dspace/content/Bundle ? ? java/util/ArrayList org/dspace/content/Bitstream t u java/sql/SQLException G H java/lang/StringBuilder Get format error for bitstream !"#$ ? ?%&' ? ? * E F org/dspace/content/Item()* org/dspace/content/MetadataValue+,-./ ? ,012 ?3 com/ibm/icu/util/Calendar4567689:; ?<=> %org/dspace/rest/filter/ItemFilterUtil?@ java/lang/Object 0org/dspace/rest/filter/ItemFilterUtil$BundleName java/util/Iterator org/dspace/core/Context java/lang/String 1org/dspace/services/factory/DSpaceServicesFactory getInstance 5()Lorg/dspace/services/factory/DSpaceServicesFactory; getConfigurationService ,()Lorg/dspace/services/ConfigurationService; (org/dspace/services/ConfigurationService getArrayProperty '(Ljava/lang/String;)[Ljava/lang/String; ORIGINAL getBundles ()Ljava/util/List; java/util/List iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getName ()Ljava/lang/String; name equals (Ljava/lang/Object;)Z getBitstreams ()I add getFormat ?(Lorg/dspace/core/Context;)Lorg/dspace/content/BitstreamFormat; "org/dspace/content/BitstreamFormat getMIMEType trim append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString org/apache/log4j/Logger error (Ljava/lang/Object;)V getDescription getLongProperty (Ljava/lang/String;)J getSize ()J startsWith (Ljava/lang/String;)Z contains &org/dspace/content/service/ItemService getMetadata {(Lorg/dspace/content/DSpaceObject;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/List; getValue java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher split getMetadataByMetadataString E(Lorg/dspace/content/DSpaceObject;Ljava/lang/String;)Ljava/util/List; ()Lcom/ibm/icu/util/Calendar; (II)V getTime ()Ljava/util/Date; getLastModified java/util/Date before (Ljava/util/Date;)Z 0org/dspace/content/factory/ContentServiceFactory 4()Lorg/dspace/content/factory/ContentServiceFactory; getItemService *()Lorg/dspace/content/service/ItemService; getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? A E F G H I J K / *? ? L M N O P Q K &