Class AuthorizablesTree
- java.lang.Object
-
- com.composum.sling.core.usermanagement.model.AuthorizablesView
-
- com.composum.sling.core.usermanagement.model.AuthorizablesTree
-
public class AuthorizablesTree extends AuthorizablesView
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.usermanagement.model.AuthorizablesView
AuthorizablesView.NodeUrlBuilder, AuthorizablesView.PathUrlBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected TreeNode
rootNode
-
Fields inherited from class com.composum.sling.core.usermanagement.model.AuthorizablesView
context, index, indexes, nodes, singleFocus
-
-
Constructor Summary
Constructors Constructor Description AuthorizablesTree(Authorizables.Context context, @Nullable Class<? extends AuthorizableWrapper> selector, @Nullable String nameQueryPattern, Authorizables.Filter filter)
AuthorizablesTree(Authorizables.Context context, @Nullable String selector, @Nullable String nameQueryPattern, @Nullable String pathPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TreeNode
getRootNode()
void
toJson(@NotNull com.google.gson.stream.JsonWriter writer)
void
toJson(@NotNull com.google.gson.stream.JsonWriter writer, boolean recursive)
-
Methods inherited from class com.composum.sling.core.usermanagement.model.AuthorizablesView
addNode, createNode, getAuthorizableModels, getNodeClass, getSingleFocus
-
-
-
-
Field Detail
-
rootNode
protected final TreeNode rootNode
-
-
Constructor Detail
-
AuthorizablesTree
public AuthorizablesTree(@NotNull Authorizables.Context context, @Nullable @Nullable String selector, @Nullable @Nullable String nameQueryPattern, @Nullable @Nullable String pathPattern) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
AuthorizablesTree
public AuthorizablesTree(@NotNull Authorizables.Context context, @Nullable @Nullable Class<? extends AuthorizableWrapper> selector, @Nullable @Nullable String nameQueryPattern, @Nullable Authorizables.Filter filter) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
-
Method Detail
-
getRootNode
@NotNull public @NotNull TreeNode getRootNode()
-
toJson
public void toJson(@NotNull @NotNull com.google.gson.stream.JsonWriter writer, boolean recursive) throws IOException
- Throws:
IOException
-
toJson
public void toJson(@NotNull @NotNull com.google.gson.stream.JsonWriter writer) throws IOException
- Overrides:
toJson
in classAuthorizablesView
- Throws:
IOException
-
-