Package org.apache.sling.servlets.post
Schnittstelle NodeNameGenerator
Veraltet.
Service interface which allows for custom node name generation for * resources.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetNodeName(org.apache.sling.api.SlingHttpServletRequest request, String parentPath, boolean requirePrefix, NodeNameGenerator defaultNodeNameGenerator) Veraltet.Get the to-be-created node name from the request.
-
Methodendetails
-
getNodeName
String getNodeName(org.apache.sling.api.SlingHttpServletRequest request, String parentPath, boolean requirePrefix, NodeNameGenerator defaultNodeNameGenerator) Veraltet.Get the to-be-created node name from the request.- Parameter:
request- requestparentPath- the path to the new node's parentrequirePrefix- 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 NodeNameGenerators should be consulted
-
JakartaNodeNameGeneratorinstead.