Class GroupServiceImpl.GroupValidator
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.people.GroupServiceImpl.GroupValidator
-
- All Implemented Interfaces:
GroupService.Validator
- Enclosing class:
- GroupServiceImpl
public class GroupServiceImpl.GroupValidator extends Object implements GroupService.Validator
-
-
Constructor Summary
Constructors Constructor Description GroupValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResultvalidateCreate(String groupName)Validate that the logged-in user has permission to create a group with the given name.ValidationResultvalidateDelete(String groupName)Validate that the logged-in user has permission to delete a group with the given name.ValidationResultvalidateView()Validate that the logged-in user has permission to view groups.
-
-
-
Method Detail
-
validateView
public ValidationResult validateView()
Description copied from interface:GroupService.ValidatorValidate that the logged-in user has permission to view groups.- Specified by:
validateViewin interfaceGroupService.Validator- Returns:
- an immutable validation result
-
validateCreate
public ValidationResult validateCreate(String groupName)
Description copied from interface:GroupService.ValidatorValidate that the logged-in user has permission to create a group with the given name.- Specified by:
validateCreatein interfaceGroupService.Validator- Returns:
- an immutable validation result
-
validateDelete
public ValidationResult validateDelete(String groupName)
Description copied from interface:GroupService.ValidatorValidate that the logged-in user has permission to delete a group with the given name.- Specified by:
validateDeletein interfaceGroupService.Validator- Returns:
- an immutable validation result
-
-