public interface UserActivationValidator extends Orderable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ORDER
the default value for the order.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
validateUserActivation(User user)
Validate whether the status of the given user can be set to
ACTIVE . |
static final int DEFAULT_ORDER
int getOrder()
void validateUserActivation(User user) throws UserActivationValidationException
ACTIVE
.user
- the user that should be activated. The user must not be modified.UserActivationValidationException
- in case the validation fails and the user cannot be activatedCopyright © 2019 Communote team. All rights reserved.