class XUserMgr extends XUserMgrBase {

	@Override
	public VXGroup updateXGroup(VXGroup vXGroup) {
		checkAdminAccess();
		XXGroup xGroup = daoManager.getXXGroup().getById(vXGroup.getId());
		List<XXTrxLog> trxLogList = xGroupService.getTransactionLog(vXGroup,
				xGroup, "update");
		xaBizUtil.createTrxLog(trxLogList);
		vXGroup = (VXGroup) xGroupService.updateResource(vXGroup);
		
		//update group_name in table x_group_user
		daoMgr.getXXGroupUser().updateGroupNameByParentGroupId(vXGroup.getId(), vXGroup.getName());
		
		return vXGroup;
	}

}