Uses of Class
org.opencms.file.CmsGroup
-
Packages that use CmsGroup Package Description org.opencms.ade.contenteditor Contains server side classes for the XML content editor.org.opencms.db Low-level database connection and access functionality.org.opencms.db.generic Generic (ANSI-SQL) implementation of the OpenCms database connector.org.opencms.file This important package provides the methods to access the OpenCms VFS repository with the permissions of an authenticated user.org.opencms.importexport Contains functions to import and export resources from the OpenCms VFS.org.opencms.jsp The implementation of the OpenCms JSP tag library, with some additional utility classes to help in JSP scriplet code and navigation building.org.opencms.monitor Contains functions to monitor the OpenCms system status.org.opencms.security Access control and security classes for the OpenCms ACL permission system.org.opencms.ugc org.opencms.ui General code for the Vaadin UI.org.opencms.ui.apps.user Contains classes of the user manager app. -
-
Uses of CmsGroup in org.opencms.ade.contenteditor
Methods in org.opencms.ade.contenteditor that return CmsGroup Modifier and Type Method Description CmsGroup
CmsAccessRestrictionInfo. getGroup()
Gets the restriction group.Constructors in org.opencms.ade.contenteditor with parameters of type CmsGroup Constructor Description CmsAccessRestrictionInfo(java.lang.String path, CmsGroup group)
Creates a new instance. -
Uses of CmsGroup in org.opencms.db
Methods in org.opencms.db that return CmsGroup Modifier and Type Method Description CmsGroup
CmsDriverManager. createGroup(CmsDbContext dbc, CmsUUID id, java.lang.String name, java.lang.String description, int flags, java.lang.String parent)
Add a new group to the Cms.CmsGroup
CmsSecurityManager. createGroup(CmsRequestContext context, java.lang.String name, java.lang.String description, int flags, java.lang.String parent)
Creates a new user group.CmsGroup
I_CmsUserDriver. createGroup(CmsDbContext dbc, CmsUUID groupId, java.lang.String groupFqn, java.lang.String description, int flags, java.lang.String parentGroupName)
Creates a new group.CmsGroup
CmsDriverManager. getParent(CmsDbContext dbc, java.lang.String groupname)
Returns the parent group of a group.CmsGroup
CmsSecurityManager. getParent(CmsRequestContext context, java.lang.String groupname)
Returns the parent group of a group.CmsGroup
CmsDriverManager. readGroup(CmsDbContext dbc, java.lang.String groupname)
Reads a group based on its name.CmsGroup
CmsDriverManager. readGroup(CmsDbContext dbc, CmsProject project)
Reads the group of a project.CmsGroup
CmsDriverManager. readGroup(CmsDbContext dbc, CmsUUID groupId)
Reads a group based on its id.CmsGroup
CmsSecurityManager. readGroup(CmsRequestContext context, java.lang.String groupname)
Reads a group based on its name.CmsGroup
CmsSecurityManager. readGroup(CmsRequestContext context, CmsProject project)
Reads the group of a project.CmsGroup
CmsSecurityManager. readGroup(CmsRequestContext context, CmsUUID groupId)
Reads a group based on its id.CmsGroup
I_CmsUserDriver. readGroup(CmsDbContext dbc, java.lang.String groupFqn)
Reads a group based on the group name.CmsGroup
I_CmsUserDriver. readGroup(CmsDbContext dbc, CmsUUID groupId)
Reads a group based on the group id.CmsGroup
CmsDriverManager. readManagerGroup(CmsDbContext dbc, CmsProject project)
Reads the manager group of a project.CmsGroup
CmsSecurityManager. readManagerGroup(CmsRequestContext context, CmsProject project)
Reads the manager group of a project.Methods in org.opencms.db that return types with arguments of type CmsGroup Modifier and Type Method Description java.util.List<CmsGroup>
CmsDriverManager. getChildren(CmsDbContext dbc, CmsGroup group, boolean includeSubChildren)
Returns all child groups of a group.java.util.List<CmsGroup>
CmsSecurityManager. getChildren(CmsRequestContext context, java.lang.String groupname, boolean includeSubChildren)
Returns all child groups of a group.java.util.List<CmsGroup>
CmsDriverManager. getGroups(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles)
Returns all groups of the given organizational unit.java.util.List<CmsGroup>
CmsSecurityManager. getGroups(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles)
Returns all groups of the given organizational unit.java.util.List<CmsGroup>
CmsSubscriptionFilter. getGroups()
Returns the groups to check subscribed resources for.java.util.List<CmsGroup>
I_CmsUserDriver. getGroups(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles)
Returns all groups of the given organizational unit.java.util.List<CmsGroup>
CmsDriverManager. getGroupsOfUser(CmsDbContext dbc, java.lang.String username, boolean readRoles)
Returns the groups of an user filtered by the specified IP address.java.util.List<CmsGroup>
CmsDriverManager. getGroupsOfUser(CmsDbContext dbc, java.lang.String username, java.lang.String ouFqn, boolean includeChildOus, boolean readRoles, boolean directGroupsOnly, java.lang.String remoteAddress)
Returns the groups of an user filtered by the specified IP address.java.util.List<CmsGroup>
CmsSecurityManager. getGroupsOfUser(CmsRequestContext context, java.lang.String username, java.lang.String ouFqn, boolean includeChildOus, boolean readRoles, boolean directGroupsOnly, java.lang.String remoteAddress)
Returns the list of groups to which the user directly belongs to.java.util.Set<CmsGroup>
CmsDriverManager. getRoleGroups(CmsDbContext dbc, java.lang.String roleGroupName, boolean directUsersOnly)
Collects the groups which constitute a given role.java.util.Set<CmsGroup>
CmsSecurityManager. getRoleGroups(CmsRequestContext context, CmsRole role, boolean directUsersOnly)
Gets the groups which constitute a given role.java.util.Set<CmsGroup>
CmsDriverManager. getRoleGroupsImpl(CmsDbContext dbc, java.lang.String roleGroupName, boolean directUsersOnly, java.util.Map<java.lang.String,java.util.Set<CmsGroup>> accumulator)
Collects the groups which constitute a given role.java.util.List<CmsGroup>
I_CmsUserDriver. readChildGroups(CmsDbContext dbc, java.lang.String groupFqn)
Reads all child groups of a group.java.util.List<CmsGroup>
I_CmsUserDriver. readGroupsOfUser(CmsDbContext dbc, CmsUUID userId, java.lang.String ouFqn, boolean includeChildOus, java.lang.String remoteAddress, boolean readRoles)
Reads all groups the given user is a member in.Methods in org.opencms.db with parameters of type CmsGroup Modifier and Type Method Description void
CmsSubscriptionFilter. addGroup(CmsGroup group)
Adds a group to the list of groups to check subscribed resources for.CmsProject
I_CmsProjectDriver. createProject(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, java.lang.String name, java.lang.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.java.lang.String
CmsCacheKey. getCacheKeyForGroupUsers(java.lang.String prefix, CmsDbContext context, CmsGroup group)
java.lang.String
I_CmsCacheKey. getCacheKeyForGroupUsers(java.lang.String prefix, CmsDbContext context, CmsGroup group)
Returns the cache key for the group users cache.java.util.List<CmsGroup>
CmsDriverManager. getChildren(CmsDbContext dbc, CmsGroup group, boolean includeSubChildren)
Returns all child groups of a group.java.util.List<CmsProject>
I_CmsProjectDriver. readProjectsForGroup(CmsDbContext dbc, CmsGroup group)
Returns all projects, which are accessible by a group.java.util.List<CmsProject>
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.Method parameters in org.opencms.db with type arguments of type CmsGroup Modifier and Type Method Description java.util.Set<CmsGroup>
CmsDriverManager. getRoleGroupsImpl(CmsDbContext dbc, java.lang.String roleGroupName, boolean directUsersOnly, java.util.Map<java.lang.String,java.util.Set<CmsGroup>> accumulator)
Collects the groups which constitute a given role.protected boolean
CmsSecurityManager. hasRole(CmsRole role, java.util.List<CmsGroup> roles)
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.java.util.List<I_CmsHistoryResource>
CmsDriverManager. readSubscribedDeletedResources(CmsDbContext dbc, java.lang.String poolName, CmsUser user, java.util.List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom)
Returns the subscribed history resources that were deleted.java.util.List<I_CmsHistoryResource>
CmsSecurityManager. readSubscribedDeletedResources(CmsRequestContext context, java.lang.String poolName, CmsUser user, java.util.List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom)
Returns the subscribed history resources that were deleted.java.util.List<I_CmsHistoryResource>
I_CmsSubscriptionDriver. readSubscribedDeletedResources(CmsDbContext dbc, java.lang.String poolName, CmsUser user, java.util.List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom)
Returns the subscribed history resources that were deleted.void
CmsSubscriptionFilter. setGroups(java.util.List<CmsGroup> groups)
Sets the groups to check subscribed resources for. -
Uses of CmsGroup in org.opencms.db.generic
Methods in org.opencms.db.generic that return CmsGroup Modifier and Type Method Description CmsGroup
CmsUserDriver. createGroup(CmsDbContext dbc, CmsUUID groupId, java.lang.String groupFqn, java.lang.String description, int flags, java.lang.String parentGroupFqn)
protected CmsGroup
CmsUserDriver. internalCreateGroup(java.sql.ResultSet res)
Semi-constructor to create aCmsGroup
instance from a JDBC result set.CmsGroup
CmsUserDriver. readGroup(CmsDbContext dbc, java.lang.String groupFqn)
CmsGroup
CmsUserDriver. readGroup(CmsDbContext dbc, CmsUUID groupId)
Methods in org.opencms.db.generic that return types with arguments of type CmsGroup Modifier and Type Method Description java.util.List<CmsGroup>
CmsUserDriver. getGroups(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles)
java.util.List<CmsGroup>
CmsUserDriver. readChildGroups(CmsDbContext dbc, java.lang.String parentGroupFqn)
java.util.List<CmsGroup>
CmsUserDriver. readGroupsOfUser(CmsDbContext dbc, CmsUUID userId, java.lang.String ouFqn, boolean includeChildOus, java.lang.String remoteAddress, boolean readRoles)
Methods in org.opencms.db.generic with parameters of type CmsGroup Modifier and Type Method Description CmsProject
CmsProjectDriver. createProject(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, java.lang.String projectFqn, java.lang.String description, int flags, CmsProject.CmsProjectType type)
java.util.List<CmsProject>
CmsProjectDriver. readProjectsForGroup(CmsDbContext dbc, CmsGroup group)
java.util.List<CmsProject>
CmsProjectDriver. readProjectsForManagerGroup(CmsDbContext dbc, CmsGroup group)
void
CmsUserDriver. writeGroup(CmsDbContext dbc, CmsGroup group)
Method parameters in org.opencms.db.generic with type arguments of type CmsGroup Modifier and Type Method Description java.util.List<I_CmsHistoryResource>
CmsSubscriptionDriver. readSubscribedDeletedResources(CmsDbContext dbc, java.lang.String poolName, CmsUser user, java.util.List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom)
-
Uses of CmsGroup in org.opencms.file
Methods in org.opencms.file that return CmsGroup Modifier and Type Method Description CmsGroup
CmsObject. createGroup(java.lang.String groupFqn, java.lang.String description, int flags, java.lang.String parent)
Creates a new user group.CmsGroup
CmsUserSearchParameters. getGroup()
Returns the group such that users which are not in the group will be filtered out.CmsGroup
CmsUserSearchParameters. getNotGroup()
Returns the group such that users not in that group will be filtered out.CmsGroup
CmsObject. getParent(java.lang.String groupname)
Returns the parent group of a group.CmsGroup
CmsObject. readGroup(java.lang.String groupName)
Reads a group based on its name.CmsGroup
CmsObject. readGroup(CmsProject project)
Reads the group of a project.CmsGroup
CmsObject. readGroup(CmsUUID groupId)
Reads a group based on its id.CmsGroup
CmsObject. readManagerGroup(CmsProject project)
Returns the project manager group of a project.Methods in org.opencms.file that return types with arguments of type CmsGroup Modifier and Type Method Description java.util.Collection<CmsGroup>
CmsUserSearchParameters. getAnyGroups()
Returns the collection of groups such that returned users must be in at least one of them.java.util.List<CmsGroup>
CmsObject. getChildren(java.lang.String groupname, boolean includeSubChildren)
Returns all child groups of a group.java.util.List<CmsGroup>
CmsObject. getGroupsOfUser(java.lang.String username, boolean directGroupsOnly)
Returns all the groups the given user belongs to.java.util.List<CmsGroup>
CmsObject. getGroupsOfUser(java.lang.String username, boolean directGroupsOnly, boolean includeOtherOus)
Returns all the groups the given user belongs to.java.util.List<CmsGroup>
CmsObject. getGroupsOfUser(java.lang.String username, boolean directGroupsOnly, boolean includeOtherOus, java.lang.String remoteAddress)
Returns the groups of a user filtered by the specified IP address.java.util.Collection<CmsGroup>
CmsUserSearchParameters. getNotAnyGroups()
Returns the groups whose users may not appear in the search results.Methods in org.opencms.file with parameters of type CmsGroup Modifier and Type Method Description void
CmsUserSearchParameters. setGroup(CmsGroup group)
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.Method parameters in org.opencms.file with type arguments of type CmsGroup Modifier and Type Method Description void
CmsUserSearchParameters. setAnyGroups(java.util.Collection<CmsGroup> anyGroups)
Sets the groups such that returned users must be in at least one of them.void
CmsUserSearchParameters. setNotAnyGroups(java.util.Collection<CmsGroup> groups)
Sets the groups whose users may not appear in the search results. -
Uses of CmsGroup in org.opencms.importexport
Methods in org.opencms.importexport with parameters of type CmsGroup Modifier and Type Method Description protected 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
Method parameters in org.opencms.jsp with type arguments of type CmsGroup Modifier and Type Method Description protected static java.lang.String
CmsJspTagUserTracking. generateSessionKey(java.lang.String prefix, java.lang.String fileName, boolean subFolder, CmsUser user, java.util.List<CmsGroup> groups)
Returns a unique session key depending on the values of the given parameters.protected static boolean
CmsJspTagUserTracking. isResourceSubscribed(CmsObject cms, java.lang.String fileName, boolean subFolder, CmsUser user, java.util.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
Methods in org.opencms.monitor that return CmsGroup Modifier and Type Method Description CmsGroup
CmsMemoryMonitor. getCachedGroup(java.lang.String key)
Returns the group cached with the given cache key ornull
if not found.Methods in org.opencms.monitor that return types with arguments of type CmsGroup Modifier and Type Method Description java.util.List<CmsGroup>
CmsMemoryMonitor. getCachedUserGroups(CmsUUID userId, java.lang.String key)
Returns the user groups list cached with the given cache key ornull
if not found.java.util.List<CmsGroup>
CmsGroupListCache. getGroups(CmsUUID userId, java.lang.String subKey)
Gets the cached user groups for the given combination of keys, or null if nothing is cached.Methods in org.opencms.monitor with parameters of type CmsGroup Modifier and Type Method Description void
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.Method parameters in org.opencms.monitor with type arguments of type CmsGroup Modifier and Type Method Description void
CmsGroupListCache. setGroups(CmsUser user, java.lang.String subKey, java.util.List<CmsGroup> groups)
Caches a new value for the given combination of keys. -
Uses of CmsGroup in org.opencms.security
Methods in org.opencms.security that return types with arguments of type CmsGroup Modifier and Type Method Description static java.util.List<CmsGroup>
CmsPrincipal. filterCoreGroups(java.util.List<CmsGroup> groups)
Filters out all groups with flags greater than
.I_CmsPrincipal.FLAG_CORE_LIMIT
java.util.List<CmsGroup>
CmsOrgUnitManager. getGroups(CmsObject cms, java.lang.String ouFqn, boolean includeSubOus)
Returns all groups of the given organizational unit.java.util.List<CmsGroup>
CmsRoleManager. getManageableGroups(CmsObject cms, java.lang.String ouFqn, boolean includeSubOus)
Returns all groups of organizational units for which the current user has theCmsRole.ACCOUNT_MANAGER
role.java.util.Set<CmsGroup>
CmsRoleManager. getRoleGroups(CmsObject cms, CmsRole role, boolean directUsersOnly)
Returns the groups which constitute a given role, i.e.Methods in org.opencms.security with parameters of type CmsGroup Modifier and Type Method Description static CmsRole
CmsRole. valueOf(CmsGroup group)
Returns the role for the given group.Method parameters in org.opencms.security with type arguments of type CmsGroup Modifier and Type Method Description static java.util.List<CmsGroup>
CmsPrincipal. filterCoreGroups(java.util.List<CmsGroup> groups)
Filters out all groups with flags greater than
.I_CmsPrincipal.FLAG_CORE_LIMIT
CmsPermissionSetCustom
CmsAccessControlList. getPermissions(CmsUser user, java.util.List<CmsGroup> groups, java.util.List<CmsRole> roles)
Calculates the permissions of the given user and his groups from the access control list.java.lang.String
CmsAccessControlList. getPermissionString(CmsUser user, java.util.List<CmsGroup> groups, java.util.List<CmsRole> roles)
Calculates the permissions of the given user and his groups from the access control list. -
Uses of CmsGroup in org.opencms.ugc
Methods in org.opencms.ugc that return CmsGroup Modifier and Type Method Description CmsGroup
CmsUgcConfiguration. getProjectGroup()
Returns the group which should be used as the manager groups for projects based on this configuration.Constructors in org.opencms.ugc with parameters of type CmsGroup Constructor Description CmsUgcConfiguration(CmsUUID id, com.google.common.base.Optional<CmsUser> userForGuests, CmsGroup projectGroup, java.lang.String resourceType, CmsResource contentParentFolder, java.lang.String namePattern, java.util.Locale locale, com.google.common.base.Optional<CmsResource> uploadParent, com.google.common.base.Optional<java.lang.Long> maxUploadSize, com.google.common.base.Optional<java.lang.Integer> maxContents, com.google.common.base.Optional<java.lang.Long> queueTimeout, com.google.common.base.Optional<java.lang.Integer> maxQueueLength, boolean autoPublish, com.google.common.base.Optional<java.util.List<java.lang.String>> validExtensions)
Creates a new form configuration. -
Uses of CmsGroup in org.opencms.ui
Method parameters in org.opencms.ui with type arguments of type CmsGroup Modifier and Type Method Description static com.vaadin.v7.data.util.IndexedContainer
CmsVaadinUtils. getAvailableGroupsContainerWithout(CmsObject cms, java.lang.String ouFqn, java.lang.String propCaption, java.lang.String propIcon, java.lang.String propOu, java.util.List<CmsGroup> blackList, java.util.function.Function<CmsGroup,CmsCssIcon> iconProvider)
Get all groups with blacklist.static com.vaadin.v7.data.util.IndexedContainer
CmsVaadinUtils. getAvailableGroupsContainerWithout(CmsObject cms, java.lang.String ouFqn, java.lang.String propCaption, java.lang.String propIcon, java.lang.String propOu, java.util.List<CmsGroup> blackList, java.util.function.Function<CmsGroup,CmsCssIcon> iconProvider)
Get all groups with blacklist.static com.vaadin.v7.data.util.IndexedContainer
CmsVaadinUtils. getGroupsOfUser(CmsObject cms, CmsUser user, java.lang.String caption, java.lang.String iconProp, java.lang.String ou, java.lang.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
Methods in org.opencms.ui.apps.user that return types with arguments of type CmsGroup Modifier and Type Method Description java.util.List<CmsGroup>
CmsAccountsApp. readGroupsForOu(CmsObject cms, java.lang.String ou, I_CmsOuTreeType type, boolean subOus)
Reads the list of groups for an organizational unit.Methods in org.opencms.ui.apps.user with parameters of type CmsGroup Modifier and Type Method Description void
CmsAccountsApp. fillGroupItem(com.vaadin.v7.data.Item item, CmsGroup group, java.util.List<CmsGroup> indirects)
Fills the container item representing a group.void
CmsGroupTable. fillGroupItem(com.vaadin.v7.data.Item item, CmsGroup group, java.util.List<CmsGroup> indirects)
Fills the container item representing a group.CmsGroupEditParameters
CmsAccountsApp. getGroupEditParameters(CmsGroup group)
Gets the group edit parameters for a given group.CmsCssIcon
CmsAccountsApp. getGroupIcon(CmsGroup group)
Gets the icon for a group.Method parameters in org.opencms.ui.apps.user with type arguments of type CmsGroup Modifier and Type Method Description void
CmsAccountsApp. fillGroupItem(com.vaadin.v7.data.Item item, CmsGroup group, java.util.List<CmsGroup> indirects)
Fills the container item representing a group.void
CmsGroupTable. fillGroupItem(com.vaadin.v7.data.Item item, CmsGroup group, java.util.List<CmsGroup> indirects)
Fills the container item representing a group.com.vaadin.v7.data.util.IndexedContainer
CmsAccountsApp. getAvailableGroupsContainerWithout(CmsObject cms, java.lang.String ouFqn, java.lang.String propCaption, java.lang.String propIcon, java.lang.String propOu, java.util.List<CmsGroup> groupsOfUser, java.util.function.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, java.lang.String ouFqn, java.lang.String propCaption, java.lang.String propIcon, java.lang.String propOu, java.util.List<CmsGroup> groupsOfUser, java.util.function.Function<CmsGroup,CmsCssIcon> iconProvider)
Gets a data container for the groups available to be added to a user, excluding some groups.void
CmsGroupsOfUserTable. init(CmsAccountsApp app, CmsObject cms, CmsUser user, java.util.List<CmsGroup> groups)
Init method.
-