com.atlassian.confluence.plugins.rest.manager
Class DefaultRestUserSessionManager

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.manager.DefaultRestUserSessionManager
All Implemented Interfaces:
RestUserSessionManager

public class DefaultRestUserSessionManager
extends Object
implements RestUserSessionManager


Constructor Summary
DefaultRestUserSessionManager(HttpContext httpContext, RestContentManager restContentManager)
           
 
Method Summary
 UserHistoryList getUserHistory(Integer startIndex, Integer maxResults)
          Returns user history which contains the list of content entities user recently visited.
 UserSessionEntity getUserSession()
          Returns a session representation for the currently logged in user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRestUserSessionManager

public DefaultRestUserSessionManager(HttpContext httpContext,
                                     RestContentManager restContentManager)
Method Detail

getUserSession

public UserSessionEntity getUserSession()
Description copied from interface: RestUserSessionManager
Returns a session representation for the currently logged in user

Specified by:
getUserSession in interface RestUserSessionManager
Returns:
the user session entity for the current user

getUserHistory

public UserHistoryList getUserHistory(Integer startIndex,
                                      Integer maxResults)
Description copied from interface: RestUserSessionManager
Returns user history which contains the list of content entities user recently visited.

Specified by:
getUserHistory in interface RestUserSessionManager
Returns:


Copyright © 2003-2013 Atlassian. All Rights Reserved.