public interface ApplicationDefaultGroupMembershipConfigurationDao
| 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<InternalApplicationDefaultGroupMembershipConfiguration> |
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.
|
void |
removeAll(Application application,
ApplicationDirectoryMapping directoryMapping)
Removes all default group membership configurations for the given application and directory combination.
|
void add(Application application, ApplicationDirectoryMapping directoryMapping, String groupName) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
application - the application for which the default group membership will be createddirectoryMapping - directory mapping between the application and the directory from which the group originatesgroupName - the name of the group in the default group membership configurationDirectoryMappingNotFoundException - when the directory mapping could not be foundApplicationNotFoundExceptionvoid remove(Application application, ApplicationDirectoryMapping directoryMapping, String groupName) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
application - the application for which the default group membership will be removeddirectoryMapping - directory mapping between the application and the directory from which the group originatesgroupName - the name of the group in the default group membership configurationDirectoryMappingNotFoundException - when the directory mapping could not be foundApplicationNotFoundExceptionvoid removeAll(Application application, ApplicationDirectoryMapping directoryMapping) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
application - the application for which the default group memberships will be removeddirectoryMapping - directory mapping between the application and the directory from which the group originatesDirectoryMappingNotFoundException - when the directory mapping could not be foundApplicationNotFoundExceptionList<InternalApplicationDefaultGroupMembershipConfiguration> listAll(Application application, ApplicationDirectoryMapping directoryMapping) throws DirectoryMappingNotFoundException, ApplicationNotFoundException
application - the application for which the default group memberships should be listeddirectoryMapping - directory mapping between the application and the directory from which the group originatesDirectoryMappingNotFoundException - when the directory mapping could not be foundApplicationNotFoundExceptionCopyright © 2023 Atlassian. All rights reserved.