Uses of Class
org.opencms.security.CmsOrganizationalUnit
Packages that use 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
Methods in org.opencms.db that return CmsOrganizationalUnitModifier 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.Methods in org.opencms.db that return types with arguments of type CmsOrganizationalUnitModifier 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.Methods in org.opencms.db with parameters of type CmsOrganizationalUnitModifier and TypeMethodDescriptionvoidI_CmsUserDriver.addResourceToOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Adds a resource to the given organizational unit.voidCmsDriverManager.addResourceToOrgUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Adds a resource to the given organizational unit.voidCmsSecurityManager.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.voidCmsDriverManager.deleteOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Deletes an organizational unit.voidCmsSecurityManager.deleteOrganizationalUnit(CmsRequestContext context, CmsOrganizationalUnit organizationalUnit) Deletes an organizational unit.voidI_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.voidCmsSecurityManager.initializeOrgUnit(CmsRequestContext context, CmsOrganizationalUnit ou) Initializes the default groups for an organizational unit.voidCmsDriverManager.initOrgUnit(CmsDbContext dbc, CmsOrganizationalUnit ou) Initializes the organizational unit.voidI_CmsUserDriver.removeResourceFromOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Removes a resource from the given organizational unit.voidCmsDriverManager.removeResourceFromOrgUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) Removes a resource from the given organizational unit.voidCmsSecurityManager.removeResourceFromOrgUnit(CmsRequestContext context, CmsOrganizationalUnit orgUnit, CmsResource resource) Removes a resource from the given organizational unit.voidCmsDriverManager.setUsersOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsUser user) Moves an user to the given organizational unit.voidCmsSecurityManager.setUsersOrganizationalUnit(CmsRequestContext context, CmsOrganizationalUnit orgUnit, CmsUser user) Moves an user to the given organizational unit.voidI_CmsUserDriver.setUsersOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsUser user) Moves an user to the given organizational unit.voidCmsDriverManager.writeOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit.voidCmsSecurityManager.writeOrganizationalUnit(CmsRequestContext context, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit.voidI_CmsUserDriver.writeOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit. -
Uses of CmsOrganizationalUnit in org.opencms.db.generic
Methods in org.opencms.db.generic that return CmsOrganizationalUnitModifier and TypeMethodDescriptionCmsUserDriver.createOrganizationalUnit(CmsDbContext dbc, String name, String description, int flags, CmsOrganizationalUnit parent, String associatedResource) protected CmsOrganizationalUnitCmsUserDriver.internalCreateOrgUnitFromResource(CmsDbContext dbc, CmsResource resource) Returns the organizational unit represented by the given resource.CmsUserDriver.readOrganizationalUnit(CmsDbContext dbc, String ouFqn) Methods in org.opencms.db.generic that return types with arguments of type CmsOrganizationalUnitModifier 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.Methods in org.opencms.db.generic with parameters of type CmsOrganizationalUnitModifier and TypeMethodDescriptionprotected voidCmsUserQueryBuilder.addOrgUnitCondition(CmsSelectQuery select, CmsSelectQuery.TableAlias users, CmsOrganizationalUnit orgUnit, boolean recursive) Adds a check for an OU to an SQL query.voidCmsUserDriver.addResourceToOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) protected voidCmsUserQueryBuilder.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) voidCmsUserDriver.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 CmsResourceCmsUserDriver.internalOrgUnitFolder(CmsDbContext dbc, CmsOrganizationalUnit orgUnit) Returns the folder for the given organizational units, or the base folder ifnull.protected voidCmsUserDriver.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.voidCmsUserDriver.removeResourceFromOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsResource resource) voidCmsUserDriver.setUsersOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsUser user) voidCmsUserDriver.writeOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit) Method parameters in org.opencms.db.generic with type arguments of type CmsOrganizationalUnitModifier and TypeMethodDescriptionprotected voidCmsUserQueryBuilder.addAllowedOuCondition(CmsSelectQuery select, CmsSelectQuery.TableAlias users, List<CmsOrganizationalUnit> allowedOus) Adds OU conditions to an SQL query. -
Uses of CmsOrganizationalUnit in org.opencms.file
Methods in org.opencms.file that return CmsOrganizationalUnitModifier and TypeMethodDescriptionCmsUserSearchParameters.getOrganizationalUnit()Gets the organizational unit to which a user must belong.Methods in org.opencms.file that return types with arguments of type CmsOrganizationalUnitModifier and TypeMethodDescriptionCmsUserSearchParameters.getAllowedOus()Returns the list of OUs from which users may be returned.Methods in org.opencms.file with parameters of type CmsOrganizationalUnitModifier and TypeMethodDescriptionvoidCmsUserSearchParameters.setOrganizationalUnit(CmsOrganizationalUnit ou) Sets the organizational unit to which a user must belong.Method parameters in org.opencms.file with type arguments of type CmsOrganizationalUnitModifier and TypeMethodDescriptionvoidCmsUserSearchParameters.setAllowedOus(List<CmsOrganizationalUnit> ous) Sets the OUs from which users should be returned. -
Uses of CmsOrganizationalUnit in org.opencms.importexport
Fields in org.opencms.importexport declared as CmsOrganizationalUnitModifier and TypeFieldDescriptionprotected CmsOrganizationalUnitCmsImportVersion10.m_orgUnitThe current imported organizational unit.Methods in org.opencms.importexport with parameters of type CmsOrganizationalUnitModifier and TypeMethodDescriptionprotected voidCmsExport.exportGroups(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports all groups of the given organizational unit.protected voidCmsExport.exportOrgUnit(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports one single organizational unit with all it's data.protected voidCmsExport.exportUsers(org.dom4j.Element parent, CmsOrganizationalUnit orgunit) Exports all users of the given organizational unit. -
Uses of CmsOrganizationalUnit in org.opencms.monitor
Methods in org.opencms.monitor that return CmsOrganizationalUnitModifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedOrgUnit(String key) Returns the organizational unit cached with the given cache key ornullif not found.Methods in org.opencms.monitor with parameters of type CmsOrganizationalUnitModifier and TypeMethodDescriptionvoidCmsMemoryMonitor.cacheOrgUnit(CmsOrganizationalUnit orgUnit) Caches the given organizational under its id AND the fully qualified name.voidCmsMemoryMonitor.uncacheOrgUnit(CmsOrganizationalUnit orgUnit) Removes the given organizational unit from the cache. -
Uses of CmsOrganizationalUnit in org.opencms.security
Methods in org.opencms.security that return CmsOrganizationalUnitModifier 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.Methods in org.opencms.security that return types with arguments of type CmsOrganizationalUnitModifier 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.Methods in org.opencms.security with parameters of type CmsOrganizationalUnitModifier and TypeMethodDescriptionvoidCmsOrgUnitManager.writeOrganizationalUnit(CmsObject cms, CmsOrganizationalUnit organizationalUnit) Writes an already existing organizational unit. -
Uses of CmsOrganizationalUnit in org.opencms.ui.apps.user
Methods in org.opencms.ui.apps.user with parameters of type CmsOrganizationalUnitModifier and TypeMethodDescriptionstatic CmsResourceInfoCmsAccountsApp.getOUInfo(CmsOrganizationalUnit ou) Creates info panel for OUs. -
Uses of CmsOrganizationalUnit in org.opencms.ui.login
Methods in org.opencms.ui.login that return types with arguments of type CmsOrganizationalUnitModifier and TypeMethodDescriptionstatic List<CmsOrganizationalUnit> CmsLoginHelper.getOrgUnitsForLoginDialog(CmsObject cms, String predefOu) Gets the list of OUs which should be selectable in the login dialog.Method parameters in org.opencms.ui.login with type arguments of type CmsOrganizationalUnitModifier and TypeMethodDescriptionvoidCmsLoginOuSelector.initOrgUnits(List<CmsOrganizationalUnit> orgUnits, boolean addEmptyOption) Initializes the select options.voidCmsLoginForm.setSelectableOrgUnits(List<CmsOrganizationalUnit> ous) Sets the org units available for selection.voidCmsLoginUI.setSelectableOrgUnits(List<CmsOrganizationalUnit> ous) Sets the org units which should be selectable by the user.