} catch (ParameterNotFoundException e) {
// not a problem, this can be null
}
Subject subject = RequestUtils.getSubject(request);
ResourceGroupManagerLocal groupManager = LookupUtil.getResourceGroupManager();
ResourceTypeManagerLocal resourceTypeManager = LookupUtil.getResourceTypeManager();
// auto-group support (of plats?)
// request.setAttribute(Constants.CONTROL_ENABLED_ATTR, Boolean.FALSE);
// request.setAttribute(Constants.PERFORMANCE_SUPPORTED_ATTR, Boolean.FALSE);
// AppdefEntityTypeID aetid = null;
// if (null == groupId/* || groupId instanceof AppdefEntityTypeID*/) {
// // this can happen if we're an auto-group of platforms
//
// try {
// if (groupId != null)
// aetid = (AppdefEntityTypeID) groupId;
// else
// aetid = new AppdefEntityTypeID(
// RequestUtils.getStringParameter(
// request, Constants.APPDEF_RES_TYPE_ID));
//
///* AppdefResourceTypeValue resourceTypeVal =
// appdefBoss.findResourceTypeById(sessionId.intValue(),
// aetid);*/
// ResourceType resourceType = resourceTypeManager.getResourceTypeById(subject, aetid.getId());
//
// //request.setAttribute(Constants.RESOURCE_TYPE_ATTR, resourceTypeVal);
// request.setAttribute(Constants.RESOURCE_TYPE_ATTR, resourceType);
// // Set the title parameters
// //request.setAttribute(Constants.TITLE_PARAM_ATTR, resourceTypeVal.getName());
// request.setAttribute(Constants.TITLE_PARAM_ATTR, resourceType.getName());
// } catch (Exception e) {
// // if this param isnt found, leave aetid null
// }
// } else {
log.trace("finding group [" + groupId + "]");
ResourceGroup group = groupManager.getResourceGroupById(subject, groupId, null);
GroupCategory category = group.getGroupCategory();
log.trace("finding most recent modifier for resource [" + groupId + "]");
String modifier = group.getModifiedBy();