Class StoreMergeUtil

java.lang.Object
com.jalios.jcms.tools.storemerge.StoreMergeUtil
All Implemented Interfaces:
StoreConstants

public class StoreMergeUtil extends Object implements StoreConstants
  • Constructor Details

    • StoreMergeUtil

      public StoreMergeUtil()
  • Method Details

    • isArrayOrCollectionAttribute

      public static boolean isArrayOrCollectionAttribute(String value1, 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(String value1, 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(String value1, 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(String value1, 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 String[] decodeArray(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 Set<String> decodeCollectionOrMapItemSet(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 List<String> decodeList(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