ItEr51S04ValidacionEProbasFuncionaisItEr50S04: Adding OptimistLockingFailureException to MaterialsModel
This commit is contained in:
parent
2a0050439b
commit
6b5252aeeb
1 changed files with 2 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ import org.navalplanner.business.materials.daos.IMaterialCategoryDAO;
|
|||
import org.navalplanner.business.materials.daos.IMaterialDAO;
|
||||
import org.navalplanner.business.materials.entities.Material;
|
||||
import org.navalplanner.business.materials.entities.MaterialCategory;
|
||||
import org.navalplanner.web.common.concurrentdetection.OnConcurrentModification;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
|
|
@ -46,6 +47,7 @@ import org.zkoss.ganttz.util.MutableTreeModel;
|
|||
|
||||
@Service
|
||||
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
|
||||
@OnConcurrentModification(goToPage = "/materials/materials.zul")
|
||||
public class MaterialsModel implements IMaterialsModel {
|
||||
|
||||
@Autowired
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue