252253254255256257258259260261262
DSP5 dsp5 = dSP5DAO.find(id); DSP5DTO dto = new DSP5DTO(dsp5, DTOPath.DSP5_DOC); dto.setOverConsumption(isConsumedItemCountTooBig(dsp5)); if (readOnly) { dto.freeze(); } return dto; } @Override