code: public CmsCategoryTreeEntry getEntryById(CmsUUID id) {
  
          for (CmsCategoryTreeEntry entry : getFlatList()) {
              if (id.equals(entry.getId())) {
                  return entry;
              }
          }
          return null;
      }
docs: Gets the category bean by id.<p>
  
  @param id a structure id
  @return the entry with the given id, or null if no such entry was found