<%! private static final String cvsId = "$Id: ws_admin_listgroups.jsp,v 1.1 2012/02/17 02:26:51 steve Exp $"; %> <%@ page language="java" contentType="text/html; charset=UTF-8" %> <%@ page import="com.hof.util.*, java.util.*, java.text.*" %> <%@ page import="com.hof.web.form.*" %> <%@ page import="com.hof.mi.web.service.*" %> <%@page import="com.hof.mi.util.OrgCache.*"%> <%@page import="com.hof.data.ConfigurationBean"%>

Refresh Caches

<% DBAction db = null; try { db = new DBAction(); ArrayList cacheTypeArray = new ArrayList(); cacheTypeArray.add(OrgCache.CacheType.ADDRESS); cacheTypeArray.add(OrgCache.CacheType.HIERARCHY); cacheTypeArray.add(OrgCache.CacheType.NAME); cacheTypeArray.add(OrgCache.CacheType.PARAMETER); cacheTypeArray.add(OrgCache.CacheType.REFCODE); cacheTypeArray.add(OrgCache.CacheType.ROLEFN); cacheTypeArray.add(OrgCache.CacheType.ORGRELATIONSHIPS); OrgCache.getInstance().refreshCaches(db, cacheTypeArray); ConfigurationBean cb = new ConfigurationBean(); cb.resetEBChangeStat(); } catch (Exception e) { out.print("Error: " + e); } finally { try { if (db != null) db.disconnect(); } catch (Exception e) { out.print(e); } } %>


Done.