Class DefaultRestUserSessionManager
- java.lang.Object
-
- com.atlassian.confluence.plugins.rest.manager.DefaultRestUserSessionManager
-
- All Implemented Interfaces:
RestUserSessionManager
public class DefaultRestUserSessionManager extends Object implements RestUserSessionManager
-
-
Constructor Summary
Constructors Constructor Description DefaultRestUserSessionManager(HttpContext httpContext, RestContentManager restContentManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserHistoryListgetUserHistory(Integer startIndex, Integer maxResults)Returns user history which contains the list of content entities user recently visited.UserSessionEntitygetUserSession()Returns a session representation for the currently logged in user
-
-
-
Constructor Detail
-
DefaultRestUserSessionManager
public DefaultRestUserSessionManager(HttpContext httpContext, RestContentManager restContentManager)
-
-
Method Detail
-
getUserSession
public UserSessionEntity getUserSession()
Description copied from interface:RestUserSessionManagerReturns a session representation for the currently logged in user- Specified by:
getUserSessionin interfaceRestUserSessionManager- Returns:
- the user session entity for the current user
-
getUserHistory
public UserHistoryList getUserHistory(Integer startIndex, Integer maxResults)
Description copied from interface:RestUserSessionManagerReturns user history which contains the list of content entities user recently visited.- Specified by:
getUserHistoryin interfaceRestUserSessionManager- Returns:
-
-