if (newOrder != oldOrder) { organizeItemsOrder(newOrder, oldOrder, section); item.setItemOrder(newInfoItem.getItemOrder());
if (newOrder != oldOrder) { organizeItemsOrder(newOrder, oldOrder, section); item.setItemOrder(newInfoItem.getItemOrder()); } item.setName(newInfoItem.getName()); item.setUrgent(newInfoItem.getUrgent()); persistentItem.lockWrite(item); } catch (ExistingPersistentException e) {  throw new ExistingServiceException(e); } catch (ExcepcaoPersistencia e) { throw new FenixServiceException(e);
public Boolean run(InfoItem oldInfoItem, InfoItem newInfoItem)	throws FenixServiceException {	ISection fatherSection = null;	IItem item = null;	try {		ISuportePersistente sp = SuportePersistenteOJB.getInstance();		IPersistentSection persistentSection = sp.getIPersistentSection();		IPersistentItem persistentItem = sp.getIPersistentItem();		ISection section =			Cloner.copyInfoSection2ISection(oldInfoItem.getInfoSection());		item =			persistentItem.readBySectionAndName(section, oldInfoItem.getName());		item.setInformation(newInfoItem.getInformation());		int newOrder = newInfoItem.getItemOrder().intValue();		int oldOrder = oldInfoItem.getItemOrder().intValue();		if (newOrder != oldOrder) {			organizeItemsOrder(newOrder, oldOrder, section);			item.setItemOrder(newInfoItem.getItemOrder());		}		item.setName(newInfoItem.getName());		item.setUrgent(newInfoItem.getUrgent());		persistentItem.lockWrite(item);	} catch (ExcepcaoPersistencia e) {		throw new FenixServiceException(e);	}	return new Boolean(true);}