use of org.apache.wicket.pageStore.PageWindowManager.PageWindow in project wicket by apache.
the class DebugDiskDataStore method getLastPageWindows.
/**
* @param sessionId
* @param count
* @return a list of the last N page windows
*/
public List<PageWindow> getLastPageWindows(String sessionId, int count) {
List<PageWindow> pageWindows = new ArrayList<>();
SessionEntry sessionEntry = getSessionEntry(sessionId, false);
if (sessionEntry != null) {
PageWindowManager windowManager = sessionEntry.getManager();
pageWindows.addAll(windowManager.getLastPageWindows(count));
}
return pageWindows;
}
Aggregations