Uses of Class
org.opencms.file.CmsGroup
Package
Description
Contains server side classes for the XML content editor.
Low-level database connection and access functionality.
Generic (ANSI-SQL) implementation of the OpenCms database connector.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
Contains functions to import and export resources from the OpenCms VFS.
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
Contains functions to monitor the OpenCms system status.
Access control and security classes for the OpenCms ACL permission system.
General code for the Vaadin UI.
Contains classes of the user manager app.
-
Uses of CmsGroup in org.opencms.ade.contenteditor
Modifier and TypeMethodDescriptionCmsAccessRestrictionInfo.getGroup()
Gets the restriction group.ModifierConstructorDescriptionCmsAccessRestrictionInfo
(String path, CmsGroup group) Creates a new instance. -
Uses of CmsGroup in org.opencms.db
Modifier and TypeMethodDescriptionCmsDriverManager.createGroup
(CmsDbContext dbc, CmsUUID id, String name, String description, int flags, String parent) Add a new group to the Cms.CmsSecurityManager.createGroup
(CmsRequestContext context, String name, String description, int flags, String parent) Creates a new user group.I_CmsUserDriver.createGroup
(CmsDbContext dbc, CmsUUID groupId, String groupFqn, String description, int flags, String parentGroupName) Creates a new group.CmsDriverManager.getParent
(CmsDbContext dbc, String groupname) Returns the parent group of a group.CmsSecurityManager.getParent
(CmsRequestContext context, String groupname) Returns the parent group of a group.CmsDriverManager.readGroup
(CmsDbContext dbc, String groupname) Reads a group based on its name.CmsDriverManager.readGroup
(CmsDbContext dbc, CmsProject project) Reads the group of a project.CmsDriverManager.readGroup
(CmsDbContext dbc, CmsUUID groupId) Reads a group based on its id.CmsSecurityManager.readGroup
(CmsRequestContext context, String groupname) Reads a group based on its name.CmsSecurityManager.readGroup
(CmsRequestContext context, CmsProject project) Reads the group of a project.CmsSecurityManager.readGroup
(CmsRequestContext context, CmsUUID groupId) Reads a group based on its id.I_CmsUserDriver.readGroup
(CmsDbContext dbc, String groupFqn) Reads a group based on the group name.I_CmsUserDriver.readGroup
(CmsDbContext dbc, CmsUUID groupId) Reads a group based on the group id.CmsDriverManager.readManagerGroup
(CmsDbContext dbc, CmsProject project) Reads the manager group of a project.CmsSecurityManager.readManagerGroup
(CmsRequestContext context, CmsProject project) Reads the manager group of a project.Modifier and TypeMethodDescriptionCmsDriverManager.getChildren
(CmsDbContext dbc, CmsGroup group, boolean includeSubChildren) Returns all child groups of a group.CmsSecurityManager.getChildren
(CmsRequestContext context, String groupname, boolean includeSubChildren) Returns all child groups of a group.CmsDriverManager.getGroups
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles) Returns all groups of the given organizational unit.CmsSecurityManager.getGroups
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles) Returns all groups of the given organizational unit.CmsSubscriptionFilter.getGroups()
Returns the groups to check subscribed resources for.I_CmsUserDriver.getGroups
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles) Returns all groups of the given organizational unit.CmsDriverManager.getGroupsOfUser
(CmsDbContext dbc, String username, boolean readRoles) Returns the groups of an user filtered by the specified IP address.CmsDriverManager.getGroupsOfUser
(CmsDbContext dbc, String username, String ouFqn, boolean includeChildOus, boolean readRoles, boolean directGroupsOnly, String remoteAddress) Returns the groups of an user filtered by the specified IP address.CmsSecurityManager.getGroupsOfUser
(CmsRequestContext context, String username, String ouFqn, boolean includeChildOus, boolean readRoles, boolean directGroupsOnly, String remoteAddress) Returns the list of groups to which the user directly belongs to.CmsDriverManager.getRoleGroups
(CmsDbContext dbc, String roleGroupName, boolean directUsersOnly) Collects the groups which constitute a given role.CmsSecurityManager.getRoleGroups
(CmsRequestContext context, CmsRole role, boolean directUsersOnly) Gets the groups which constitute a given role.CmsDriverManager.getRoleGroupsImpl
(CmsDbContext dbc, String roleGroupName, boolean directUsersOnly, Map<String, Set<CmsGroup>> accumulator) Collects the groups which constitute a given role.I_CmsUserDriver.readChildGroups
(CmsDbContext dbc, String groupFqn) Reads all child groups of a group.I_CmsUserDriver.readGroupsOfUser
(CmsDbContext dbc, CmsUUID userId, String ouFqn, boolean includeChildOus, String remoteAddress, boolean readRoles) Reads all groups the given user is a member in.Modifier and TypeMethodDescriptionvoid
Adds a group to the list of groups to check subscribed resources for.I_CmsProjectDriver.createProject
(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, String name, String description, int flags, CmsProject.CmsProjectType type) Creates a new project.void
CmsDriverManager.deleteGroup
(CmsDbContext dbc, CmsGroup group, CmsUUID replacementId) Deletes a group, where all permissions, users and children of the group are transfered to a replacement group.CmsCacheKey.getCacheKeyForGroupUsers
(String prefix, CmsDbContext context, CmsGroup group) I_CmsCacheKey.getCacheKeyForGroupUsers
(String prefix, CmsDbContext context, CmsGroup group) Returns the cache key for the group users cache.CmsDriverManager.getChildren
(CmsDbContext dbc, CmsGroup group, boolean includeSubChildren) Returns all child groups of a group.I_CmsProjectDriver.readProjectsForGroup
(CmsDbContext dbc, CmsGroup group) Returns all projects, which are accessible by a group.I_CmsProjectDriver.readProjectsForManagerGroup
(CmsDbContext dbc, CmsGroup group) Returns all projects, which are manageable by a group.void
CmsSecurityManager.setRestricted
(CmsRequestContext context, CmsResource resource, CmsGroup group, boolean restricted) Sets/clears the 'restricted' status for the given resource and group.void
CmsDriverManager.writeGroup
(CmsDbContext dbc, CmsGroup group) Writes an already existing group.void
CmsSecurityManager.writeGroup
(CmsRequestContext context, CmsGroup group) Writes an already existing group.void
I_CmsUserDriver.writeGroup
(CmsDbContext dbc, CmsGroup group) Writes an already existing group.Modifier and TypeMethodDescriptionCmsDriverManager.getRoleGroupsImpl
(CmsDbContext dbc, String roleGroupName, boolean directUsersOnly, Map<String, Set<CmsGroup>> accumulator) Collects the groups which constitute a given role.protected boolean
Returnstrue
if at least one of the given group names is equal to a group name of the given role in the given organizational unit.CmsDriverManager.readSubscribedDeletedResources
(CmsDbContext dbc, String poolName, CmsUser user, List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom) Returns the subscribed history resources that were deleted.CmsSecurityManager.readSubscribedDeletedResources
(CmsRequestContext context, String poolName, CmsUser user, List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom) Returns the subscribed history resources that were deleted.I_CmsSubscriptionDriver.readSubscribedDeletedResources
(CmsDbContext dbc, String poolName, CmsUser user, List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom) Returns the subscribed history resources that were deleted.void
Sets the groups to check subscribed resources for. -
Uses of CmsGroup in org.opencms.db.generic
Modifier and TypeMethodDescriptionCmsUserDriver.createGroup
(CmsDbContext dbc, CmsUUID groupId, String groupFqn, String description, int flags, String parentGroupFqn) protected CmsGroup
CmsUserDriver.internalCreateGroup
(ResultSet res) Semi-constructor to create aCmsGroup
instance from a JDBC result set.CmsUserDriver.readGroup
(CmsDbContext dbc, String groupFqn) CmsUserDriver.readGroup
(CmsDbContext dbc, CmsUUID groupId) Modifier and TypeMethodDescriptionCmsUserDriver.getGroups
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles) CmsUserDriver.readChildGroups
(CmsDbContext dbc, String parentGroupFqn) CmsUserDriver.readGroupsOfUser
(CmsDbContext dbc, CmsUUID userId, String ouFqn, boolean includeChildOus, String remoteAddress, boolean readRoles) Modifier and TypeMethodDescriptionCmsProjectDriver.createProject
(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, String projectFqn, String description, int flags, CmsProject.CmsProjectType type) CmsProjectDriver.readProjectsForGroup
(CmsDbContext dbc, CmsGroup group) CmsProjectDriver.readProjectsForManagerGroup
(CmsDbContext dbc, CmsGroup group) void
CmsUserDriver.writeGroup
(CmsDbContext dbc, CmsGroup group) Modifier and TypeMethodDescriptionCmsSubscriptionDriver.readSubscribedDeletedResources
(CmsDbContext dbc, String poolName, CmsUser user, List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom) -
Uses of CmsGroup in org.opencms.file
Modifier and TypeMethodDescriptionCmsObject.createGroup
(String groupFqn, String description, int flags, String parent) Creates a new user group.CmsUserSearchParameters.getGroup()
Returns the group such that users which are not in the group will be filtered out.CmsUserSearchParameters.getNotGroup()
Returns the group such that users not in that group will be filtered out.Returns the parent group of a group.Reads a group based on its name.CmsObject.readGroup
(CmsProject project) Reads the group of a project.Reads a group based on its id.CmsObject.readManagerGroup
(CmsProject project) Returns the project manager group of a project.Modifier and TypeMethodDescriptionCmsUserSearchParameters.getAnyGroups()
Returns the collection of groups such that returned users must be in at least one of them.CmsObject.getChildren
(String groupname, boolean includeSubChildren) Returns all child groups of a group.CmsObject.getGroupsOfUser
(String username, boolean directGroupsOnly) Returns all the groups the given user belongs to.CmsObject.getGroupsOfUser
(String username, boolean directGroupsOnly, boolean includeOtherOus) Returns all the groups the given user belongs to.CmsObject.getGroupsOfUser
(String username, boolean directGroupsOnly, boolean includeOtherOus, String remoteAddress) Returns the groups of a user filtered by the specified IP address.CmsUserSearchParameters.getNotAnyGroups()
Returns the groups whose users may not appear in the search results.Modifier and TypeMethodDescriptionvoid
Sets the group such that users which are not in the group will be filtered out.void
CmsUserSearchParameters.setNotGroup
(CmsGroup group) Sets the group such that users not in that group will be filtered out.void
CmsObject.writeGroup
(CmsGroup group) Writes an already existing group.Modifier and TypeMethodDescriptionvoid
CmsUserSearchParameters.setAnyGroups
(Collection<CmsGroup> anyGroups) Sets the groups such that returned users must be in at least one of them.void
CmsUserSearchParameters.setNotAnyGroups
(Collection<CmsGroup> groups) Sets the groups whose users may not appear in the search results. -
Uses of CmsGroup in org.opencms.importexport
Modifier and TypeMethodDescriptionprotected void
CmsExport.exportGroup
(org.dom4j.Element parent, CmsGroup group) Exports one single group with all it's data. -
Uses of CmsGroup in org.opencms.jsp
Modifier and TypeMethodDescriptionprotected static String
CmsJspTagUserTracking.generateSessionKey
(String prefix, String fileName, boolean subFolder, CmsUser user, List<CmsGroup> groups) Returns a unique session key depending on the values of the given parameters.protected static boolean
CmsJspTagUserTracking.isResourceSubscribed
(CmsObject cms, String fileName, boolean subFolder, CmsUser user, List<CmsGroup> groups, javax.servlet.http.HttpServletRequest req) Returns if the given resource is subscribed to the user or groups. -
Uses of CmsGroup in org.opencms.monitor
Modifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedGroup
(String key) Returns the group cached with the given cache key ornull
if not found.Modifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedUserGroups
(CmsUUID userId, String key) Returns the user groups list cached with the given cache key ornull
if not found.Gets the cached user groups for the given combination of keys, or null if nothing is cached.Modifier and TypeMethodDescriptionvoid
CmsMemoryMonitor.cacheGroup
(CmsGroup group) Caches the given group under its id AND fully qualified name.void
CmsMemoryMonitor.uncacheGroup
(CmsGroup group) Removes the given group from the cache. -
Uses of CmsGroup in org.opencms.security
Modifier and TypeMethodDescriptionCmsPrincipal.filterCoreGroups
(List<CmsGroup> groups) Filters out all groups with flags greater than
.I_CmsPrincipal.FLAG_CORE_LIMIT
Returns all groups of the given organizational unit.CmsRoleManager.getManageableGroups
(CmsObject cms, String ouFqn, boolean includeSubOus) Returns all groups of organizational units for which the current user has theCmsRole.ACCOUNT_MANAGER
role.CmsRoleManager.getRoleGroups
(CmsObject cms, CmsRole role, boolean directUsersOnly) Returns the groups which constitute a given role, i.e.Modifier and TypeMethodDescriptionCmsPrincipal.filterCoreGroups
(List<CmsGroup> groups) Filters out all groups with flags greater than
.I_CmsPrincipal.FLAG_CORE_LIMIT
Calculates the permissions of the given user and his groups from the access control list.Calculates the permissions of the given user and his groups from the access control list. -
Uses of CmsGroup in org.opencms.ugc
Modifier and TypeMethodDescriptionCmsUgcConfiguration.getProjectGroup()
Returns the group which should be used as the manager groups for projects based on this configuration.ModifierConstructorDescriptionCmsUgcConfiguration
(CmsUUID id, com.google.common.base.Optional<CmsUser> userForGuests, CmsGroup projectGroup, String resourceType, CmsResource contentParentFolder, String namePattern, Locale locale, com.google.common.base.Optional<CmsResource> uploadParent, com.google.common.base.Optional<Long> maxUploadSize, com.google.common.base.Optional<Integer> maxContents, com.google.common.base.Optional<Long> queueTimeout, com.google.common.base.Optional<Integer> maxQueueLength, boolean autoPublish, com.google.common.base.Optional<List<String>> validExtensions) Creates a new form configuration. -
Uses of CmsGroup in org.opencms.ui
Modifier and TypeMethodDescriptionstatic com.vaadin.v7.data.util.IndexedContainer
CmsVaadinUtils.getAvailableGroupsContainerWithout
(CmsObject cms, String ouFqn, String propCaption, String propIcon, String propOu, List<CmsGroup> blackList, Function<CmsGroup, CmsCssIcon> iconProvider) Get all groups with blacklist.static com.vaadin.v7.data.util.IndexedContainer
CmsVaadinUtils.getAvailableGroupsContainerWithout
(CmsObject cms, String ouFqn, String propCaption, String propIcon, String propOu, List<CmsGroup> blackList, Function<CmsGroup, CmsCssIcon> iconProvider) Get all groups with blacklist.static com.vaadin.v7.data.util.IndexedContainer
CmsVaadinUtils.getGroupsOfUser
(CmsObject cms, CmsUser user, String caption, String iconProp, String ou, String propStatus, com.google.common.base.Function<CmsGroup, CmsCssIcon> iconProvider) Gets container with alls groups of a certain user. -
Uses of CmsGroup in org.opencms.ui.apps.user
Modifier and TypeMethodDescriptionCmsAccountsApp.readGroupsForOu
(CmsObject cms, String ou, I_CmsOuTreeType type, boolean subOus) Reads the list of groups for an organizational unit.Modifier and TypeMethodDescriptionvoid
CmsAccountsApp.fillGroupItem
(com.vaadin.v7.data.Item item, CmsGroup group, List<CmsGroup> indirects) Fills the container item representing a group.void
CmsGroupTable.fillGroupItem
(com.vaadin.v7.data.Item item, CmsGroup group, List<CmsGroup> indirects) Fills the container item representing a group.CmsAccountsApp.getGroupEditParameters
(CmsGroup group) Gets the group edit parameters for a given group.CmsAccountsApp.getGroupIcon
(CmsGroup group) Gets the icon for a group.Modifier and TypeMethodDescriptionvoid
CmsAccountsApp.fillGroupItem
(com.vaadin.v7.data.Item item, CmsGroup group, List<CmsGroup> indirects) Fills the container item representing a group.void
CmsGroupTable.fillGroupItem
(com.vaadin.v7.data.Item item, CmsGroup group, List<CmsGroup> indirects) Fills the container item representing a group.com.vaadin.v7.data.util.IndexedContainer
CmsAccountsApp.getAvailableGroupsContainerWithout
(CmsObject cms, String ouFqn, String propCaption, String propIcon, String propOu, List<CmsGroup> groupsOfUser, Function<CmsGroup, CmsCssIcon> iconProvider) Gets a data container for the groups available to be added to a user, excluding some groups.com.vaadin.v7.data.util.IndexedContainer
CmsAccountsApp.getAvailableGroupsContainerWithout
(CmsObject cms, String ouFqn, String propCaption, String propIcon, String propOu, List<CmsGroup> groupsOfUser, Function<CmsGroup, CmsCssIcon> iconProvider) Gets a data container for the groups available to be added to a user, excluding some groups.void
Init method.