6061626364656667686970
} catch (NumberFormatException e) { throw new InvalidStateIdException(e, stateId); } PortletStateContext context = store.get(stateId); if (context == null) { throw new NoSuchStateException(stateId); } return context;
7071727374757677
return context; } private synchronized PortletState getState(String stateId) throws NoSuchStateException, InvalidStateIdException { PortletStateContext context = loadState(stateId); return context.getState(); }
858687888990919293
if (propertyMap == null) { throw new IllegalArgumentException("No null value map accepted"); } String id = Integer.toString(counter++); PortletStateContext state = new PortletStateContextImpl(id, portletId, new SimplePropertyMap(propertyMap)); store.put(id, state); return id; }