Copyright© 2008-2025 Sitevision AB, all rights reserved.
@Requireable(value="CollaborationGroupFolderUtil") public interface CollaborationGroupFolderUtil
sv:collaborationGroupFolder.
An instance of the Sitevision class implementing this interface can be obtained via
CollaborationFactory.getCollaborationGroupFolderUtil().
See CollaborationFactory for how to obtain an instance of the CollaborationFactory interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCollaborationGroup(Node aCollaborationGroupFolder,
String aGroupName)
Whether or not a collaboration group folder already contains a named collaboration group.
|
Node |
createCollaborationGroupFolder(Node aParent,
String aGroupFolderName)
Creates a collaboration group folder.
|
Node |
getDefaultCollaborationGroupFolder()
Gets the default collaboration group folder.
|
Node getDefaultCollaborationGroupFolder()
The default collaboration group folder is the folder where new collaboration groups (i.e. collaboration group pages) are created by default.
null if indeterminableboolean containsCollaborationGroup(Node aCollaborationGroupFolder, String aGroupName) throws RepositoryException
aCollaborationGroupFolder - the collaboration group folderaGroupName - the name of the collaboration grouptrue if aCollaborationGroupFolder contains (case ignored) a group named aGroupName,
false otherwiseNullPointerException - if aCollaborationGroupFolder or aGroupName is nullRepositoryException - if aCollaborationGroupFolder is not a collaboration folderNode createCollaborationGroupFolder(Node aParent, String aGroupFolderName) throws ConstraintViolationException, RepositoryException
Permission note! Current user must have
PermissionUtil.Permission.CREATE_COLLABORATION_GROUP_FOLDER
on the parent where the collaboration group folder is created.
aParent - the parent node of the sv:collaborationGroupFolder. May not be nullaGroupFolderName - the name of the collaboration group folder. May not be null or whitespace-onlyNullPointerException - if aParent or aGroupFolderName is nullIllegalArgumentException - if aGroupFolderName is whitespace onlyConstraintViolationException - if social collaboration is not enabled on the site of aParent,
if aParent is of invalid type, or if current user is not authorized to create the collaboration group folderRepositoryException - if something else goes wrongSitevision - Content Management Made Easy
Sitevision is an advanced Java enterprise portal product that implements Java Content Repository (JSR 283).
Copyright© 2008-2025 Sitevision AB, all rights reserved.