public class MyJiraHomeStorageImpl extends Object implements MyJiraHomeStorage
Constructor and Description |
---|
MyJiraHomeStorageImpl(UserPreferencesManager userPreferencesManager,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
String |
load(ApplicationUser user)
Returns the home stored for the given user.
|
void |
store(ApplicationUser user,
String home)
Stores the given home for the given user.
|
public MyJiraHomeStorageImpl(@Nonnull UserPreferencesManager userPreferencesManager, @Nonnull com.atlassian.event.api.EventPublisher eventPublisher)
@Nonnull public String load(@Nonnull ApplicationUser user)
MyJiraHomeStorage
load
in interface MyJiraHomeStorage
user
- the user for which the home is requestedpublic void store(@Nonnull ApplicationUser user, @Nonnull String home)
MyJiraHomeStorage
store
in interface MyJiraHomeStorage
user
- the user for which the home is storedhome
- the actual home to be storedCopyright © 2002-2019 Atlassian. All Rights Reserved.