{
Folder folder = (Folder) entry.getDocument();
entry.setDocument(getFolder(folder.getPath(), false));
if (((AbstractNode)folder).getParent(false) != null)
{
FileCacheEntry parentEntry = (FileCacheEntry)fileCache.get(((AbstractNode)folder).getParent(false).getPath());
refresh(parentEntry);
}
}
else if(entry.getDocument() instanceof Document)
{
Document doc = (Document) entry.getDocument();
if (doc.getType().equals(FolderMetaDataImpl.DOCUMENT_TYPE))
{
FileCacheEntry folderEntry = fileCache.get(((AbstractNode)doc).getParent().getPath());
refresh(folderEntry);
}
}
if(entry.getDocument() instanceof Reset)