249250251252253254255256257258259
} else { // try to find it globaly bean = searchBean(getGlobalPath(), id); if (bean != null) { // add to document in order to avoid search agains addDocument(new DocumentLocal(bean)); } } doc = getDocument(id, timeout); }
329330331332333334335336
} } } public void saveGlobalBean(BasicBean bean) throws Exception { DocumentLocal doc = new DocumentLocal(bean); doc.save(getGlobalPath()); }