public class NoOpDefaultGroupMembershipService extends Object implements DefaultGroupMembershipService
DefaultGroupMembershipService, meant to be used in products| Constructor and Description |
|---|
NoOpDefaultGroupMembershipService() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName)
Adds a new default group membership for the given application and group.
|
List<String> |
listAll(Application application,
ApplicationDirectoryMapping directoryMapping)
Lists all default group membership configurations for the given application/directory combination
|
void |
remove(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName)
Removes a default group membership configuration for the given application and group.
|
public void add(Application application, ApplicationDirectoryMapping directoryMapping, String groupName) throws OperationFailedException
DefaultGroupMembershipServiceadd in interface DefaultGroupMembershipServiceapplication - the application for which the default group membership will be createddirectoryMapping - directory mapping between the application and the directory from which the group originates,
must be added to the application before calling this methodgroupName - the name of the group in the default group membership configurationOperationFailedException - when the directory mapping does not existpublic void remove(Application application, ApplicationDirectoryMapping directoryMapping, String groupName) throws OperationFailedException
DefaultGroupMembershipServiceremove in interface DefaultGroupMembershipServiceapplication - the application for which the default group membership will be removeddirectoryMapping - directory mapping between the application and the directory from which the group originates,
must be added to the application before calling this methodgroupName - the name of the group in the default group membership configurationOperationFailedException - when the directory mapping does not existpublic List<String> listAll(Application application, ApplicationDirectoryMapping directoryMapping) throws OperationFailedException
DefaultGroupMembershipServicelistAll in interface DefaultGroupMembershipServiceapplication - the application for which the default group memberships should be listeddirectoryMapping - directory mapping between the application and the directory from which the group originates,
must be added to the application before calling this methodOperationFailedException - when the directory mapping does not existCopyright © 2022 Atlassian. All rights reserved.