Class GroupServiceImpl.GroupValidator
java.lang.Object
com.atlassian.confluence.api.impl.service.people.GroupServiceImpl.GroupValidator
- All Implemented Interfaces:
GroupService.Validator
- Enclosing class:
- GroupServiceImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateCreate
(String groupName) Validate that the logged-in user has permission to create a group with the given name.validateDelete
(String groupName) Validate that the logged-in user has permission to delete a group with the given name.Validate that the logged-in user has permission to view groups.
-
Constructor Details
-
GroupValidator
public GroupValidator()
-
-
Method Details
-
validateView
Description copied from interface:GroupService.Validator
Validate that the logged-in user has permission to view groups.- Specified by:
validateView
in interfaceGroupService.Validator
- Returns:
- an immutable validation result
-
validateCreate
Description copied from interface:GroupService.Validator
Validate that the logged-in user has permission to create a group with the given name.- Specified by:
validateCreate
in interfaceGroupService.Validator
- Returns:
- an immutable validation result
-
validateDelete
Description copied from interface:GroupService.Validator
Validate that the logged-in user has permission to delete a group with the given name.- Specified by:
validateDelete
in interfaceGroupService.Validator
- Returns:
- an immutable validation result
-