sp.getITurmaPersistente().simpleLockWrite(schoolClass);
    public Boolean run(InfoClass infoClass, List shiftOIDs) throws ExcepcaoPersistencia {        final ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();        final ISchoolClass schoolClass = (ISchoolClass) sp.getITurmaPersistente().readByOID(SchoolClass.class,                infoClass.getIdInternal());        sp.getITurmaPersistente().simpleLockWrite(schoolClass);        final List shifts = schoolClass.getAssociatedShifts();        final List shiftsToRemove = new ArrayList(shifts.size());                Iterator iter = shifts.iterator();        while (iter.hasNext()){            IShift shift = (IShift) iter.next();                        if (shiftOIDs.contains(shift.getIdInternal())){                shiftsToRemove.add(shift);            }        }                        shifts.removeAll(shiftsToRemove);        return new Boolean(true);    }