Interface AuthorizableNodeName

All Known Implementing Classes:
AuthorizableNodeName.Default, RandomAuthorizableNodeName, WhiteboardAuthorizableNodeName

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 final class 
    Default implementation of the AuthorizableNodeName interface that uses the specified authorizable identifier as node name escaping any illegal JCR chars.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Default AuthorizableNodeName instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    generateNodeName(@NotNull String authorizableId)
    Generates a node name from the specified authorizableId.
  • Field Details

  • Method Details

    • 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.