mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added two more special purpose calls, to improve flatten performance from
rotten to ok. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -696,4 +696,21 @@ public interface AVMService
|
||||
* @param child The child node to link.
|
||||
*/
|
||||
public void link(AVMNodeDescriptor parent, String name, AVMNodeDescriptor child);
|
||||
|
||||
/**
|
||||
* Flatten a direct child of a layered directory. This does
|
||||
* the equivalent of removing the given child from the directory
|
||||
* and then doing an uncover. This routine makes many dangerous
|
||||
* assumptions and is only for use by AVMSyncService. Don't use it
|
||||
* if you don't know precisely what you are doing.
|
||||
* @param lDir The layered directory node.
|
||||
* @param name The name to flatten.
|
||||
*/
|
||||
public void flatten(AVMNodeDescriptor lDir, String name);
|
||||
|
||||
/**
|
||||
* Force copy on write of a path.
|
||||
* @param path The path to force.
|
||||
*/
|
||||
public void forceCopy(String path);
|
||||
}
|
||||
|
Reference in New Issue
Block a user