code: private CmsAliasTableRow createAliasTableEntry(CmsObject cms, CmsAlias alias) throws CmsException {
  
          CmsResource resource = cms.readResource(alias.getStructureId(), CmsResourceFilter.ALL);
          CmsAliasTableRow result = new CmsAliasTableRow();
          result.setStructureId(alias.getStructureId());
          result.setOriginalStructureId(alias.getStructureId());
          result.setAliasPath(alias.getAliasPath());
          result.setResourcePath(cms.getSitePath(resource));
          result.setKey((new CmsUUID()).toString());
          result.setMode(alias.getMode());
          result.setChanged(false);
          return result;
      }
docs: Creates a client alias bean from a server-side alias.<p>
  
  @param cms the current CMS context
  @param alias the alias to convert
  
  @return the alias table row
  
  @throws CmsException if something goes wrong