-1);
int parent = WebUtility.getOptionalIntRequestParameter(request, "parent", -1);
// Find out what we want to configure
MetricsDisplayMode mode = WebUtility.getMetricsDisplayMode(request);
// put the return params in the request
switch (mode) {
case RESOURCE_DEFAULT: {
returnRequestParams.put(ParamConstants.RESOURCE_TYPE_ID_PARAM, resourceTypeId);