Class NameUtils

java.lang.Object
com.atlassian.confluence.user.crowd.NameUtils

public class NameUtils extends Object
  • Constructor Details

    • NameUtils

      public NameUtils()
  • Method Details

    • getCanonicalName

      public static String getCanonicalName(com.atlassian.crowd.model.group.Group group)
    • getCanonicalName

      public static String getCanonicalName(String name)
    • canonicalMappingForNames

      public static Map<String,String> canonicalMappingForNames(Iterable<String> names)
      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