/** * This file is auto generated from JavaDoc. Do not modify it manually. */ import type { Node } from "../../types/javax/jcr/Node"; import type { String } from "../../types/java/lang/String"; import type { List } from "../../types/java/util/List"; /** * Collaboration group template utility interface that handles nodes with primary node type sv:collaborationGroupTemplate. * *

* An instance of the Sitevision class implementing this interface can be obtained via * {@link CollaborationFactory#getCollaborationGroupTemplateUtil()}. * See {@link CollaborationFactory} for how to obtain an instance of the CollaborationFactory interface. *

* @author Magnus Lövgren * @since Sitevision 3.6.4 * @see senselogic.sitevision.api.resource.TemplateUtil */ export interface CollaborationGroupTemplateUtil { /** * Gets the default collaboration group template. * *

* The default collaboration group template is the template that are used by default to create new * collaboration groups (i.e. collaboration group pages). *

*

* Permission note! Current user must have {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ} * on default collaboration group template. *

* @return the default collaboration group template, or null if indeterminable */ getDefaultCollaborationGroupTemplate(): Node; /** * Gets the first found collaboration group template that matches a given name. * *

* Permission note! Only collaboration group templates that current user has * {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ} on will be considered. *

* @param aCollaborationGroupTemplateName name of the template * @return a collaboration group template, or null if indeterminable (e.g. no accessible collaboration group template named aCollaborationGroupTemplateName could be found) * @since Sitevision 4.1 */ getCollaborationGroupTemplateByName( aCollaborationGroupTemplateName: String | string ): Node; /** * Gets all collaboration group templates. * *

* Permission note! The list will only contain collaboration group templates that current user has * {@link senselogic.sitevision.api.security.PermissionUtil.Permission#READ} on. *

* @return all collaboration group templates, or empty list if there are no accessible collaboration group templates. * @since Sitevision 4.1 */ getCollaborationGroupTemplates(): List; } declare namespace CollaborationGroupTemplateUtil {} declare var collaborationGroupTemplateUtil: CollaborationGroupTemplateUtil; export default collaborationGroupTemplateUtil;