@Test public void testCreateGroupWithPath() throws Exception { UserProvider up = createUserProvider(4); Tree group = up.createGroup("authors", "a/b/c"); assertNotNull(group); assertTrue(Text.isDescendant(customGroupPath, group.getPath())); String groupPath = customGroupPath + "/a/b/c/authors"; assertEquals(groupPath, group.getPath()); }
@NotNull Tree createGroup(@NotNull String groupID, @Nullable String intermediateJcrPath) throws RepositoryException { return createAuthorizableNode(groupID, NT_REP_GROUP, intermediateJcrPath); }
UserProvider extends AuthorizableBaseProvider { @NotNull Tree createGroup(@NotNull String groupID, @Nullable String intermediateJcrPath) throws RepositoryException { return createAuthorizableNode(groupID, NT_REP_GROUP, intermediateJcrPath); } }
UserProvider extends AuthorizableBaseProvider { @NotNull Tree createGroup(@NotNull String groupID, @Nullable String intermediateJcrPath) throws RepositoryException { return createAuthorizableNode(groupID, NT_REP_GROUP, intermediateJcrPath); } UserProvider(@NotNull Root root, @NotNull ConfigurationParameters config); }
UserProvider extends AuthorizableBaseProvider { @NotNull Tree createGroup(@NotNull String groupID, @Nullable String intermediateJcrPath) throws RepositoryException { return createAuthorizableNode(groupID, NT_REP_GROUP, intermediateJcrPath); } UserProvider(@NotNull Root root, @NotNull ConfigurationParameters config);  }
UserProvider extends AuthorizableBaseProvider { @NotNull Tree createGroup(@NotNull String groupID, @Nullable String intermediateJcrPath) throws RepositoryException { return createAuthorizableNode(groupID, NT_REP_GROUP, intermediateJcrPath); } UserProvider(@NotNull Root root, @NotNull ConfigurationParameters config);   }