Class AuthorizableNodeName.Default

  • All Implemented Interfaces:
    AuthorizableNodeName
    Enclosing interface:
    AuthorizableNodeName

    public static final class AuthorizableNodeName.Default
    extends java.lang.Object
    implements AuthorizableNodeName
    Default implementation of the AuthorizableNodeName interface that uses the specified authorizable identifier as node name escaping any illegal JCR chars.
    • Constructor Summary

      Constructors 
      Constructor Description
      Default()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String generateNodeName​(@NotNull java.lang.String authorizableId)
      Generates a node name from the specified authorizableId.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Default

        public Default()
    • Method Detail

      • generateNodeName

        @NotNull
        public @NotNull java.lang.String generateNodeName​(@NotNull
                                                          @NotNull java.lang.String authorizableId)
        Description copied from interface: AuthorizableNodeName
        Generates a node name from the specified authorizableId.
        Specified by:
        generateNodeName in interface AuthorizableNodeName
        Parameters:
        authorizableId - The ID of the authorizable to be created.
        Returns:
        A valid node name.