String entityKey = "" + entityId;
String contentEntityKey = "content_" + entityId;
//cacheInstance.flushGroup("" + entityId);
//cacheInstance.flushGroup(contentEntityKey);
cacheInstance.flushGroup(entityKey);
cacheInstance.flushGroup(contentEntityKey);
try
{
if(contentTypeDefinitionId != null)
{
String contentTypeCacheKey = "selectiveCacheUpdateNonApplicable_contentTypeDefinitionId_" + contentTypeDefinitionId;