Class DefaultRestUserSessionManager
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.manager.DefaultRestUserSessionManager
- All Implemented Interfaces:
RestUserSessionManager
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultRestUserSessionManager(HttpContext httpContext, RestContentManager restContentManager) -
Method Summary
Modifier and TypeMethodDescriptiongetUserHistory(Integer startIndex, Integer maxResults) Returns user history which contains the list of content entities user recently visited.Returns a session representation for the currently logged in user
-
Constructor Details
-
DefaultRestUserSessionManager
public DefaultRestUserSessionManager(HttpContext httpContext, RestContentManager restContentManager)
-
-
Method Details
-
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
Description copied from interface:RestUserSessionManagerReturns user history which contains the list of content entities user recently visited.- Specified by:
getUserHistoryin interfaceRestUserSessionManager- Parameters:
startIndex-maxResults-- Returns:
-