Class GetPublicDmsRootFolderKeyMethod

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

public class GetPublicDmsRootFolderKeyMethod extends Object implements freemarker.template.TemplateMethodModelEx
Receives a `Public_dms_conf` as single argument, resolves the linked root folder (`relRoot_folder`) *in privileged mode* and returns its primary key as string (or null, if no folder is linked). Also see GetDocsBrowserRootFoldersMethod for the new docs-browser widget.
  • Constructor Details

    • GetPublicDmsRootFolderKeyMethod

      public GetPublicDmsRootFolderKeyMethod(SecurityManager securityManager)
  • Method Details

    • exec

      @Nullable public @Nullable String 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