public interface AccountGroupMappingRepository
Modifier and Type | Method and Description |
---|---|
Ack |
deleteMapping(ID id)
Deletes a mapping
|
java.util.Collection<AccountGroup> |
getGroups(java.lang.String mapping,
java.lang.String mappedName)
For the given
mapping type, collects the AccountGroup which are associated
with the mappedName name. |
AccountGroupMapping |
getMapping(ID id)
Gets a mapping by its ID
|
java.util.List<AccountGroupMapping> |
getMappings(java.lang.String mapping)
For the given
mapping type, collects the mappings. |
java.util.List<AccountGroupMapping> |
getMappingsForGroup(AccountGroup group)
Gets the list of mappings for a given group.
|
AccountGroupMapping |
newMapping(java.lang.String mapping,
AccountGroupMappingInput input)
Creates a new mapping
|
AccountGroupMapping |
updateMapping(ID id,
AccountGroupMappingInput input)
Updates a mapping
|
java.util.Collection<AccountGroup> getGroups(java.lang.String mapping, java.lang.String mappedName)
mapping
type, collects the AccountGroup
which are associated
with the mappedName
name.mapping
- Mapping type, for example: "ldap"mappedName
- Mapping name, for example: "Administrator"java.util.List<AccountGroupMapping> getMappings(java.lang.String mapping)
mapping
type, collects the mappings.mapping
- Mapping type, for example: "ldap"AccountGroupMapping newMapping(java.lang.String mapping, AccountGroupMappingInput input)
mapping
- Mapping type, for example: "ldap"input
- Input data for the mappingAccountGroupMapping getMapping(ID id)
id
- ID of the mappingAccountGroupMapping updateMapping(ID id, AccountGroupMappingInput input)
id
- ID of the mappinginput
- Input data for the mappingAck deleteMapping(ID id)
id
- ID of the mappingjava.util.List<AccountGroupMapping> getMappingsForGroup(AccountGroup group)
group
- Group to get the mappings to