Class HomepageService
- java.lang.Object
-
- com.atlassian.confluence.impl.homepage.HomepageService
-
public class HomepageService extends Object
An service which uses the global and user settings to determine the homepage for any given user.- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description HomepageService(SpaceManager spaceManager, SettingsManager settingsManager, UserAccessor userAccessor, SpacePermissionManager spacePermissionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull Homepage
getHomepage(@Nullable ConfluenceUser user)
Determines which type of homepage the current user should receive.
-
-
-
Constructor Detail
-
HomepageService
public HomepageService(SpaceManager spaceManager, SettingsManager settingsManager, UserAccessor userAccessor, SpacePermissionManager spacePermissionManager)
-
-
Method Detail
-
getHomepage
public @NonNull Homepage getHomepage(@Nullable ConfluenceUser user)
Determines which type of homepage the current user should receive.- Parameters:
user
- The user making the request. May be null for anonymous users.
-
-