Class StoreMergeUtil

    • Constructor Detail

      • StoreMergeUtil

        public StoreMergeUtil()
    • Method Detail

      • isArrayOrCollectionAttribute

        public static boolean isArrayOrCollectionAttribute​(java.lang.String value1,
                                                           java.lang.String value2)
        Returns true if one of the 2 values is an array or a collection.
        Parameters:
        value1 - the first value
        value2 - the second value.
        Returns:
        true if one of the 2 values is an array or a collection.
        Since:
        jcms-8.0.1
      • isMapAttribute

        public static boolean isMapAttribute​(java.lang.String value1,
                                             java.lang.String value2)
        Returns true if one of the 2 values is a map.
        Parameters:
        value1 - the first value
        value2 - the second value.
        Returns:
        true if one of the 2 values is a map.
        Since:
        jcms-8.0.1
      • isCollectionAttribute

        public static boolean isCollectionAttribute​(java.lang.String value1,
                                                    java.lang.String value2)
        Returns true if one of the 2 values is a collection.
        Parameters:
        value1 - the first value
        value2 - the second value.
        Returns:
        true if one of the 2 values is a collection.
        Since:
        jcms-8.0.1
      • isArrayAttribute

        public static boolean isArrayAttribute​(java.lang.String value1,
                                               java.lang.String value2)
        Returns true if one of the 2 values is an array.
        Parameters:
        value1 - the first value
        value2 - the second value.
        Returns:
        true if one of the 2 values is an array.
        Since:
        jcms-8.0.1
      • decodeArray

        public static java.lang.String[] decodeArray​(java.lang.String value)
        Returns an String[] from the encoded value.
        Parameters:
        value - the encoded value
        Returns:
        an String[] from the encoded value.
        Since:
        jcms-8.0.1
      • decodeCollectionOrMapItemSet

        public static java.util.Set<java.lang.String> decodeCollectionOrMapItemSet​(java.lang.String value)
        Returns a Set from the encoded value.
        Parameters:
        value - the encoded value
        Returns:
        a Set from the encoded value.
        Since:
        jcms-8.0.1
      • decodeList

        public static java.util.List<java.lang.String> decodeList​(java.lang.String value)
        Returns a List from the encoded value.
        Parameters:
        value - the encoded value
        Returns:
        a List from the encoded value.
        Since:
        jcms-8.0.1