Class MyJiraHomePreferenceImpl

  extended by com.atlassian.jira.my_home.MyJiraHomePreferenceImpl
All Implemented Interfaces:

public class MyJiraHomePreferenceImpl
extends Object
implements MyJiraHomePreference

Applies validation after loading a value.

Constructor Summary
MyJiraHomePreferenceImpl(MyJiraHomeValidator validator, MyJiraHomeStorage storage)
Method Summary
 String findHome(com.atlassian.crowd.embedded.api.User user)
          Finds a home location for the given user.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


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


public String findHome(@Nullable
                               com.atlassian.crowd.embedded.api.User user)
Description copied from interface: MyJiraHomePreference
Finds a home location for the given user. If the value found is not usable or there was an error, a default value can be provided.

Specified by:
findHome in interface MyJiraHomePreference
user - the user for which the home location is requested
the user's home - if it's usable; an empty value if there is no value set and no default value available

Copyright © 2002-2014 Atlassian. All Rights Reserved.