public class DefaultUserKeyChangeService extends UserKeyChangeService
UserPropertyChangeService.UserPropertyChangeRequest<P>, UserPropertyChangeService.UserPropertyChangeValidationResult<P>
Constructor and Description |
---|
DefaultUserKeyChangeService(UserManager userManager,
UserKeyChangeManager userKeyChangeManager,
UserKeyStore userKeyStore) |
Modifier and Type | Method and Description |
---|---|
protected String |
getHandlerDescriptionKey() |
protected UserPropertyChangeManager<UserKeyChangeHandler,UserPropertyChangeParameter> |
getManager() |
UserPropertyChangeService.UserPropertyChangeValidationResult<UserPropertyChangeParameter> |
validateUserPropertyChange(UserPropertyChangeService.UserPropertyChangeRequest<UserPropertyChangeParameter> userPropertyChangeRequest)
Validates if user key change is possible.
|
UserPropertyChangeService.UserPropertyChangeValidationResult<UserPropertyChangeParameter> |
validateUserPropertyChangeInOtherEntities(UserPropertyChangeService.UserPropertyChangeRequest<UserPropertyChangeParameter> userPropertyChangeRequest)
Validates if user key change is possible in external entities (using plugin system).
|
getAffectedEntities, getAffectedEntitiesFromHandlers, getI18nBean, getNumberOfTasks, isAdministrator, isSysAdmin, userPropertyChange, userPropertyChangeInOtherEntities, validateBusinessLogic
public DefaultUserKeyChangeService(UserManager userManager, UserKeyChangeManager userKeyChangeManager, UserKeyStore userKeyStore)
@Nonnull protected UserPropertyChangeManager<UserKeyChangeHandler,UserPropertyChangeParameter> getManager()
getManager
in class UserPropertyChangeService<UserKeyChangeHandler,UserPropertyChangeParameter>
UserPropertyChangeManager
appropriate for the user property handled by the implementation@Nonnull protected String getHandlerDescriptionKey()
getHandlerDescriptionKey
in class UserPropertyChangeService<UserKeyChangeHandler,UserPropertyChangeParameter>
@Nonnull public UserPropertyChangeService.UserPropertyChangeValidationResult<UserPropertyChangeParameter> validateUserPropertyChange(@Nonnull UserPropertyChangeService.UserPropertyChangeRequest<UserPropertyChangeParameter> userPropertyChangeRequest)
GlobalPermissionKey.ADMINISTER
permission.app_users
table.validateUserPropertyChange
in class UserPropertyChangeService<UserKeyChangeHandler,UserPropertyChangeParameter>
userPropertyChangeRequest
- Change key request.@Nonnull public UserPropertyChangeService.UserPropertyChangeValidationResult<UserPropertyChangeParameter> validateUserPropertyChangeInOtherEntities(@Nonnull UserPropertyChangeService.UserPropertyChangeRequest<UserPropertyChangeParameter> userPropertyChangeRequest)
GlobalPermissionKey.ADMINISTER
permission.validateUserPropertyChangeInOtherEntities
in class UserPropertyChangeService<UserKeyChangeHandler,UserPropertyChangeParameter>
userPropertyChangeRequest
- Change key request.Copyright © 2002-2024 Atlassian. All Rights Reserved.