Set nodes = new HashSet();
if(getSourceDocument() != null) {
try {
SiteStructure sourceSite = getSourceDocument().area().getSite();
SiteStructure targetSite = getSourceDocument().getPublication()
.getArea(getTargetArea()).getSite();
nodes.add(sourceSite.getRepositoryNode());
nodes.add(targetSite.getRepositoryNode());
Document[] docs = SiteUtil.getSubSite(this.manager,
getSourceDocument().getLink().getNode()).getDocuments();
for (int i = 0; i < docs.length; i++) {
nodes.add(docs[i].getRepositoryNode());