Class GroupUtils


  • public class GroupUtils
    extends Object
    • Constructor Detail

      • GroupUtils

        public GroupUtils()
    • Method Detail

      • parseGroupXMLResponse

        public static Set<Group> parseGroupXMLResponse​(String xml)
                                                throws it.geosolutions.geonetwork.exception.GNLibException
        Throws:
        it.geosolutions.geonetwork.exception.GNLibException
      • parseUserJSONResponse

        public static Set<Group> parseUserJSONResponse​(String groupResponse)
                                                throws it.geosolutions.geonetwork.exception.GNLibException
        Throws:
        it.geosolutions.geonetwork.exception.GNLibException
      • generateRandomGroup

        public static Group generateRandomGroup​(Set<Group> existing,
                                                Integer nameLenght)