Schnittstelle JakartaNodeNameGenerator

Alle bekannten Implementierungsklassen:
DefaultNodeNameGenerator, JavaxToJakartaNodeNameGenerator

@ConsumerType public interface JakartaNodeNameGenerator
Service interface which allows for custom node name generation for * resources.
Seit:
2.5.0
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    getNodeName(org.apache.sling.api.SlingJakartaHttpServletRequest request, String parentPath, boolean requirePrefix, JakartaNodeNameGenerator defaultNodeNameGenerator)
    Get the to-be-created node name from the request.
  • Methodendetails

    • getNodeName

      String getNodeName(org.apache.sling.api.SlingJakartaHttpServletRequest request, String parentPath, boolean requirePrefix, JakartaNodeNameGenerator defaultNodeNameGenerator)
      Get the to-be-created node name from the request.
      Parameter:
      request - request
      parentPath - the path to the new node's parent
      requirePrefix - if true, ignore parameters which do not being with ./
      defaultNodeNameGenerator - the default node name generator
      Gibt zurück:
      the node name to be created or null if other JakartaNodeNameGenerator should be consulted