com.atlassian.jira.my_home
Class MyJiraHomeStorageImpl
java.lang.Object
com.atlassian.jira.my_home.MyJiraHomeStorageImpl
- All Implemented Interfaces:
- MyJiraHomeStorage
public class MyJiraHomeStorageImpl
- extends Object
- implements MyJiraHomeStorage
Loads and stores the My JIRA Home in the user's preferences.
Method Summary |
String |
load(com.atlassian.crowd.embedded.api.User user)
Returns the home stored for the given user. |
void |
store(com.atlassian.crowd.embedded.api.User user,
String home)
Stores the given home for the given user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyJiraHomeStorageImpl
public MyJiraHomeStorageImpl(@Nonnull
UserPreferencesManager userPreferencesManager,
@Nonnull
com.atlassian.event.api.EventPublisher eventPublisher)
load
@Nonnull
public String load(@Nonnull
com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
MyJiraHomeStorage
- Returns the home stored for the given user.
- Specified by:
load
in interface MyJiraHomeStorage
- Parameters:
user
- the user for which the home is requested
- Returns:
- the home if found, else an empty string
store
public void store(@Nonnull
com.atlassian.crowd.embedded.api.User user,
@Nonnull
String home)
- Description copied from interface:
MyJiraHomeStorage
- Stores the given home for the given user.
- Specified by:
store
in interface MyJiraHomeStorage
- Parameters:
user
- the user for which the home is storedhome
- the actual home to be stored
Copyright © 2002-2014 Atlassian. All Rights Reserved.