Uses of Class
org.opencms.security.CmsOrganizationalUnit
-
Packages that use CmsOrganizationalUnit Package Description 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.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.ui.apps.user Contains classes of the user manager app.org.opencms.ui.login 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 CmsOrganizationalUnit Modifier and Type Method Description CmsOrganizationalUnit
CmsDriverManager. createOrganizationalUnit(CmsDbContext dbc, java.lang.String ouFqn, java.lang.String description, int flags, CmsResource resource)
Creates a new organizational unit.CmsOrganizationalUnit
CmsSecurityManager. createOrganizationalUnit(CmsRequestContext context, java.lang.String ouFqn, java.lang.String description, int flags, CmsResource resource)
Creates a new organizational unit.CmsOrganizationalUnit
I_CmsUserDriver. createOrganizationalUnit(CmsDbContext dbc, java.lang.String name, java.lang.String description, int flags, CmsOrganizationalUnit parent, java.lang.String associationRootPath)
Creates a new organizational unit.CmsOrganizationalUnit
CmsDriverManager. readOrganizationalUnit(CmsDbContext dbc, java.lang.String ouFqn)
Reads an organizational Unit based on its fully qualified name.CmsOrganizationalUnit
CmsSecurityManager. readOrganizationalUnit(CmsRequestContext context, java.lang.String ouFqn)
Reads an organizational Unit based on its fully qualified name.CmsOrganizationalUnit
I_CmsUserDriver. readOrganizationalUnit(CmsDbContext dbc, java.lang.String ouFqn)
Reads an organizational Unit based on its fully qualified name.Methods in org.opencms.db that return types with arguments of type CmsOrganizationalUnit Modifier and Type Method Description java.util.List<CmsOrganizationalUnit>
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.java.util.List<CmsOrganizationalUnit>
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.java.util.List<CmsOrganizationalUnit>
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.java.util.List<CmsOrganizationalUnit>
CmsDriverManager. getOrgUnitsForRole(CmsDbContext dbc, CmsRole role, boolean includeSubOus)
Returns all the organizational units for which the current user has the given role.java.util.List<CmsOrganizationalUnit>
CmsSecurityManager. getOrgUnitsForRole(CmsRequestContext requestContext, CmsRole role, boolean includeSubOus)
Returns all the organizational units for which the current user has the given role.java.util.List<CmsOrganizationalUnit>
CmsDriverManager. getResourceOrgUnits(CmsDbContext dbc, CmsResource resource)
Returns the list of organizational units the given resource belongs to.java.util.List<CmsOrganizationalUnit>
CmsDriverManager.ResourceOUMap. getResourceOrgUnits(java.lang.String rootPath)
Gets the list of organizational units to which a given root path belongs, according to the cached OU resource assignments.java.util.List<CmsOrganizationalUnit>
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 CmsOrganizationalUnit Modifier and Type Method Description void
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.CmsOrganizationalUnit
I_CmsUserDriver. createOrganizationalUnit(CmsDbContext dbc, java.lang.String name, java.lang.String description, int flags, CmsOrganizationalUnit parent, java.lang.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.java.util.List<CmsProject>
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.java.util.List<CmsProject>
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.java.util.List<CmsProject>
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.java.util.List<CmsProject>
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.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>
I_CmsUserDriver. getGroups(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles)
Returns all groups of the given organizational unit.java.util.List<CmsOrganizationalUnit>
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.java.util.List<CmsOrganizationalUnit>
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.java.util.List<CmsOrganizationalUnit>
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.java.util.List<CmsResource>
CmsDriverManager. getResourcesForOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit)
Returns all resources of the given organizational unit.java.util.List<CmsResource>
CmsSecurityManager. getResourcesForOrganizationalUnit(CmsRequestContext context, CmsOrganizationalUnit orgUnit)
Returns all resources of the given organizational unit.java.util.List<CmsResource>
I_CmsUserDriver. getResourcesForOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit)
Returns all resources of the given organizational unit.java.util.List<CmsUser>
CmsDriverManager. getUsers(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive)
Returns all direct users of the given organizational unit.java.util.List<CmsUser>
CmsSecurityManager. getUsers(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean recursive)
Returns all users of the given organizational unit.java.util.List<CmsUser>
I_CmsUserDriver. getUsers(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive)
Returns all users of the given organizational unit.java.util.List<CmsUser>
CmsDriverManager. getUsersWithoutAdditionalInfo(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive)
Returns all direct users of the given organizational unit, without their additional info.java.util.List<CmsUser>
CmsSecurityManager. getUsersWithoutAdditionalInfo(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean recursive)
Returns all users of the given organizational unit.java.util.List<CmsUser>
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
Methods in org.opencms.db.generic that return CmsOrganizationalUnit Modifier and Type Method Description CmsOrganizationalUnit
CmsUserDriver. createOrganizationalUnit(CmsDbContext dbc, java.lang.String name, java.lang.String description, int flags, CmsOrganizationalUnit parent, java.lang.String associatedResource)
protected CmsOrganizationalUnit
CmsUserDriver. internalCreateOrgUnitFromResource(CmsDbContext dbc, CmsResource resource)
Returns the organizational unit represented by the given resource.CmsOrganizationalUnit
CmsUserDriver. readOrganizationalUnit(CmsDbContext dbc, java.lang.String ouFqn)
Methods in org.opencms.db.generic that return types with arguments of type CmsOrganizationalUnit Modifier and Type Method Description java.util.List<CmsOrganizationalUnit>
CmsUserDriver. getOrganizationalUnits(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren)
java.util.List<CmsOrganizationalUnit>
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 CmsOrganizationalUnit Modifier and Type Method Description protected 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.CmsOrganizationalUnit
CmsUserDriver. createOrganizationalUnit(CmsDbContext dbc, java.lang.String name, java.lang.String description, int flags, CmsOrganizationalUnit parent, java.lang.String associatedResource)
void
CmsUserDriver. deleteOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit organizationalUnit)
java.util.List<CmsGroup>
CmsUserDriver. getGroups(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus, boolean readRoles)
java.util.List<CmsOrganizationalUnit>
CmsUserDriver. getOrganizationalUnits(CmsDbContext dbc, CmsOrganizationalUnit parent, boolean includeChildren)
java.util.List<CmsResource>
CmsUserDriver. getResourcesForOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit)
java.util.List<CmsUser>
CmsUserDriver. getUsers(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive)
java.util.List<CmsUser>
CmsUserDriver. getUsersWithoutAdditionalInfo(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean recursive)
protected java.util.List<CmsUser>
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, java.lang.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)
Method parameters in org.opencms.db.generic with type arguments of type CmsOrganizationalUnit Modifier and Type Method Description protected void
CmsUserQueryBuilder. addAllowedOuCondition(CmsSelectQuery select, CmsSelectQuery.TableAlias users, java.util.List<CmsOrganizationalUnit> allowedOus)
Adds OU conditions to an SQL query. -
Uses of CmsOrganizationalUnit in org.opencms.file
Methods in org.opencms.file that return CmsOrganizationalUnit Modifier and Type Method Description CmsOrganizationalUnit
CmsUserSearchParameters. getOrganizationalUnit()
Gets the organizational unit to which a user must belong.Methods in org.opencms.file that return types with arguments of type CmsOrganizationalUnit Modifier and Type Method Description java.util.List<CmsOrganizationalUnit>
CmsUserSearchParameters. getAllowedOus()
Returns the list of OUs from which users may be returned.Methods in org.opencms.file with parameters of type CmsOrganizationalUnit Modifier and Type Method Description void
CmsUserSearchParameters. setOrganizationalUnit(CmsOrganizationalUnit ou)
Sets the organizational unit to which a user must belong.Method parameters in org.opencms.file with type arguments of type CmsOrganizationalUnit Modifier and Type Method Description void
CmsUserSearchParameters. setAllowedOus(java.util.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 CmsOrganizationalUnit Modifier and Type Field Description protected CmsOrganizationalUnit
CmsImportVersion10. m_orgUnit
The current imported organizational unit.Methods in org.opencms.importexport with parameters of type CmsOrganizationalUnit Modifier and Type Method Description protected 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
Methods in org.opencms.monitor that return CmsOrganizationalUnit Modifier and Type Method Description CmsOrganizationalUnit
CmsMemoryMonitor. getCachedOrgUnit(java.lang.String key)
Returns the organizational unit cached with the given cache key ornull
if not found.Methods in org.opencms.monitor with parameters of type CmsOrganizationalUnit Modifier and Type Method Description void
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
Methods in org.opencms.security that return CmsOrganizationalUnit Modifier and Type Method Description CmsOrganizationalUnit
CmsOrgUnitManager. createOrganizationalUnit(CmsObject cms, java.lang.String ouFqn, java.lang.String description, int flags, java.lang.String resourceName)
Creates a new organizational unit.CmsOrganizationalUnit
CmsOrgUnitManager. readOrganizationalUnit(CmsObject cms, java.lang.String ouFqn)
Reads an organizational Unit based on its fully qualified name.Methods in org.opencms.security that return types with arguments of type CmsOrganizationalUnit Modifier and Type Method Description java.util.List<CmsOrganizationalUnit>
CmsRoleManager. getManageableOrgUnits(CmsObject cms, java.lang.String ouFqn, boolean includeSubOus, boolean includeWebusers)
Returns a list of those organizational units whose members can be managed by the current user.java.util.List<CmsOrganizationalUnit>
CmsOrgUnitManager. getOrganizationalUnits(CmsObject cms, java.lang.String ouFqn, boolean includeChildren)
Returns all child organizational units of the given parent organizational unit including hierarchical deeper organization units if needed.java.util.List<CmsOrganizationalUnit>
CmsOrgUnitManager. getOrgUnitsForResource(CmsObject cms, java.lang.String rootPath)
Gets all organizational units x such that x and all of its ancestor org.java.util.List<CmsOrganizationalUnit>
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 CmsOrganizationalUnit Modifier and Type Method Description void
CmsOrgUnitManager. 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 CmsOrganizationalUnit Modifier and Type Method Description static CmsResourceInfo
CmsAccountsApp. 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 CmsOrganizationalUnit Modifier and Type Method Description static java.util.List<CmsOrganizationalUnit>
CmsLoginHelper. getOrgUnitsForLoginDialog(CmsObject cms, java.lang.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 CmsOrganizationalUnit Modifier and Type Method Description void
CmsLoginOuSelector. initOrgUnits(java.util.List<CmsOrganizationalUnit> orgUnits, boolean addEmptyOption)
Initializes the select options.void
CmsLoginForm. setSelectableOrgUnits(java.util.List<CmsOrganizationalUnit> ous)
Sets the org units available for selection.void
CmsLoginUI. setSelectableOrgUnits(java.util.List<CmsOrganizationalUnit> ous)
Sets the org units which should be selectable by the user.
-