Revision 6313
Added by ben leinfelder over 13 years ago
src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java | ||
---|---|---|
226 | 226 |
} |
227 | 227 |
|
228 | 228 |
} |
229 |
|
|
230 |
// save the sysmeta |
|
231 |
try { |
|
232 |
IdentifierManager.getInstance().createSystemMetadata(sysmeta); |
|
233 |
} catch (McdbDocNotFoundException e) { |
|
234 |
throw new ServiceFailure("1190", "Unable to save System Metadata for the object. "); |
|
235 |
} |
|
229 | 236 |
|
230 | 237 |
// setting the resulting identifier failed |
231 | 238 |
if (localId == null ) { |
232 | 239 |
throw new ServiceFailure("1190", "The Node is unable to create the object. "); |
233 | 240 |
} |
241 |
|
|
234 | 242 |
|
235 | 243 |
resultPid = pid; |
236 | 244 |
|
Also available in: Unified diff
save systemmetadata when create() is called