Class MyJiraHomeUpdateServiceImpl

  extended by com.atlassian.jira.my_home.MyJiraHomeUpdateServiceImpl
All Implemented Interfaces:

public class MyJiraHomeUpdateServiceImpl
extends Object
implements MyJiraHomeUpdateService

Applies validation before storing the new plugin module key.

Constructor Summary
MyJiraHomeUpdateServiceImpl(MyJiraHomeValidator validator, MyJiraHomeStorage storage)
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

Constructor Detail


public MyJiraHomeUpdateServiceImpl(@Nonnull
                                   MyJiraHomeValidator validator,
                                   MyJiraHomeStorage storage)
Method Detail


public void updateHome(@Nonnull
                       com.atlassian.crowd.embedded.api.User user,
                       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
user - the user for which the location is set
completePluginModuleKey - the complete key of the plugin module providing the My JIRA Home link

Copyright © 2002-2014 Atlassian. All Rights Reserved.