Added AVM callback handlers to update the virtualization view pseudo folders when stores/versions are created or purged.

The callback handlers queue change notifications so Windows Explorer views that are open on a pseudo folder should update (most of the time).

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4595 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2006-12-13 15:40:34 +00:00
parent 62ada8ea7f
commit 4834c89f5a
4 changed files with 327 additions and 7 deletions

View File

@@ -51,6 +51,23 @@ public class StorePseudoFile extends PseudoFile {
setFileInfo( fInfo);
}
/**
* Class constructor
*
* @param storeName String
*/
public StorePseudoFile( String storeName)
{
super( storeName, FileAttribute.Directory + FileAttribute.ReadOnly);
// Create static file information from the store details
FileInfo fInfo = new FileInfo( storeName, 0L, FileAttribute.Directory + FileAttribute.ReadOnly);
fInfo.setCreationDateTime( System.currentTimeMillis());
setFileInfo( fInfo);
}
/**
* Return a network file for reading/writing the pseudo file
*