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 ClassesModifier and TypeInterfaceDescriptionstatic final classDefault implementation of theAuthorizableNodeNameinterface that uses the specified authorizable identifier as node nameescapingany illegal JCR chars. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AuthorizableNodeNameDefaultAuthorizableNodeNameinstance. -
Method Summary
Modifier and TypeMethodDescription@NotNull StringgenerateNodeName(@NotNull String authorizableId) Generates a node name from the specifiedauthorizableId.
-
Field Details
-
DEFAULT
DefaultAuthorizableNodeNameinstance.- See Also:
-
-
Method Details
-
generateNodeName
Generates a node name from the specifiedauthorizableId.- Parameters:
authorizableId- The ID of the authorizable to be created.- Returns:
- A valid node name.
-