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 Summary

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

      • generateNodeName

        @NotNull
        @NotNull java.lang.String generateNodeName​(@NotNull
                                                   @NotNull java.lang.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.