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(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.
 

Method Detail

load

@Nonnull
String load(@Nonnull
                    com.atlassian.crowd.embedded.api.User 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

store

void store(@Nonnull
           com.atlassian.crowd.embedded.api.User 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


Copyright © 2002-2014 Atlassian. All Rights Reserved.