}
@Override
@Transactional(readOnly=false)
public void removeWidget(final long guestId, final long dashboardId, final String widgetName) {
Dashboard dashboard = getDashboardById(guestId, dashboardId);
final String[] namesArray = StringUtils.split(dashboard.widgetNames, ",");
List<String> widgetNames = new ArrayList<String>();
for (String s : namesArray) widgetNames.add(s);
widgetNames.remove(widgetName);
dashboard.widgetNames = StringUtils.join(widgetNames, ",");