Class SiteGroupHelper

    • Method Detail

      • unpack

        public static Collection<String> unpack​(String ids)
        This unpacks IDs from a string. It supports empty IDs but not null.
        Parameters:
        ids - The packed IDs in a string, can be null.
        Returns:
        A collection of IDs unpacked from the string.
        See Also:
        pack(java.util.Collection)
      • pack

        public static String pack​(Collection<String> ids)
        This packs IDs into a string. It supports empty IDs but not null.
        Parameters:
        ids - A Collection of IDs to be packed together.
        Returns:
        The packed string containing all the IDs or null if the original collection was null.
        See Also:
        unpack(String)