/** {@inheritDoc} */
  public List<SynonymGroup> findDependentObjects(final long primaryObjectUid) {
    if (getFilter().isFiltered(primaryObjectUid)) {
      return getByCatalog(primaryObjectUid);
    }

    List<SynonymGroup> resultList = new ArrayList<SynonymGroup>();

    Iterator<Long> iter =
        getContext().getDependencyRegistry().getDependentUids(SynonymGroup.class).iterator();
    while (iter.hasNext()) {
      final Long uid = iter.next();
      SynonymGroup skuOption = (SynonymGroup) sysnonymGroupService.getObject(uid);
      if (skuOption.getCatalog().getUidPk() == primaryObjectUid) {
        resultList.add(skuOption);
        iter.remove();
      }
    }
    return resultList;
  }
 private List<SynonymGroup> getByCatalog(final long primaryObjectUid) {
   return new ArrayList<SynonymGroup>(
       sysnonymGroupService.findAllSynonymGroupForCatalog(primaryObjectUid));
 }