Class GroupUtils
- java.lang.Object
-
- org.gcube.spatial.data.geonetwork.utils.GroupUtils
-
public class GroupUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description GroupUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupgenerateRandomGroup(Set<Group> existing, Integer nameLenght)static GroupgetByName(Set<Group> toLookInto, String toLookFor)static Set<Group>parseGroupXMLResponse(String xml)static Set<Group>parseUserJSONResponse(String groupResponse)
-
-
-
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)
-
-