private Map<String, List<UGCAudit>> flatAuditsByTarget(List<UGCAudit> listUGCAudit) {
   List<UGCAudit> lua;
   Map<String, List<UGCAudit>> targetIdUGCAuditMap = new HashMap<String, List<UGCAudit>>();
   // flatten audits by target
   for (UGCAudit current : listUGCAudit) {
     lua = targetIdUGCAuditMap.get(current.getTarget().getTargetId());
     if (lua == null) {
       lua = new ArrayList<UGCAudit>();
       targetIdUGCAuditMap.put(current.getTarget().getTargetId(), lua);
     }
     lua.add(current);
   }
   return targetIdUGCAuditMap;
 }
 private Event createEvent(UGCAudit currentAudit, Profile actionOwner) {
   Event event = new Event();
   event.setAction(currentAudit.getAction());
   event.setProfile(actionOwner);
   event.setTarget(currentAudit.getTarget());
   event.setUgcId(currentAudit.getUgcId());
   event.setTenantName(currentAudit.getTenant());
   event.setAuditDate(currentAudit.getCreatedDate());
   return event;
 }