@RestController public class DomainGroupManagementController extends Object implements org.bremersee.dccon.api.DomainGroupManagementApi
| Constructor and Description |
|---|
DomainGroupManagementController(DomainGroupService domainGroupService,
DomainUserService domainUserService)
Instantiates a new domain group management controller.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<org.bremersee.dccon.model.DomainGroup> |
addGroup(@Valid org.bremersee.dccon.model.DomainGroup group) |
org.springframework.http.ResponseEntity<Boolean> |
deleteGroup(String groupName) |
org.springframework.http.ResponseEntity<org.bremersee.dccon.model.DomainGroup> |
getGroup(String groupName) |
org.springframework.http.ResponseEntity<List<org.bremersee.dccon.model.DomainGroup>> |
getGroups(String sort,
String query) |
org.springframework.http.ResponseEntity<Boolean> |
groupExists(String groupName) |
org.springframework.http.ResponseEntity<Boolean> |
isGroupNameInUse(String groupName) |
org.springframework.http.ResponseEntity<org.bremersee.dccon.model.DomainGroup> |
updateGroup(String groupName,
@Valid org.bremersee.dccon.model.DomainGroup domainGroup) |
public DomainGroupManagementController(DomainGroupService domainGroupService, DomainUserService domainUserService)
domainGroupService - the domain group servicedomainUserService - the domain user service@PreAuthorize(value="hasAnyAuthority(\'ROLE_ADMIN\', \'ROLE_DC_CON_ADMIN\', \'ROLE_LOCAL_USER\')") public org.springframework.http.ResponseEntity<List<org.bremersee.dccon.model.DomainGroup>> getGroups(String sort, String query)
getGroups in interface org.bremersee.dccon.api.DomainGroupManagementApi@PreAuthorize(value="hasAnyAuthority(\'ROLE_ADMIN\', \'ROLE_DC_CON_ADMIN\')")
public org.springframework.http.ResponseEntity<org.bremersee.dccon.model.DomainGroup> addGroup(@Valid
@Valid org.bremersee.dccon.model.DomainGroup group)
addGroup in interface org.bremersee.dccon.api.DomainGroupManagementApi@PreAuthorize(value="hasAnyAuthority(\'ROLE_ADMIN\', \'ROLE_DC_CON_ADMIN\', \'ROLE_LOCAL_USER\')") public org.springframework.http.ResponseEntity<org.bremersee.dccon.model.DomainGroup> getGroup(String groupName)
getGroup in interface org.bremersee.dccon.api.DomainGroupManagementApi@PreAuthorize(value="hasAnyAuthority(\'ROLE_ADMIN\', \'ROLE_DC_CON_ADMIN\')") public org.springframework.http.ResponseEntity<org.bremersee.dccon.model.DomainGroup> updateGroup(String groupName, @Valid @Valid org.bremersee.dccon.model.DomainGroup domainGroup)
updateGroup in interface org.bremersee.dccon.api.DomainGroupManagementApi@PreAuthorize(value="hasAnyAuthority(\'ROLE_ADMIN\', \'ROLE_DC_CON_ADMIN\', \'ROLE_LOCAL_USER\')") public org.springframework.http.ResponseEntity<Boolean> groupExists(String groupName)
groupExists in interface org.bremersee.dccon.api.DomainGroupManagementApi@PreAuthorize(value="hasAnyAuthority(\'ROLE_ADMIN\', \'ROLE_DC_CON_ADMIN\', \'ROLE_LOCAL_USER\')") public org.springframework.http.ResponseEntity<Boolean> isGroupNameInUse(String groupName)
isGroupNameInUse in interface org.bremersee.dccon.api.DomainGroupManagementApiCopyright © 2020 bremersee.org. All rights reserved.