Package com.atlassian.jira.my_home
Class MyJiraHomeUpdateServiceImpl
java.lang.Object
com.atlassian.jira.my_home.MyJiraHomeUpdateServiceImpl
- All Implemented Interfaces:
MyJiraHomeUpdateService
Applies validation before storing the new plugin module key.
-
Constructor Summary
ConstructorsConstructorDescriptionMyJiraHomeUpdateServiceImpl(MyJiraHomeValidator validator, MyJiraHomeStorage storage) -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateHome(ApplicationUser user, String completePluginModuleKey) Updates the user's My JIRA Home location to be provided by the given plugin module.
-
Constructor Details
-
MyJiraHomeUpdateServiceImpl
public MyJiraHomeUpdateServiceImpl(@Nonnull MyJiraHomeValidator validator, @Nonnull MyJiraHomeStorage storage)
-
-
Method Details
-
updateHome
Description copied from interface:MyJiraHomeUpdateServiceUpdates the user's My JIRA Home location to be provided by the given plugin module. It is expected, that the plugin module is aWebItemModuleDescriptor.- Specified by:
updateHomein interfaceMyJiraHomeUpdateService- Parameters:
user- the user for which the location is setcompletePluginModuleKey- the complete key of the plugin module providing the My JIRA Home link
-