com.atlassian.jira.my_home
Interface MyJiraHomeStorage

All Known Implementing Classes:
MyJiraHomeStorageImpl

public interface MyJiraHomeStorage

Loads and stores the My JIRA Home for the given user.


Method Summary
 String load(ApplicationUser user)
          Returns the home stored for the given user.
 String load(com.atlassian.crowd.embedded.api.User user)
          Deprecated. use load(ApplicationUser user) instead
 void store(ApplicationUser user, String home)
          Stores the given home for the given user.
 void store(com.atlassian.crowd.embedded.api.User user, String home)
          Deprecated. use store(ApplicationUser user, String home) instead
 

Method Detail

load

@Nonnull
@Deprecated
String load(@Nonnull
                               com.atlassian.crowd.embedded.api.User user)
Deprecated. use load(ApplicationUser user) instead

Returns the home stored for the given user.

Parameters:
user - the user for which the home is requested
Returns:
the home if found, else an empty string

load

@Nonnull
String load(@Nonnull
                    ApplicationUser user)
Returns the home stored for the given user.

Parameters:
user - the user for which the home is requested
Returns:
the home if found, else an empty string
Since:
7.0

store

@Deprecated
void store(@Nonnull
                      com.atlassian.crowd.embedded.api.User user,
                      @Nonnull
                      String home)
Deprecated. use store(ApplicationUser user, String home) instead

Stores the given home for the given user.

Parameters:
user - the user for which the home is stored
home - the actual home to be stored
Throws:
MyJiraHomeUpdateException - if the update fails

store

void store(@Nonnull
           ApplicationUser user,
           @Nonnull
           String home)
Stores the given home for the given user.

Parameters:
user - the user for which the home is stored
home - the actual home to be stored
Throws:
MyJiraHomeUpdateException - if the update fails
Since:
7.0


Copyright © 2002-2014 Atlassian. All Rights Reserved.