public class DefaultOwnershipTransferChangeService extends OwnershipTransferChangeService
UserPropertyChangeService.UserPropertyChangeRequest<P>, UserPropertyChangeService.UserPropertyChangeValidationResult<P>
Constructor and Description |
---|
DefaultOwnershipTransferChangeService(UserManager userManager,
OwnershipTransferChangeManager ownershipTransferChangeManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
getHandlerDescriptionKey() |
protected UserPropertyChangeManager<OwnershipTransferHandler,OwnershipTransferParameter> |
getManager() |
UserPropertyChangeService.UserPropertyChangeValidationResult<OwnershipTransferParameter> |
validateUserPropertyChange(UserPropertyChangeService.UserPropertyChangeRequest<OwnershipTransferParameter> userPropertyChangeRequest)
Validates if user property change is possible.
|
UserPropertyChangeService.UserPropertyChangeValidationResult<OwnershipTransferParameter> |
validateUserPropertyChangeInOtherEntities(UserPropertyChangeService.UserPropertyChangeRequest<OwnershipTransferParameter> userPropertyChangeRequest)
Validates if user property change is possible in external entities (using plugin system).
|
getAffectedEntities, getI18nBean, getNumberOfTasks, isAdministrator, isSysAdmin, userPropertyChange, userPropertyChangeInOtherEntities
public DefaultOwnershipTransferChangeService(UserManager userManager, OwnershipTransferChangeManager ownershipTransferChangeManager)
@Nonnull protected UserPropertyChangeManager<OwnershipTransferHandler,OwnershipTransferParameter> getManager()
getManager
in class UserPropertyChangeService<OwnershipTransferHandler,OwnershipTransferParameter>
UserPropertyChangeManager
appropriate for the user property handled by the implementation@Nonnull public UserPropertyChangeService.UserPropertyChangeValidationResult<OwnershipTransferParameter> validateUserPropertyChange(@Nonnull UserPropertyChangeService.UserPropertyChangeRequest<OwnershipTransferParameter> userPropertyChangeRequest)
UserPropertyChangeService
validateUserPropertyChange
in class UserPropertyChangeService<OwnershipTransferHandler,OwnershipTransferParameter>
userPropertyChangeRequest
- Change user property request.@Nonnull public UserPropertyChangeService.UserPropertyChangeValidationResult<OwnershipTransferParameter> validateUserPropertyChangeInOtherEntities(@Nonnull UserPropertyChangeService.UserPropertyChangeRequest<OwnershipTransferParameter> userPropertyChangeRequest)
UserPropertyChangeService
validateUserPropertyChangeInOtherEntities
in class UserPropertyChangeService<OwnershipTransferHandler,OwnershipTransferParameter>
userPropertyChangeRequest
- Change user property request.@Nonnull protected String getHandlerDescriptionKey()
getHandlerDescriptionKey
in class UserPropertyChangeService<OwnershipTransferHandler,OwnershipTransferParameter>
Copyright © 2002-2019 Atlassian. All Rights Reserved.