code: public void setTreeResource(String type, String value) {
  
          if (value == null) {
              return;
          }
          if (value.startsWith(CmsResource.VFS_FOLDER_SYSTEM + "/") && (!value.startsWith(m_currentSite))) {
              // restrict access to /system/
              value = "/";
          }
          m_treeType.put(type, value);
      }
docs: Sets the tree resource uri for the specified tree type.<p>
  
  @param type the type of the tree
  @param value the resource uri to set for the type