Class PersonServiceImpl.ValidatorImpl
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.people.PersonServiceImpl.ValidatorImpl
-
- All Implemented Interfaces:
PersonService.Validator
- Enclosing class:
- PersonServiceImpl
public class PersonServiceImpl.ValidatorImpl extends Object implements PersonService.Validator
-
-
Constructor Summary
Constructors Constructor Description ValidatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationResult
validateDelete(Person personToDelete)
Validate that the current user has permissions to remove the given personValidationResult
validateView()
Validate that current user can view user profiles
-
-
-
Method Detail
-
validateView
public ValidationResult validateView()
Description copied from interface:PersonService.Validator
Validate that current user can view user profiles- Specified by:
validateView
in interfacePersonService.Validator
- Returns:
- an immutable Validation result.
-
validateDelete
public ValidationResult validateDelete(Person personToDelete)
Description copied from interface:PersonService.Validator
Validate that the current user has permissions to remove the given person- Specified by:
validateDelete
in interfacePersonService.Validator
- Returns:
- an immutable Validation result
-
-