Mercurial > hg > ismi-richfaces
comparison src/main/java/de/mpiwg/itgroup/ismi/entry/beans/CurrentAliasBean.java @ 124:28a0c2726466
changed saveEntity() to use new EditIntent. Set up EditIntent for TEXT, PERSON, REFERENCE.
author | casties |
---|---|
date | Mon, 30 Jan 2017 20:35:36 +0100 |
parents | 2e911857a759 |
children | eee2e0ca4032 |
comparison
equal
deleted
inserted
replaced
123:32ce1f93ad33 | 124:28a0c2726466 |
---|---|
29 @Override | 29 @Override |
30 public String save(){ | 30 public String save(){ |
31 super.save(); | 31 super.save(); |
32 try { | 32 try { |
33 this.entity = updateEntityAttributes(this.entity); | 33 this.entity = updateEntityAttributes(this.entity); |
34 this.entity = getWrapper().saveEntity(this.entity, getSessionUser().getEmail()); | 34 this.entity = getWrapper().saveEntity(this.entity, getSessionUser().getEmail(), null); |
35 getAppBean().getSimpleSearchCache().setMapDirty(true); | 35 getAppBean().getSimpleSearchCache().setMapDirty(true); |
36 | 36 |
37 logger.info("Entity saved - Time = " + (System.currentTimeMillis() - start) + ", " + entity); | 37 logger.info("Entity saved - Time = " + (System.currentTimeMillis() - start) + ", " + entity); |
38 this.printSuccessSavingEntity(); | 38 this.printSuccessSavingEntity(); |
39 | 39 |