
com.adobe.aemds.guide.progressive.GuideProgressiveSectionManager.class Maven / Gradle / Ivy
???? 3p
] ? [ ? [ ? [ ? [ ?
A ? ?
C ? ?
?
' ?
' ? ? [ ? ? ? ? ? ?
[ ?
[ ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ?
? ? ? ? ? ? ? ? ? ?
' ? ?
[ ?
? ?
[ ? ?
. ?
?
?
' ? ? ? ?
[
5 ? ? ?
A
? ? ? ? ? ? ?
C
? f
?
[ S [
!"# guideProgressiveSectionInfo ?Lcom/adobe/aemds/guide/progressive/GuideProgressiveSectionInfo; allSections Ljava/util/List; Signature $Ljava/util/List; guideProgressiveCompletionInfo BLcom/adobe/aemds/guide/progressive/GuideProgressiveCompletionInfo; fetchedFromService Ljava/lang/Boolean; serviceType Ljava/lang/String; log Lorg/slf4j/Logger; ()V Code LineNumberTable LocalVariableTable this BLcom/adobe/aemds/guide/progressive/GuideProgressiveSectionManager; getFetchedFromService ()Ljava/lang/Boolean; getAllSections ()Ljava/util/List; &()Ljava/util/List; getSectionJSON ()Ljava/lang/String;
StackMapTable extractJsonArrayFromJSONObject g(Lorg/apache/sling/commons/json/JSONObject;Ljava/lang/String;)Lorg/apache/sling/commons/json/JSONArray; e Ljava/lang/Exception;
jsonObject *Lorg/apache/sling/commons/json/JSONObject; arg result )Lorg/apache/sling/commons/json/JSONArray; ? ? ? ? extractFromJSONObject P(Lorg/apache/sling/commons/json/JSONObject;Ljava/lang/String;)Ljava/lang/String; activate field id path prefixId progressiveField 9Lcom/adobe/aemds/guide/progressive/GuideProgressiveField; i I resourceResolver 0Lorg/apache/sling/api/resource/ResourceResolver; repeatablePanelResource (Lorg/apache/sling/api/resource/Resource; repeatablePanelPath repeatablePanelId sectionTitle sectionName completionTitle completionBeforeMessage completionAfterMessage completionScript completionButtonText completionSuccessScript completionFailureScript
sectionFields sectionFieldsList sectionId guideProgressiveStrategyManager ?Lcom/adobe/aemds/guide/service/GuideProgressiveStrategyManager; guideProgressiveStrategy 8Lcom/adobe/aemds/guide/service/GuideProgressiveStrategy; request .Lorg/apache/sling/api/SlingHttpServletRequest;
properties (Lorg/apache/sling/api/resource/ValueMap; params 2Lorg/apache/sling/api/request/RequestParameterMap; afAssetPath type progressiveStrategyName progressiveStrategyParams progressiveStrategyJcrPath paramMap Ljava/util/Map; currentSectionId lastSectionInfo lastSectionInfoJSONObject LocalVariableTypeTable KLjava/util/List; 5Ljava/util/Map;$%&'()
Exceptions getGuideProgressiveSectionInfo A()Lcom/adobe/aemds/guide/progressive/GuideProgressiveSectionInfo; !getGuideProgressiveCompletionInfo D()Lcom/adobe/aemds/guide/progressive/GuideProgressiveCompletionInfo;
SourceFile #GuideProgressiveSectionManager.java l m f g ` a d e ^ _* y 'org/apache/sling/commons/json/JSONArray+,-. java/lang/Exception j k 2Error while extracting JSON Array from JSON Object/01 java/lang/String -Error while extracting value from JSON Object2345$67 *com/adobe/aemds/guide/utils/GuideConstants guideRef%-8 guideStrategyType strategyName guideProgressiveStrategyParams strategyJcrPath9: g;<= sectionFieldValue&>?@A'BC renderCurrentSectionDE (org/apache/sling/commons/json/JSONObject lF ? ?GH fields { | java/util/ArrayListIJKLME 7com/adobe/aemds/guide/progressive/GuideProgressiveFieldNO lP(QRSJT g title nameUVWXYZ =com/adobe/aemds/guide/progressive/GuideProgressiveSectionInfo l[ @com/adobe/aemds/guide/progressive/GuideProgressiveCompletionInfo
completion\R l] service^H_ y`a =com/adobe/aemds/guide/service/GuideProgressiveStrategyManagerbcdef)g y h i uhijkl @com/adobe/aemds/guide/progressive/GuideProgressiveSectionManagermno com/adobe/cq/sightly/WCMUsePojo ,org/apache/sling/api/SlingHttpServletRequest &org/apache/sling/api/resource/ValueMap 0org/apache/sling/api/request/RequestParameterMap
java/util/Map java/util/List 6com/adobe/aemds/guide/service/GuideProgressiveStrategy
convertToJSON has (Ljava/lang/String;)Z get &(Ljava/lang/String;)Ljava/lang/Object; org/slf4j/Logger error *(Ljava/lang/String;Ljava/lang/Throwable;)V
getRequest 0()Lorg/apache/sling/api/SlingHttpServletRequest;
getProperties *()Lorg/apache/sling/api/resource/ValueMap; getRequestParameterMap 4()Lorg/apache/sling/api/request/RequestParameterMap; 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; java/lang/Boolean TRUE &com/adobe/aemds/guide/utils/GuideUtils convertStringToMap #(Ljava/lang/String;)Ljava/util/Map; getValue C(Ljava/lang/String;)Lorg/apache/sling/api/request/RequestParameter;
paramToString C(Lorg/apache/sling/api/request/RequestParameter;)Ljava/lang/String; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; getParameter &(Ljava/lang/String;)Ljava/lang/String; (Ljava/lang/String;)V isEmpty ()Z length ()I
getJSONObject -(I)Lorg/apache/sling/commons/json/JSONObject; getString getResourceResolver 2()Lorg/apache/sling/api/resource/ResourceResolver; i(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/sling/api/resource/ResourceResolver;)V add (Ljava/lang/Object;)Z size FALSE .org/apache/sling/api/resource/ResourceResolver getResource <(Ljava/lang/String;)Lorg/apache/sling/api/resource/Resource; .com/adobe/aemds/guide/utils/NodeStructureUtils getGuideNodeHtmlId <(Lorg/apache/sling/api/resource/Resource;)Ljava/lang/String; ?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)V equals ?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)V booleanValue toString getSlingScriptHelper 4()Lorg/apache/sling/api/scripting/SlingScriptHelper; 0org/apache/sling/api/scripting/SlingScriptHelper
getService %(Ljava/lang/Class;)Ljava/lang/Object; "getGuideProgressiveStrategyService L(Ljava/lang/String;)Lcom/adobe/aemds/guide/service/GuideProgressiveStrategy; getServiceType !(Ljava/util/Map;)Ljava/util/List; getNextSection t(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Lcom/adobe/aemds/guide/progressive/GuideProgressiveSectionInfo; getCompletionSection e(Ljava/lang/String;Ljava/util/Map;)Lcom/adobe/aemds/guide/progressive/GuideProgressiveCompletionInfo; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! [ ] ^ _ ` a b c d e f g h i
j k
l m n / *? ? o + p q r s t n / *? ? o 6 p q r u v n / *? ? o ? p q r b w x y n e !*? ? *? ? *? ? ??*? ? ? o C D E G J p ! q r z { | n ? ,? Y?
N+,? ? +,? ? N? :? ? -?
o O P R U S T * W p 4 } ~ , q r , ? , ? i $ ? ? z ? ? ? ? ? ?
? ? n ? 'N+,? ? +,? ? N? :? ? -?
o [ \ ^ a _ ` % c p 4 } ~ ' q r ' ? ' ? i $ ? i z ? ? ? ? ? ?
? m n ? ?*? L*? M+? N,? ? :,? ? :,? ? :,? ? :,? ? :*? ? ? : -? ? !? " W ? " W-#? ? !:
$-$? ? !? " W+%? & ::??? 'Y? (:*)? *:
??
? +??*,? -:? .Y? /:? l? 0? d6? 0? W? 1:)? 2:3? 2::4? ? 4? 2:? 5Y*? 6? 7:? 8 W????? 9 ? ?*? :? *;? *:*