public Collection getStoredChanges(String pageName, IRequestCycle cycle)
{
Defense.notNull(pageName, "pageName");
WebSession session = _request.getSession(false);
if (session == null)
return Collections.EMPTY_LIST;
Collection result = new ArrayList();
String prefix = _applicationId + "," + pageName + ",";
Iterator i = session.getAttributeNames().iterator();
while (i.hasNext())
{
String key = (String) i.next();
if (key.startsWith(prefix))
{
PropertyChange change = buildChange(key, session.getAttribute(key));
result.add(change);
}
}