Revision ea7b7584
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/session/CdmEntitySessionManager.java | ||
---|---|---|
20 | 20 |
import org.apache.log4j.Logger; |
21 | 21 |
import org.springframework.stereotype.Component; |
22 | 22 |
|
23 |
import eu.etaxonomy.cdm.api.service.UpdateResult; |
|
23 | 24 |
import eu.etaxonomy.cdm.model.common.CdmBase; |
24 | 25 |
|
25 | 26 |
/** |
... | ... | |
128 | 129 |
} |
129 | 130 |
|
130 | 131 |
|
132 |
/* (non-Javadoc) |
|
133 |
* @see eu.etaxonomy.taxeditor.session.ICdmEntitySessionManager#load(eu.etaxonomy.cdm.api.service.UpdateResult, boolean) |
|
134 |
*/ |
|
135 |
@Override |
|
136 |
public UpdateResult load(UpdateResult updateResult, boolean update) { |
|
137 |
if(activeSession == null) { |
|
138 |
return updateResult; |
|
139 |
} |
|
140 |
return activeSession.load(updateResult, update); |
|
141 |
} |
|
142 |
|
|
131 | 143 |
|
132 | 144 |
/* (non-Javadoc) |
133 | 145 |
* @see eu.etaxonomy.taxeditor.session.ICdmEntitySessionManager#load(java.util.Collection) |
... | ... | |
207 | 219 |
} |
208 | 220 |
|
209 | 221 |
|
222 |
|
|
210 | 223 |
} |
211 | 224 |
|
Also available in: Unified diff
#5025 : Implement load of UpdateResult using new cdm entity identifier