JcrDavException
9899100101102103104105
public MultiStatus search(SearchInfo sInfo) throws DavException { try { return queryResultToMultiStatus(getQuery(sInfo)); } catch (RepositoryException e) { throw new JcrDavException(e); } }
180181182183184185186187188189
if (itemPath != null && !getRepositorySession().itemExists(itemPath)) { try { q.storeAsNode(itemPath); } catch (RepositoryException e) { // ItemExistsException should never occur. throw new JcrDavException(e); } } return q; }
111112113114115116117118
} else { // SET: move label if already existing vh.addVersionLabel(item.getName(), labelInfo.getLabelName(), true); } } catch (RepositoryException e) { throw new JcrDavException(e); } }
135136137138139140141142
try { VersionHistory vh = getVersionHistoryItem(); DavResourceLocator loc = getLocatorFromItem(vh); return (VersionHistoryResource) createResourceFromLocator(loc); } catch (RepositoryException e) { throw new JcrDavException(e); } }
131132133134135136137138
subscription.getUuidFilters(), subscription.getNodetypeNameFilters(), subscription.isNoLocal()); } catch (RepositoryException e) { log.error("Unable to register eventlistener: "+e.getMessage()); throw new JcrDavException(e); } }
173174175176177178179180
subscriptions.remove(sId); resource.getSession().removeReference(sId); } catch (RepositoryException e) { log.error("Unable to remove eventlistener: "+e.getMessage()); throw new JcrDavException(e); } }
90919293949596979899100
if (exists()) { VersionHistory versionHistory = (VersionHistory) item; try { versionHistory.removeVersion(getItemName(member.getLocator().getRepositoryPath())); } catch (RepositoryException e) { throw new JcrDavException(e); } } else { throw new DavException(DavServletResponse.SC_NOT_FOUND); } }
117118119120121122123124
VersionResource vr = (VersionResource) createResourceFromLocator(versionLoc); l.add(vr); } return l.toArray(new VersionResource[l.size()]); } catch (RepositoryException e) { throw new JcrDavException(e); } }
293294295296297298299300
*/ void suspend() throws DavException { try { obsMgr.removeEventListener(this); } catch (RepositoryException e) { throw new JcrDavException(e); } }
307308309310311312313314
try { obsMgr.addEventListener(this, getJcrEventTypes(), getLocator().getRepositoryPath(), isDeep(), getUuidFilters(), getNodetypeNameFilters(), isNoLocal()); } catch (RepositoryException e) { throw new JcrDavException(e); } }