Interface FrameworkComponent

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface org.apache.sling.api.resource.ValueMap

        EMPTY
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ValueMap getAnalyticsProperties()
      Returns a ValueMap of the components analytics node.
      MultiValueMap getCqMappings()
      Returns a MultiValueMap of the CQ mapping, using CQ variables as keys.
      java.lang.String getPath()
      Return the path of this component.
      JSONArray getScVars​(java.lang.String cqVar)
      Returns a JSONArray of the SiteCatalyst mapping.
      java.lang.String[] getTrackedVarsEvents()
      Returns a concatenated array of variable and event names.
      java.lang.String getType()
      Returns the resource type of this component.
      java.util.Set<java.lang.String> inheritedKeySet()
      Returns a set of SiteCatalyst variables mapped in this or inherited framework component.
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from interface org.apache.sling.api.resource.ValueMap

        get, get
    • Method Detail

      • getType

        java.lang.String getType()
        Returns the resource type of this component.
        Returns:
        Resource type
      • getPath

        java.lang.String getPath()
        Return the path of this component.
        Returns:
        Component path
      • getTrackedVarsEvents

        java.lang.String[] getTrackedVarsEvents()
        Returns a concatenated array of variable and event names.
        Returns:
        String array of variable and event names
      • getScVars

        JSONArray getScVars​(java.lang.String cqVar)
        Returns a JSONArray of the SiteCatalyst mapping.
        Parameters:
        cqVar - CQ Variable
        Returns:
        SiteCatalyst Mapping for given CQ Variable
      • inheritedKeySet

        java.util.Set<java.lang.String> inheritedKeySet()
        Returns a set of SiteCatalyst variables mapped in this or inherited framework component.
        Returns:
        Set of SiteCatalyst variable names.
      • getAnalyticsProperties

        ValueMap getAnalyticsProperties()
        Returns a ValueMap of the components analytics node.
        Returns:
        Analystics properties