ResourceKind resourceKind = AbstractResourceKind.determineResourceKind(nsaToken, revisionDescriptors, revisionDescriptor);
if (resourceKind instanceof Workspace) {
SlideToken sTokenNoEnlist = sToken;
if (sToken.isForceStoreEnlistment()) {
sTokenNoEnlist = new SlideTokenWrapper(sToken, false);
}
Element basicSearch = getWorkspaceCheckoutSetQueryElement(revisionDescriptors.getUri());
String grammarNamespace = basicSearch.getNamespaceURI();
Search searchHelper = nsaToken.getSearchHelper();