comparison src/main/java/de/mpiwg/itgroup/ismi/entry/beans/CurrentRepositoryBean.java @ 136:502ae5b1a07d

fixing bugs from re-use efforts. misc cleanups.
author casties
date Thu, 02 Mar 2017 19:48:58 +0100
parents 25bfcc9d757c
children
comparison
equal deleted inserted replaced
135:0183b8a09717 136:502ae5b1a07d
102 } 102 }
103 103
104 this.entity.replaceUniqueSourceRelation(this.getCityLo().getEntity(), PLACE, is_in); 104 this.entity.replaceUniqueSourceRelation(this.getCityLo().getEntity(), PLACE, is_in);
105 105
106 //REFERENCE -> is_reference_of -> THIS 106 //REFERENCE -> is_reference_of -> THIS
107 this.prepareEndNoteRefs2Save(); 107 this.saveReferences();
108 108
109 if(isSelectedSaveAsNew()){ 109 if(isSelectedSaveAsNew()){
110 //this.entity.removeAllTargetRelations(is_part_of, COLLECTION); 110 //this.entity.removeAllTargetRelations(is_part_of, COLLECTION);
111 //this.entity = getWrapper().saveEntityAsNew(this.entity, getSessionUser().getEmail()); 111 //this.entity = getWrapper().saveEntityAsNew(this.entity, getSessionUser().getEmail());
112 }else{ 112 }else{