code: public void loadGalleries() {
  
          CmsRpcAction<Map<CmsGalleryType, List<CmsGalleryFolderEntry>>> action = new CmsRpcAction<Map<CmsGalleryType, List<CmsGalleryFolderEntry>>>() {
  
              @Override
              public void execute() {
  
                  start(500, false);
                  getService().getGalleryData(m_data.getRoot().getSitePath(), this);
              }
  
              @Override
              protected void onResponse(Map<CmsGalleryType, List<CmsGalleryFolderEntry>> result) {
  
                  storeGalleryTypes(result.keySet());
                  CmsSitemapView.getInstance().displayGalleries(result);
                  stop(false);
              }
          };
          action.execute();
      }
docs: Loads all available galleries for the current sub site.<p>