/* (non-Javadoc) * @see org.collectionspace.services.nuxeo.client.java.DocumentModelHandler#handleCreate(org.collectionspace.services.common.document.DocumentWrapper) */ @Override public void handleCreate(DocumentWrapper<DocumentModel> wrapDoc) throws Exception { // first fill all the parts of the document, refname and short ID get set as well super.handleCreate(wrapDoc); // Ensure we have required fields set properly handleInAuthority(wrapDoc.getWrappedObject()); }
@Override public void handleCreate(DocumentWrapper<DocumentModel> wrapDoc) throws Exception { super.handleCreate(wrapDoc); // CSPACE-3178: // Uncomment once debugged and App layer is read to integrate // Experimenting with this uncommented now ... handleDisplayNameAsShortIdentifier(wrapDoc.getWrappedObject(), authorityCommonSchemaName); updateRefnameForAuthority(wrapDoc, authorityCommonSchemaName); // CSPACE-3178 }