Class UserLookupHelper
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.UserLookupHelper
-
- All Implemented Interfaces:
com.google.common.base.Function<String,ConfluenceUser>
,Function<String,ConfluenceUser>
@Internal public class UserLookupHelper extends Object implements com.google.common.base.Function<String,ConfluenceUser>
Utility class which exposes user search by username/userkey as a function.It doesn't do caching on its own and talks directly to dao.
-
-
Field Summary
Fields Modifier and Type Field Description static UserLookupHelper
INSTANCE
-
Constructor Summary
Constructors Constructor Description UserLookupHelper()
-
-
-
Field Detail
-
INSTANCE
public static final UserLookupHelper INSTANCE
-
-
Method Detail
-
apply
public ConfluenceUser apply(@Nullable String userKeyOrName)
- Specified by:
apply
in interfacecom.google.common.base.Function<String,ConfluenceUser>
- Specified by:
apply
in interfaceFunction<String,ConfluenceUser>
-
-