com.atlassian.jira.my_home
Class MyJiraHomeUpdateServiceImpl
java.lang.Object
com.atlassian.jira.my_home.MyJiraHomeUpdateServiceImpl
- All Implemented Interfaces:
- MyJiraHomeUpdateService
public class MyJiraHomeUpdateServiceImpl
- extends Object
- implements MyJiraHomeUpdateService
Applies validation before storing the new plugin module key.
Method Summary |
void |
updateHome(com.atlassian.crowd.embedded.api.User user,
String completePluginModuleKey)
Updates the user's My JIRA Home location to be provided by the given plugin module. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyJiraHomeUpdateServiceImpl
public MyJiraHomeUpdateServiceImpl(@Nonnull
MyJiraHomeValidator validator,
@Nonnull
MyJiraHomeStorage storage)
updateHome
public void updateHome(@Nonnull
com.atlassian.crowd.embedded.api.User user,
@Nonnull
String completePluginModuleKey)
- Description copied from interface:
MyJiraHomeUpdateService
- Updates the user's My JIRA Home location to be provided by the given plugin module. It is expected, that the
plugin module is a
WebItemModuleDescriptor
.
- Specified by:
updateHome
in interface MyJiraHomeUpdateService
- Parameters:
user
- the user for which the location is setcompletePluginModuleKey
- the complete key of the plugin module providing the My JIRA Home link
Copyright © 2002-2014 Atlassian. All Rights Reserved.