mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added deleteNodeProperties to AVMService interface. Fits in well with NodeService
behavior. Outline of implementation of AVMNodeService, an AVM based implementationof NodeService. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -992,6 +992,18 @@ class AVMRepository
|
||||
store.deleteNodeProperty(pathParts[1], name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete all properties on a node.
|
||||
* @param path The path to the node.
|
||||
*/
|
||||
public void deleteNodeProperties(String path)
|
||||
{
|
||||
fLookupCount.set(1);
|
||||
String [] pathParts = SplitPath(path);
|
||||
AVMStore store = getAVMStoreByName(pathParts[0]);
|
||||
store.deleteNodeProperties(pathParts[1]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a property on a store. Overwrites if property exists.
|
||||
* @param store The AVMStore.
|
||||
|
Reference in New Issue
Block a user