Another pair of convenience methods for AttributeService:

removeEntries, which removes map entries by query.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-05-29 19:17:04 +00:00
parent aa046ff09b
commit 0ea69ac954
9 changed files with 127 additions and 2 deletions

View File

@@ -280,4 +280,22 @@ public class AttributeServiceTransportService implements
fAuthService.validate(ticket);
fService.setAttributes(path, entries);
}
/* (non-Javadoc)
* @see org.alfresco.service.cmr.remote.AttributeServiceTransport#removeEntries(java.lang.String, java.util.List, org.alfresco.service.cmr.attributes.AttrQuery)
*/
public void removeEntries(String ticket, List<String> keys, AttrQuery query)
{
fAuthService.validate(ticket);
fService.removeEntries(keys, query);
}
/* (non-Javadoc)
* @see org.alfresco.service.cmr.remote.AttributeServiceTransport#removeEntries(java.lang.String, java.lang.String, org.alfresco.service.cmr.attributes.AttrQuery)
*/
public void removeEntries(String ticket, String path, AttrQuery query)
{
fAuthService.validate(ticket);
fService.removeEntries(path, query);
}
}