code: public CmsAlias readAliasByPath(CmsDbContext dbc, CmsProject project, String siteRoot, String path)
      throws CmsException {
  
          List<CmsAlias> aliases = getVfsDriver(dbc).readAliases(dbc, project, new CmsAliasFilter(siteRoot, path, null));
          if (aliases.isEmpty()) {
              return null;
          } else {
              return aliases.get(0);
          }
      }
docs: Finds the alias with a given path.<p>
  
  If no alias is found, null is returned.<p>
  
  @param dbc the current database context
  @param project the current project
  @param siteRoot the site root
  @param path the path of the alias
  
  @return the alias with the given path
  
  @throws CmsException if something goes wrong