FederatedRequest federatedRequest = new FederatedRequest(request);
while (projectedNode != null) {
if (projectedNode.isPlaceholder()) {
PlaceholderNode placeholder = projectedNode.asPlaceholder();
// Create a request and set the results ...
VerifyNodeExistsRequest placeholderRequest = new VerifyNodeExistsRequest(root, workspace.getName());
placeholderRequest.setActualLocationOfNode(placeholder.location());
federatedRequest.add(placeholderRequest, true, true, null);
} else if (projectedNode.isProxy()) {
ProxyNode proxy = projectedNode.asProxy();
// Create and submit a request for the projection ...
VerifyNodeExistsRequest pushDownRequest = new VerifyNodeExistsRequest(proxy.location(), proxy.workspaceName());
federatedRequest.add(pushDownRequest, proxy.isSameLocationAsOriginal(), false, proxy.projection());
}
projectedNode = projectedNode.next();
}
// Submit for processing ...