code: public void loadCategories(final boolean openLocalCategories, final CmsUUID openItemId) {
  
          CmsRpcAction<CmsSitemapCategoryData> action = new CmsRpcAction<CmsSitemapCategoryData>() {
  
              @Override
              public void execute() {
  
                  start(200, false);
                  getService().getCategoryData(getEntryPoint(), this);
              }
  
              @Override
              protected void onResponse(CmsSitemapCategoryData result) {
  
                  stop(false);
                  m_categoryData = result;
                  CmsSitemapView.getInstance().displayCategoryData(result, openLocalCategories, openItemId);
              }
          };
          action.execute();
      }
docs: Loads and displays the category data.<p>
  
  @param openLocalCategories true if the local category tree should be opened
  @param openItemId the id of the item to open