com.atlassian.jira.my_home
Class MyJiraHomeUpdateServiceImpl

java.lang.Object
  extended by 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.


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

MyJiraHomeUpdateServiceImpl

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

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 set
completePluginModuleKey - the complete key of the plugin module providing the My JIRA Home link


Copyright © 2002-2012 Atlassian. All Rights Reserved.