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:
Britt Park
2006-07-31 16:38:39 +00:00
parent 4ab5a046c2
commit 9455745ba8
13 changed files with 1382 additions and 127 deletions

View File

@@ -893,6 +893,17 @@ class AVMStoreImpl implements AVMStore, Serializable
node.deleteProperty(name);
}
/**
* Delete all properties from a node.
* @param path The path to the node.
*/
public void deleteNodeProperties(String path)
{
Lookup lPath = lookup(-1, path, true);
AVMNode node = lPath.getCurrentNode();
node.deleteProperties();
}
/**
* Set a property on this store. Replaces if property already exists.
* @param name The QName of the property.