Purge Content cache using $locationIds and gather additional relevant cache to clear based on $contentId.
Deprecation:
in 6.5, design flaw on deleted/trashed content, use purge() when content does not exist for now.
See EZP-25696 for potential future feature to solve this.