Class LegacyPersonBuilder
- java.lang.Object
-
- com.atlassian.confluence.ui.rest.builder.LegacyPersonBuilder
-
@Deprecated @Component public class LegacyPersonBuilder extends Object
Deprecated.since 7.0.1 , useKnownUser.Builder
Builder for Person objects.
-
-
Constructor Summary
Constructors Constructor Description LegacyPersonBuilder(UserAccessor userAccessor, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, PermissionManager permissionManager)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Anonymous
anonymous()
Deprecated.Person
forUsername(String username)
Deprecated.Construct the person object for a particular username.
-
-
-
Constructor Detail
-
LegacyPersonBuilder
@Autowired public LegacyPersonBuilder(UserAccessor userAccessor, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, PermissionManager permissionManager)
Deprecated.
-
-
Method Detail
-
forUsername
public Person forUsername(String username)
Deprecated.Construct the person object for a particular username. Null usernames will return the anonymous person- Parameters:
username
- the username of the person to represent- Returns:
- the corresponding Person object
-
anonymous
public Anonymous anonymous()
Deprecated.
-
-