Uses of Class
org.opencms.security.CmsOrganizationalUnit
Package
Description
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.
Contains functions to monitor the OpenCms system status.
Access control and security classes for the OpenCms ACL permission system.
Contains classes of the user manager app.
Contains the user interface components for the Vaadin-based login dialog.
-
Uses of CmsOrganizationalUnit in org.opencms.db
Modifier and TypeMethodDescriptionCmsDriverManager.createOrganizationalUnit
(CmsDbContext dbc, String ouFqn, String description, int flags, CmsResource resource) Creates a new organizational unit.CmsSecurityManager.createOrganizationalUnit
(CmsRequestContext context, String ouFqn, String description, int flags, CmsResource resource) Creates a new organizational unit.I_CmsUserDriver.createOrganizationalUnit
(CmsDbContext dbc, String name, String description, int flags, CmsOrganizationalUnit parent, String associationRootPath) Creates a new organizational unit.CmsDriverManager.readOrganizationalUnit
(CmsDbContext dbc, String ouFqn) Reads an organizational Unit based on its fully qualified name.CmsSecurityManager.readOrganizationalUnit
(CmsRequestContext context, String ouFqn) Reads an organizational Unit based on its fully qualified name.I_CmsUserDriver.readOrganizationalUnit
(CmsDbContext dbc, String ouFqn) Reads an organizational Unit based on its fully qualified name.Modifier and TypeMethodDescriptionCmsDriverManager.getOrganizationalUnits
(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.CmsSecurityManager.getOrganizationalUnits
(CmsRequestContext context, CmsOrganizationalUnit parent, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.I_CmsUserDriver.getOrganizationalUnits
(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.CmsDriverManager.getOrgUnitsForRole
(CmsDbContext dbc, CmsRole role, boolean includeSubOus) Returns all the organizational units for which the current user has the given role.CmsSecurityManager.getOrgUnitsForRole
(CmsRequestContext requestContext, CmsRole role, boolean includeSubOus) Returns all the organizational units for which the current user has the given role.CmsDriverManager.getResourceOrgUnits
(CmsDbContext dbc, CmsResource resource) Returns the list of organizational units the given resource belongs to.CmsDriverManager.ResourceOUMap.getResourceOrgUnits
(String rootPath) Gets the list of organizational units to which a given root path belongs, according to the cached OU resource assignments.I_CmsVfsDriver.getResourceOus
(CmsDbContext dbc, CmsUUID projectId, CmsResource resource) Returns all organizational units for the given resource.Modifier and TypeMethodDescriptionvoid
I_CmsUserDriver.addResourceToOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Adds a resource to the given organizational unit.void
CmsDriverManager.addResourceToOrgUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Adds a resource to the given organizational unit.void
CmsSecurityManager.addResourceToOrgUnit
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, CmsResource resource) Adds a resource to the given organizational unit.I_CmsUserDriver.createOrganizationalUnit
(CmsDbContext dbc, String name, String description, int flags, CmsOrganizationalUnit parent, String associationRootPath) Creates a new organizational unit.void
CmsDriverManager.deleteOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Deletes an organizational unit.void
CmsSecurityManager.deleteOrganizationalUnit
(CmsRequestContext context, CmsOrganizationalUnit organizationalUnit) Deletes an organizational unit.void
I_CmsUserDriver.deleteOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Deletes an organizational unit.CmsDriverManager.getAllAccessibleProjects
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are accessible by the current user.CmsSecurityManager.getAllAccessibleProjects
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are accessible for the group of the user.CmsDriverManager.getAllManageableProjects
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are manageable for the group of the user.CmsSecurityManager.getAllManageableProjects
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are manageable for the group of the user.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.I_CmsUserDriver.getGroups
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles) Returns all groups of the given organizational unit.CmsDriverManager.getOrganizationalUnits
(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.CmsSecurityManager.getOrganizationalUnits
(CmsRequestContext context, CmsOrganizationalUnit parent, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.I_CmsUserDriver.getOrganizationalUnits
(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.CmsDriverManager.getResourcesForOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit) Returns all resources of the given organizational unit.CmsSecurityManager.getResourcesForOrganizationalUnit
(CmsRequestContext context, CmsOrganizationalUnit orgUnit) Returns all resources of the given organizational unit.I_CmsUserDriver.getResourcesForOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit) Returns all resources of the given organizational unit.CmsDriverManager.getUsers
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all direct users of the given organizational unit.CmsSecurityManager.getUsers
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all users of the given organizational unit.I_CmsUserDriver.getUsers
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all users of the given organizational unit.CmsDriverManager.getUsersWithoutAdditionalInfo
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all direct users of the given organizational unit, without their additional info.CmsSecurityManager.getUsersWithoutAdditionalInfo
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all users of the given organizational unit.I_CmsUserDriver.getUsersWithoutAdditionalInfo
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive) Returns all users of the given organizational unit, without reading their additional infos.void
CmsSecurityManager.initializeOrgUnit
(CmsRequestContext context, CmsOrganizationalUnit ou) Initializes the default groups for an organizational unit.void
CmsDriverManager.initOrgUnit
(CmsDbContext dbc, CmsOrganizationalUnit ou) Initializes the organizational unit.void
I_CmsUserDriver.removeResourceFromOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Removes a resource from the given organizational unit.void
CmsDriverManager.removeResourceFromOrgUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Removes a resource from the given organizational unit.void
CmsSecurityManager.removeResourceFromOrgUnit
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, CmsResource resource) Removes a resource from the given organizational unit.void
CmsDriverManager.setUsersOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsUser user) Moves an user to the given organizational unit.void
CmsSecurityManager.setUsersOrganizationalUnit
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, CmsUser user) Moves an user to the given organizational unit.void
I_CmsUserDriver.setUsersOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsUser user) Moves an user to the given organizational unit.void
CmsDriverManager.writeOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit.void
CmsSecurityManager.writeOrganizationalUnit
(CmsRequestContext context, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit.void
I_CmsUserDriver.writeOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit. -
Uses of CmsOrganizationalUnit in org.opencms.db.generic
Modifier and TypeMethodDescriptionCmsUserDriver.createOrganizationalUnit
(CmsDbContext dbc, String name, String description, int flags, CmsOrganizationalUnit parent, String associatedResource) protected CmsOrganizationalUnit
CmsUserDriver.internalCreateOrgUnitFromResource
(CmsDbContext dbc, CmsResource resource) Returns the organizational unit represented by the given resource.CmsUserDriver.readOrganizationalUnit
(CmsDbContext dbc, String ouFqn) Modifier and TypeMethodDescriptionCmsUserDriver.getOrganizationalUnits
(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren) CmsVfsDriver.getResourceOus
(CmsDbContext dbc, CmsUUID projectId, CmsResource resource) Returns all organizational units for the given resource.Modifier and TypeMethodDescriptionprotected void
CmsUserQueryBuilder.addOrgUnitCondition
(CmsSelectQuery select, CmsSelectQuery.TableAlias users, CmsOrganizationalUnit orgUnit, boolean recursive) Adds a check for an OU to an SQL query.void
CmsUserDriver.addResourceToOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) protected void
CmsUserQueryBuilder.addWebuserCondition
(CmsSelectQuery select, CmsOrganizationalUnit orgUnit, CmsSelectQuery.TableAlias users) Adds a check for the web user condition to an SQL query.CmsUserDriver.createOrganizationalUnit
(CmsDbContext dbc, String name, String description, int flags, CmsOrganizationalUnit parent, String associatedResource) void
CmsUserDriver.deleteOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) CmsUserDriver.getGroups
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles) CmsUserDriver.getOrganizationalUnits
(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren) CmsUserDriver.getResourcesForOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit) CmsUserDriver.getUsers
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive) CmsUserDriver.getUsersWithoutAdditionalInfo
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive) CmsUserDriver.internalGetUsers
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive, boolean readAdditionalInfos) Internal implementation for reading users of an OU, with or without additional infos.protected CmsResource
CmsUserDriver.internalOrgUnitFolder
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit) Returns the folder for the given organizational units, or the base folder ifnull
.protected void
CmsUserDriver.internalValidateResourceForOrgUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, String rootPath) Validates the given root path to be in the scope of the resources of the given organizational unit.void
CmsUserDriver.removeResourceFromOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) void
CmsUserDriver.setUsersOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsUser user) void
CmsUserDriver.writeOrganizationalUnit
(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Modifier and TypeMethodDescriptionprotected void
CmsUserQueryBuilder.addAllowedOuCondition
(CmsSelectQuery select, CmsSelectQuery.TableAlias users, List<CmsOrganizationalUnit> allowedOus) Adds OU conditions to an SQL query. -
Uses of CmsOrganizationalUnit in org.opencms.file
Modifier and TypeMethodDescriptionCmsUserSearchParameters.getOrganizationalUnit()
Gets the organizational unit to which a user must belong.Modifier and TypeMethodDescriptionCmsUserSearchParameters.getAllowedOus()
Returns the list of OUs from which users may be returned.Modifier and TypeMethodDescriptionvoid
CmsUserSearchParameters.setOrganizationalUnit
(CmsOrganizationalUnit ou) Sets the organizational unit to which a user must belong.Modifier and TypeMethodDescriptionvoid
CmsUserSearchParameters.setAllowedOus
(List<CmsOrganizationalUnit> ous) Sets the OUs from which users should be returned. -
Uses of CmsOrganizationalUnit in org.opencms.importexport
Modifier and TypeFieldDescriptionprotected CmsOrganizationalUnit
CmsImportVersion10.m_orgUnit
The current imported organizational unit.Modifier and TypeMethodDescriptionprotected void
CmsExport.exportGroups
(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports all groups of the given organizational unit.protected void
CmsExport.exportOrgUnit
(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports one single organizational unit with all it's data.protected void
CmsExport.exportUsers
(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports all users of the given organizational unit. -
Uses of CmsOrganizationalUnit in org.opencms.monitor
Modifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedOrgUnit
(String key) Returns the organizational unit cached with the given cache key ornull
if not found.Modifier and TypeMethodDescriptionvoid
CmsMemoryMonitor.cacheOrgUnit
(CmsOrganizationalUnit orgUnit) Caches the given organizational under its id AND the fully qualified name.void
CmsMemoryMonitor.uncacheOrgUnit
(CmsOrganizationalUnit orgUnit) Removes the given organizational unit from the cache. -
Uses of CmsOrganizationalUnit in org.opencms.security
Modifier and TypeMethodDescriptionCmsOrgUnitManager.createOrganizationalUnit
(CmsObject cms, String ouFqn, String description, int flags, String resourceName) Creates a new organizational unit.CmsOrgUnitManager.readOrganizationalUnit
(CmsObject cms, String ouFqn) Reads an organizational Unit based on its fully qualified name.Modifier and TypeMethodDescriptionCmsRoleManager.getManageableOrgUnits
(CmsObject cms, String ouFqn, boolean includeSubOus, boolean includeWebusers) Returns a list of those organizational units whose members can be managed by the current user.CmsOrgUnitManager.getOrganizationalUnits
(CmsObject cms, String ouFqn, boolean includeChildren) Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.CmsOrgUnitManager.getOrgUnitsForResource
(CmsObject cms, String rootPath) Gets all organizational units x such that x and all of its ancestor org.CmsRoleManager.getOrgUnitsForRole
(CmsObject cms, CmsRole role, boolean includeSubOus) Returns all the organizational units for which the current user has the given role.Modifier and TypeMethodDescriptionvoid
CmsOrgUnitManager.writeOrganizationalUnit
(CmsObject cms, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit. -
Uses of CmsOrganizationalUnit in org.opencms.ui.apps.user
Modifier and TypeMethodDescriptionstatic CmsResourceInfo
CmsAccountsApp.getOUInfo
(CmsOrganizationalUnit ou) Creates info panel for OUs. -
Uses of CmsOrganizationalUnit in org.opencms.ui.login
Modifier and TypeMethodDescriptionstatic List<CmsOrganizationalUnit>
CmsLoginHelper.getOrgUnitsForLoginDialog
(CmsObject cms, String predefOu) Gets the list of OUs which should be selectable in the login dialog.Modifier and TypeMethodDescriptionvoid
CmsLoginOuSelector.initOrgUnits
(List<CmsOrganizationalUnit> orgUnits, boolean addEmptyOption) Initializes the select options.void
CmsLoginForm.setSelectableOrgUnits
(List<CmsOrganizationalUnit> ous) Sets the org units available for selection.void
CmsLoginUI.setSelectableOrgUnits
(List<CmsOrganizationalUnit> ous) Sets the org units which should be selectable by the user.