persistentShift.simpleLockWrite(shift);
    public Object run(final InfoShift infoShift, final InfoClass infoClass) throws ExcepcaoPersistencia {        final ISuportePersistente persistentSupport = PersistenceSupportFactory.getDefaultPersistenceSupport();        final ITurnoPersistente persistentShift = persistentSupport.getITurnoPersistente();        final IShift shift = (IShift) persistentShift.readByOID(Shift.class, infoShift.getIdInternal());        if (shift == null) {            return Boolean.FALSE;        }        final ISchoolClass schoolClass = (ISchoolClass) CollectionUtils.find(shift.getAssociatedClasses(), new Predicate() {            public boolean evaluate(Object arg0) {                final ISchoolClass schoolClass = (ISchoolClass) arg0;                return schoolClass.getIdInternal().equals(infoClass.getIdInternal());            }        });        if (schoolClass == null) {            return Boolean.FALSE;        }        persistentShift.simpleLockWrite(shift);        shift.getAssociatedClasses().remove(schoolClass);        schoolClass.getAssociatedShifts().remove(shift);        return Boolean.TRUE;    }