/** * Returns the (internal use only) map of list objects.<p> * * @param settings the wp settings for accessing the session * * @return the (internal use only) map of list objects */ private static Map getListObjectMap(CmsWorkplaceSettings settings) { Map objects = (Map)settings.getListObject(); if (objects == null) { // using hashtable as most efficient version of a synchronized map objects = new Hashtable(); settings.setListObject(objects); } return objects; }
/** * Performs certain clear cache actions if the top frame is reloaded.<p> * * @param settings the current users workplace settings */ protected void topFrameReload(CmsWorkplaceSettings settings) { // ensure to read the settings from the database initUserSettings(getCms(), settings, true); // reset the HTML list in order to force a full reload settings.setListObject(null); } }
/** * @see org.opencms.workplace.CmsDialog#actionCloseDialog() */ @Override public void actionCloseDialog() throws JspException { getSettings().setListObject(null); super.actionCloseDialog(); }
/** * Performs certain clear cache actions if the top frame is reloaded.<p> * * @param settings the current users workplace settings */ protected void topFrameReload(CmsWorkplaceSettings settings) { // ensure to read the settings from the database initUserSettings(getCms(), settings, true); // reset the HTML list in order to force a full reload settings.setListObject(null); } }
/** * @see org.opencms.workplace.CmsDialog#actionCloseDialog() */ @Override public void actionCloseDialog() throws JspException { getSettings().setListObject(null); super.actionCloseDialog(); }
/** * Returns the (internal use only) map of list objects.<p> * * @param settings the wp settings for accessing the session * * @return the (internal use only) map of list objects */ private static Map<String, CmsHtmlList> getListObjectMap(CmsWorkplaceSettings settings) { Map<String, CmsHtmlList> objects = CmsCollectionsGenericWrapper.map(settings.getListObject()); if (objects == null) { // using hashtable as most efficient version of a synchronized map objects = new Hashtable<String, CmsHtmlList>(); settings.setListObject(objects); } return objects; }