return user.getAttribute("watchList", WatchList.class);
}
@DwrPermission(anonymous = true)
public void resetWatchListState(int pollSessionId) {
LongPollData data = getLongPollData(pollSessionId, false);
synchronized (data.getState()) {
WatchListCommon.getWatchListStates(data).clear();
WatchList wl = getWatchList();
for (DataPointVO dp : wl.getPointList())
dp.resetLastValue();
}
notifyLongPollImpl(data.getRequest());
}