if (isCopySourceVCR) {
Element basicSearch = getWorkingResourceSearchElement(sourceUri);
String grammarNamespace = basicSearch.getNamespaceURI();
Search searchHelper = token.getSearchHelper();
StringBuffer requestURIWithScope = new StringBuffer(req.getContextPath());
requestURIWithScope.append(sourceUri);
SlideToken slideTokenNoEnlist = slideToken;
if (slideToken.isForceStoreEnlistment()) {
slideTokenNoEnlist = new SlideTokenWrapper(slideToken, false);
}
SearchQuery searchQuery = searchHelper.createSearchQuery(grammarNamespace,
basicSearch,
slideTokenNoEnlist,
Integer.MAX_VALUE,
requestURIWithScope.toString());
SearchQueryResult queryResult = searchHelper.search(slideTokenNoEnlist, searchQuery);
Iterator queryResultIterator = queryResult.iterator();
RequestedResource requestedResource = null;
NodeRevisionDescriptors workingResourceRevisionDescriptors = null;
NodeRevisionDescriptor workingResourceRevisionDescriptor = null;