code: private List<CmsCategoryBean> getCategoryList() {
  
          List<CmsCategoryBean> result = new ArrayList<CmsCategoryBean>();
          categoryTreeToList(result, m_dialogBean.getCategories());
          return result;
      }
docs: Gets the list of categories.<p>
  
  @return a list of category beans