Class GetDocsBrowserRootFoldersMethod

java.lang.Object
ch.tocco.nice2.dms.impl.tree.ui.GetDocsBrowserRootFoldersMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class GetDocsBrowserRootFoldersMethod extends Object implements freemarker.template.TemplateMethodModelEx
Receives a `Docs_browser_conf` as single argument, resolves the linked root folders (`relRoot_folder`) *in privileged mode* and returns their primary keys as string along with a boolean flag whether it's an entity document folder or not.

Also see GetPublicDmsRootFolderKeyMethod for the legacy public DMS widget.

  • Constructor Details

  • Method Details

    • exec

      @Nullable public @Nullable List<GetDocsBrowserRootFoldersMethod.FolderBean> exec(List params) throws freemarker.template.TemplateModelException
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx
      Throws:
      freemarker.template.TemplateModelException