@Named public class TestKitGroupResource extends Object
| Constructor and Description |
|---|
TestKitGroupResource(DirectoryManager directoryManager,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createGroup(String groupName,
Long directoryId,
String description) |
javax.ws.rs.core.Response |
deleteGroup(String groupName,
long directoryId) |
javax.ws.rs.core.Response |
findAllMembers(String groupName,
Long directoryId,
String directoryName) |
javax.ws.rs.core.Response |
removeNestedGroup(String parentGroupName,
String groupName,
long directoryId) |
javax.ws.rs.core.Response |
updateGroup(String groupName,
Long directoryId,
String description) |
@Inject public TestKitGroupResource(DirectoryManager directoryManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
public javax.ws.rs.core.Response createGroup(String groupName, Long directoryId, @Nullable String description) throws Exception
Exceptionpublic javax.ws.rs.core.Response updateGroup(String groupName, Long directoryId, @Nullable String description) throws Exception
Exceptionpublic javax.ws.rs.core.Response deleteGroup(String groupName, long directoryId) throws ReadOnlyGroupException, OperationFailedException, GroupNotFoundException, DirectoryNotFoundException, DirectoryPermissionException
public javax.ws.rs.core.Response removeNestedGroup(String parentGroupName, String groupName, long directoryId) throws InvalidMembershipException, DirectoryPermissionException, DirectoryNotFoundException, GroupNotFoundException, MembershipNotFoundException, ReadOnlyGroupException, OperationFailedException
Copyright © 2024 Atlassian. All rights reserved.