public class NoOpDefaultGroupMembershipService extends Object implements DefaultGroupMembershipService
DefaultGroupMembershipService
, meant to be used in productsConstructor 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
DefaultGroupMembershipService
add
in interface DefaultGroupMembershipService
application
- 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
DefaultGroupMembershipService
remove
in interface DefaultGroupMembershipService
application
- 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
DefaultGroupMembershipService
listAll
in interface DefaultGroupMembershipService
application
- 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 © 2020 Atlassian. All rights reserved.