code: protected Set<CmsAlias> filterStructureId(Set<CmsAlias> aliases, Set<CmsUUID> structureIds) {
  
          Set<CmsAlias> result = new HashSet<CmsAlias>();
          for (CmsAlias alias : aliases) {
              if (structureIds.contains(alias.getStructureId())) {
                  result.add(alias);
              }
          }
          return result;
      }
docs: Filters all aliases from a set whose structure id is in a given set of structure ids.<p>
  
  @param aliases the aliases to filter
  @param structureIds the structure ids for which we want the aliases
  
  @return the filtered structure ids