Class NameUtils
java.lang.Object
com.atlassian.confluence.user.crowd.NameUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanonicalMappingForGroups
(Iterable<G> groups) Returns a mapping from lowercase canonical version of each name to the original group.canonicalMappingForNames
(Iterable<String> names) Returns a mapping from lowercase canonical version of each name to the original.static String
getCanonicalName
(com.atlassian.crowd.model.group.Group group) static String
getCanonicalName
(String name)
-
Constructor Details
-
NameUtils
public NameUtils()
-
-
Method Details
-
getCanonicalName
-
getCanonicalName
-
canonicalMappingForNames
Returns a mapping from lowercase canonical version of each name to the original.- Since:
- 7.0.1
-
canonicalMappingForGroups
public static <G extends com.atlassian.crowd.model.group.Group> Map<String,G> canonicalMappingForGroups(Iterable<G> groups) Returns a mapping from lowercase canonical version of each name to the original group.- Since:
- 7.0.1
-