Package ch.tocco.nice2.dms.impl.tree.ui
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.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ConstructorDescriptionGetDocsBrowserRootFoldersMethod
(SecurityManager securityManager, EntityDocumentsService entityDocumentsService) -
Method Summary
-
Constructor Details
-
GetDocsBrowserRootFoldersMethod
public GetDocsBrowserRootFoldersMethod(SecurityManager securityManager, EntityDocumentsService entityDocumentsService)
-
-
Method Details
-
exec
@Nullable public @Nullable List<GetDocsBrowserRootFoldersMethod.FolderBean> exec(List params) throws freemarker.template.TemplateModelException - Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
-