Class AuthorizablesGraph
- java.lang.Object
-
- com.composum.sling.core.usermanagement.model.AuthorizablesView
-
- com.composum.sling.core.usermanagement.model.AuthorizablesMap
-
- com.composum.sling.core.usermanagement.model.AuthorizablesGraph
-
public class AuthorizablesGraph extends AuthorizablesMap
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.usermanagement.model.AuthorizablesMap
AuthorizablesMap.Relation
-
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 static Map<String,Object>
DEFAULT_NODE_CFG
-
Fields inherited from class com.composum.sling.core.usermanagement.model.AuthorizablesMap
sourceRelations, targetRelations
-
Fields inherited from class com.composum.sling.core.usermanagement.model.AuthorizablesView
context, index, indexes, nodes, singleFocus
-
-
Constructor Summary
Constructors Constructor Description AuthorizablesGraph(Authorizables.Context context, @Nullable Class<? extends AuthorizableWrapper> selector, @Nullable String nameQueryPattern, Authorizables.Filter filter)
AuthorizablesGraph(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 protected void
extendedScan(@Nullable Class<? extends AuthorizableWrapper> selector, Authorizables.Filter filter, @Nullable Set<String> singleFocusDone)
protected String
getColor(AuthorizableModel node)
void
toGraphviz(@NotNull Writer writer, @Nullable org.apache.sling.api.resource.Resource config, AuthorizablesView.NodeUrlBuilder urlBuilder)
protected void
writeConfig(@NotNull Writer writer, @Nullable org.apache.sling.api.resource.Resource configResource, @NotNull String type, @Nullable Map<String,Object> defaultCfg)
-
Methods inherited from class com.composum.sling.core.usermanagement.model.AuthorizablesMap
addSourceRelations, addTargetRelations, isSourceOfTarget, scanRelations, toJson
-
Methods inherited from class com.composum.sling.core.usermanagement.model.AuthorizablesView
addNode, createNode, getAuthorizableModels, getNodeClass, getSingleFocus
-
-
-
-
Constructor Detail
-
AuthorizablesGraph
public AuthorizablesGraph(@NotNull Authorizables.Context context, @Nullable @Nullable String selector, @Nullable @Nullable String nameQueryPattern, @Nullable @Nullable String pathPattern) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
AuthorizablesGraph
public AuthorizablesGraph(@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
-
extendedScan
protected void extendedScan(@Nullable @Nullable Class<? extends AuthorizableWrapper> selector, @Nullable Authorizables.Filter filter, @Nullable @Nullable Set<String> singleFocusDone) throws javax.jcr.RepositoryException
- Overrides:
extendedScan
in classAuthorizablesMap
- Throws:
javax.jcr.RepositoryException
-
toGraphviz
public void toGraphviz(@NotNull @NotNull Writer writer, @Nullable @Nullable org.apache.sling.api.resource.Resource config, @Nullable AuthorizablesView.NodeUrlBuilder urlBuilder) throws IOException
- Throws:
IOException
-
writeConfig
protected void writeConfig(@NotNull @NotNull Writer writer, @Nullable @Nullable org.apache.sling.api.resource.Resource configResource, @NotNull @NotNull String type, @Nullable @Nullable Map<String,Object> defaultCfg) throws IOException
- Throws:
IOException
-
getColor
protected String getColor(AuthorizableModel node)
-
-