if (backendDoc != null) {
BackendBridge.setNoRecycle(backendDoc.getParentDatabase().getParent(), backendDoc, true);
}
DominoDocument dominoDoc = DominoDocument.wrap(getDatabaseName(), backendDoc, getComputeWithForm(), getConcurrencyMode(),
allowDelted, getSaveLinksAs(), getWebQuerySaveAgent());
OpenntfDominoDocument ntfDoc = wrap(dominoDoc, false);
boolean editMode = "editDocument".equals(getEffectiveAction());
ntfDoc.setEditable(editMode);
return ntfDoc;