@Override protected void after(XParam param) throws Throwable { switch (mMethod) { case queryAndAggregateUsageStats: if (isRestricted(param)) param.setResult(new HashMap<String, UsageStats>()); break; case queryConfigurations: case Srv_queryConfigurationStats: if (isRestricted(param)) param.setResult(new ArrayList<ConfigurationStats>()); break; case queryEvents: case Srv_queryEvents: // Do nothing break; case queryUsageStats: case Srv_queryUsageStats: if (isRestricted(param)) param.setResult(new ArrayList<UsageStats>()); break; } }