Added deleteProperty to service interface.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3375 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-07-21 16:31:36 +00:00
parent 2e3e8f4ad2
commit f15c1b4cc6
10 changed files with 105 additions and 0 deletions

View File

@@ -878,4 +878,16 @@ public class AVMStoreImpl implements AVMStore, Serializable
AVMNode node = lPath.getCurrentNode();
return node.getProperties();
}
/**
* Delete a single property from a node.
* @param path The path to the node.
* @param name The name of the property.
*/
public void deleteProperty(String path, QName name)
{
Lookup lPath = lookup(-1, path, true);
AVMNode node = lPath.getCurrentNode();
node.deleteProperty(name);
}
}