public class PersonServiceImpl.ValidatorImpl extends Object implements PersonService.Validator
Constructor and Description |
---|
ValidatorImpl() |
Modifier and Type | Method and Description |
---|---|
ValidationResult |
validateDelete(Person personToDelete)
Validate that the current user has permissions to remove the given person
|
ValidationResult |
validateView()
Validate that current user can view user profiles
|
public ValidationResult validateView()
PersonService.Validator
validateView
in interface PersonService.Validator
public ValidationResult validateDelete(Person personToDelete)
PersonService.Validator
validateDelete
in interface PersonService.Validator
Copyright © 2003–2020 Atlassian. All rights reserved.