Interface AuthorizableNodeName

  • All Known Implementing Classes:
    AuthorizableNodeName.Default

    public interface AuthorizableNodeName
    The AuthorizableNodeName is in charge of generating a valid node name from a given authorizable ID.
    Since:
    OAK 1.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  AuthorizableNodeName.Default
      Default implementation of the AuthorizableNodeName interface that uses the specified authorizable identifier as node name escaping any illegal JCR chars.
    • Method Detail

      • generateNodeName

        @NotNull
        @NotNull String generateNodeName​(@NotNull
                                         @NotNull String authorizableId)
        Generates a node name from the specified authorizableId.
        Parameters:
        authorizableId - The ID of the authorizable to be created.
        Returns:
        A valid node name.