Uses of Class
org.opencms.file.CmsUser
Packages that use CmsUser
Package
Description
Server side of the sitemap view.
Low-level database connection and access functionality.
Generic (ANSI-SQL) implementation of the OpenCms database connector.
MySQL4+ implementation of the OpenCms database connector.
Oracle9+ 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.
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject.Classes to handle internalization (i18n) and locale selection in OpenCms.
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.
Utility classes to be used for JSP pages.
The lock state of the resources in the VFS is handled with these classes.
Provides the main OpenCms "operating system".
Contains functions to monitor the OpenCms system status.
Contains classes for the automatical notification of outdated, expiring or released content.
Classes to handle the OpenCms publish process.
Access control and security classes for the OpenCms ACL permission system.
General code for the Vaadin UI.
Contains classes of the site manager app.
Contains classes of the user manager app.
Contains some reusable GUI components for Vaadin UI.
Contains the user interface components for the Vaadin-based login dialog.
Classes related to publishing and workflow.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
-
Uses of CmsUser in org.opencms.ade.sitemap
Methods in org.opencms.ade.sitemap that return CmsUser -
Uses of CmsUser in org.opencms.db
Methods in org.opencms.db that return CmsUserModifier and TypeMethodDescriptionCmsDriverManager.createUser(CmsDbContext dbc, String name, String password, String description, Map<String, Object> additionalInfos) Creates a new user.CmsSecurityManager.createUser(CmsRequestContext context, String name, String password, String description, Map<String, Object> additionalInfos) Creates a new user.I_CmsUserDriver.createUser(CmsDbContext dbc, CmsUUID id, String userFqn, String password, String firstname, String lastname, String email, long lastlogin, int flags, long dateCreated, Map<String, Object> additionalInfos) Creates a new user.CmsDbContext.currentUser()Returns the current user.CmsUserSettings.getUser()Returns the current user for the settings.CmsVisitedByFilter.getUser()Returns the user to check the visited resources for.CmsDriverManager.importUser(CmsDbContext dbc, String id, String name, String password, String firstname, String lastname, String email, int flags, long dateCreated, Map<String, Object> additionalInfos) Creates a new user by import.CmsSecurityManager.importUser(CmsRequestContext context, String id, String name, String password, String firstname, String lastname, String email, int flags, long dateCreated, Map<String, Object> additionalInfos) Creates a new user by import.CmsDriverManager.lockedBy(CmsDbContext dbc, CmsResource resource) Returns the user, who had locked the resource.CmsDriverManager.loginUser(CmsDbContext dbc, String userName, String password, CmsSecondFactorInfo secondFactorInfo, String remoteAddress, CmsDriverManager.LoginUserMode mode) Attempts to authenticate a user into OpenCms with the given password.CmsSecurityManager.loginUser(CmsRequestContext context, String username, String password, CmsSecondFactorInfo code, String remoteAddress) Attempts to authenticate a user into OpenCms with the given password.CmsDriverManager.readOwner(CmsDbContext dbc, CmsProject project) Reads the owner of a project.CmsSecurityManager.readOwner(CmsRequestContext context, CmsProject project) Reads the owner of a project from the OpenCms.CmsDriverManager.readUser(CmsDbContext dbc, String username) Returns a user object.CmsDriverManager.readUser(CmsDbContext dbc, String username, String password) Returns a user object if the password for the user is correct.CmsDriverManager.readUser(CmsDbContext dbc, CmsUUID id) Returns a user object based on the id of a user.CmsSecurityManager.readUser(CmsRequestContext context, String username) Returns a user object.CmsSecurityManager.readUser(CmsRequestContext context, String username, String password) Returns a user object if the password for the user is correct.CmsSecurityManager.readUser(CmsRequestContext context, CmsUUID id) Returns a user object based on the id of a user.I_CmsUserDriver.readUser(CmsDbContext dbc, String userFqn) Reads a user based in the user fully qualified name.I_CmsUserDriver.readUser(CmsDbContext dbc, String userFqn, String password, String remoteAddress) Reads a user from the database, only if the password is correct.I_CmsUserDriver.readUser(CmsDbContext dbc, CmsUUID id) Reads a user based on the user id.Methods in org.opencms.db that return types with arguments of type CmsUserModifier and TypeMethodDescriptionCmsDriverManager.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.getUsersOfGroup(CmsDbContext dbc, String groupname, boolean includeOtherOuUsers, boolean directUsersOnly, boolean readRoles) Returns a list of users in a group.CmsSecurityManager.getUsersOfGroup(CmsRequestContext context, String groupname, boolean includeOtherOuUsers, boolean directUsersOnly, boolean readRoles) Returns a list of users in a group.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.CmsDriverManager.readResponsibleUsers(CmsDbContext dbc, CmsResource resource) Returns the set of users that are responsible for a specific resource.CmsSecurityManager.readResponsibleUsers(CmsRequestContext context, CmsResource resource) Returns a set of users that are responsible for a specific resource.I_CmsUserDriver.readUsersOfGroup(CmsDbContext dbc, String groupFqn, boolean includeOtherOuUsers) Reads all users that are members of the given group.CmsDriverManager.searchUsers(CmsDbContext dbc, CmsUserSearchParameters searchParams) Searches for users which fit the given criteria.CmsSecurityManager.searchUsers(CmsRequestContext requestContext, CmsUserSearchParameters searchParams) Searches users by search criteria.I_CmsUserDriver.searchUsers(CmsDbContext dbc, CmsUserSearchParameters searchParams) Searches for users which match the given search criteria.Methods in org.opencms.db with parameters of type CmsUserModifier and TypeMethodDescriptionbooleanCmsLoginManager.canLockBecauseOfInactivity(CmsObject cms, CmsUser user) Checks whether a user account can be locked because of inactivity.booleanCmsLoginManager.checkInactive(CmsUser user) Checks whether the given user has been inactive for longer than the configured limit.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.protected voidCmsSecurityManager.deleteUser(CmsRequestContext context, CmsUser user, CmsUser replacement) Deletes a user, where all permissions and resources attributes of the user were transfered to a replacement user, if given.CmsCacheKey.getCacheKeyForUserGroups(String prefix, CmsDbContext context, CmsUser user) I_CmsCacheKey.getCacheKeyForUserGroups(String prefix, CmsDbContext context, CmsUser user) Returns the cache key for the user groups cache.longCmsDriverManager.getDateLastVisitedBy(CmsDbContext dbc, String poolName, CmsUser user, CmsResource resource) Returns the date when the resource was last visited by the user.longCmsSecurityManager.getDateLastVisitedBy(CmsRequestContext context, String poolName, CmsUser user, CmsResource resource) Returns the date when the resource was last visited by the user.longCmsSubscriptionManager.getDateLastVisitedBy(CmsObject cms, CmsUser user, String resourcePath) Returns the date when the resource was last visited by the user.longCmsSubscriptionManager.getDateLastVisitedBy(CmsObject cms, CmsUser user, CmsResource resource) Returns the date when the resource was last visited by the user.longI_CmsSubscriptionDriver.getDateLastVisitedBy(CmsDbContext dbc, String poolName, CmsUser user, CmsResource resource) Returns the date when the resource was last visited by the user.CmsDriverManager.getPermissions(CmsDbContext dbc, CmsResource resource, CmsUser user) Returns the set of permissions of the current user for a given resource.CmsSecurityManager.getPermissions(CmsRequestContext context, CmsResource resource, CmsUser user) Returns the set of permissions of the current user for a given resource.CmsDriverManager.getRolesForResource(CmsDbContext dbc, CmsUser user, CmsResource resource) Returns all roles the given user has for the given resource.CmsSecurityManager.getRolesForResource(CmsRequestContext context, CmsUser user, CmsResource resource) Returns all roles the given user has for the given resource.CmsDriverManager.getRolesForUser(CmsDbContext dbc, CmsUser user) Returns all roles the given user has independent of the resource.booleanCmsSecurityManager.hasRole(CmsDbContext dbc, CmsUser user, CmsRole role) Checks if the given user has the given role in the given organizational unit.booleanCmsSecurityManager.hasRole(CmsRequestContext context, CmsUser user, CmsRole role) Checks if the given user has the given role in the given organizational unit.booleanCmsSecurityManager.hasRoleForResource(CmsDbContext dbc, CmsUser user, CmsRole role, CmsResource resource) Checks if the given user has the given role for the given resource.booleanCmsSecurityManager.hasRoleForResource(CmsRequestContext context, CmsUser user, CmsRole role, CmsResource resource) Checks if the given user has the given role for the given resource.voidInitializes the user settings with the given users setting parameters.booleanCmsLoginManager.isExcludedFromPasswordReset(CmsObject cms, CmsUser user) Checks if the user should be excluded from password reset.booleanCmsLoginManager.isPasswordReset(CmsObject cms, CmsUser user) Checks if password has to be reset.booleanCmsLoginManager.isUserLocked(CmsUser user) Checks if a user is locked due to too many failed logins.voidCmsDriverManager.markResourceAsVisitedBy(CmsDbContext dbc, String poolName, CmsResource resource, CmsUser user) Mark the given resource as visited by the user.voidCmsSecurityManager.markResourceAsVisitedBy(CmsRequestContext context, String poolName, CmsResource resource, CmsUser user) Mark the given resource as visited by the user.voidCmsSubscriptionManager.markResourceAsVisitedBy(CmsObject cms, String resourcePath, CmsUser user) Mark the given resource as visited by the user.voidCmsSubscriptionManager.markResourceAsVisitedBy(CmsObject cms, CmsResource resource, CmsUser user) Mark the given resource as visited by the user.voidI_CmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc, String poolName, CmsResource resource, CmsUser user) Mark the given resource as visited by the user.I_CmsProjectDriver.readProjectsForUser(CmsDbContext dbc, CmsUser user) Reads all projects which are owned by a specified user.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.CmsSubscriptionManager.readSubscribedDeletedResources(CmsObject cms, CmsUser user, boolean includeGroups, String folderPath, 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.booleanCmsLoginManager.requiresPasswordChange(CmsObject cms, CmsUser user) Checks if a user is required to change his password now.booleanCmsLoginManager.requiresUserDataCheck(CmsObject cms, CmsUser user) Checks if a user is required to change his password now.voidSets the current user for the settings.voidSets the user to check the visited resources for.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.voidCmsLoginManager.unlockUser(CmsObject cms, CmsUser user) Unlocks a user who has exceeded his number of failed login attempts so that he can try to log in again.voidCmsDriverManager.updateLastLoginDate(CmsDbContext dbc, CmsUser user) Updates the last login date on the given user to the current time.voidCmsSecurityManager.updateLastLoginDate(CmsRequestContext context, CmsUser user) Updates the last login date on the given user to the current time.voidCmsDriverManager.writeUser(CmsDbContext dbc, CmsUser user) Updates the user information.voidCmsSecurityManager.writeUser(CmsRequestContext context, CmsUser user) Updates the user information.voidI_CmsUserDriver.writeUser(CmsDbContext dbc, CmsUser user) Updates the user information.Constructors in org.opencms.db with parameters of type CmsUserModifierConstructorDescriptionCmsUserSettings(CmsUser user) Creates a user settings object with initialized settings of the user. -
Uses of CmsUser in org.opencms.db.generic
Methods in org.opencms.db.generic that return CmsUserModifier and TypeMethodDescriptionCmsUserDriver.createUser(CmsDbContext dbc, CmsUUID id, String userFqn, String password, String firstname, String lastname, String email, long lastlogin, int flags, long dateCreated, Map<String, Object> additionalInfos) protected CmsUserCmsUserDriver.internalCreateUser(CmsDbContext dbc, ResultSet res) Semi-constructor to create aCmsUserinstance from a JDBC result set.CmsUserDriver.readUser(CmsDbContext dbc, String userFqn) CmsUserDriver.readUser(CmsDbContext dbc, String userFqn, String password, String remoteAddress) CmsUserDriver.readUser(CmsDbContext dbc, CmsUUID id) Methods in org.opencms.db.generic that return types with arguments of type CmsUserModifier and TypeMethodDescriptionCmsUserDriver.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.CmsUserDriver.readUsersOfGroup(CmsDbContext dbc, String groupFqn, boolean includeOtherOuUsers) CmsUserDriver.searchUsers(CmsDbContext dbc, CmsUserSearchParameters searchParams) Methods in org.opencms.db.generic with parameters of type CmsUserModifier and TypeMethodDescriptionCmsProjectDriver.createProject(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, String projectFqn, String description, int flags, CmsProject.CmsProjectType type) longCmsSubscriptionDriver.getDateLastVisitedBy(CmsDbContext dbc, String poolName, CmsUser user, CmsResource resource) voidCmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc, String poolName, CmsResource resource, CmsUser user) CmsProjectDriver.readProjectsForUser(CmsDbContext dbc, CmsUser user) CmsSubscriptionDriver.readSubscribedDeletedResources(CmsDbContext dbc, String poolName, CmsUser user, List<CmsGroup> groups, CmsResource parent, boolean includeSubFolders, long deletedFrom) voidCmsUserDriver.setUsersOrganizationalUnit(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, CmsUser user) voidCmsUserDriver.writeUser(CmsDbContext dbc, CmsUser user) -
Uses of CmsUser in org.opencms.db.mysql
Methods in org.opencms.db.mysql with parameters of type CmsUserModifier and TypeMethodDescriptionvoidCmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc, String poolName, CmsResource resource, CmsUser user) -
Uses of CmsUser in org.opencms.db.oracle
Methods in org.opencms.db.oracle with parameters of type CmsUserModifier and TypeMethodDescriptionvoidCmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc, String poolName, CmsResource resource, CmsUser user) -
Uses of CmsUser in org.opencms.file
Methods in org.opencms.file that return CmsUserModifier and TypeMethodDescriptionCmsUser.clone()CmsObject.createUser(String userFqn, String password, String description, Map<String, Object> additionalInfos) Creates a new user.CmsRequestContext.currentUser()Deprecated.CmsRequestContext.getCurrentUser()Returns the current user object.CmsObject.importUser(String id, String name, String password, String firstname, String lastname, String email, int flags, long dateCreated, Map<String, Object> additionalInfos) Creates a new user by import.CmsObject.readOwner(CmsProject project) Reads the owner of a project.Reads a user based on its name.Returns a user, if the password is correct.Reads a user based on its id.Methods in org.opencms.file that return types with arguments of type CmsUserModifier and TypeMethodDescriptionCmsObject.getUsersOfGroup(String groupname) Returns all direct users of a given group.CmsObject.getUsersOfGroup(String groupname, boolean includeOtherOus) Returns all direct users of a given group.CmsObject.readResponsibleUsers(CmsResource resource) Returns a set of users that are responsible for a specific resource.Methods in org.opencms.file with parameters of type CmsUserModifier and TypeMethodDescriptionintCmsUser.getChanges(CmsUser oldUser) Returns the changes of this user compared to the previous user data.static StringCmsUser.getFullName(CmsUser user) Returns the "full" name of the given user in the format"{firstname} {lastname} ({username})", or the empty String""if the user is null.protected voidCmsRequestContext.switchUser(CmsUser user, CmsProject project, String ouFqn) Switches the user in the context, required after a login.voidCmsObject.updateLastLoginDate(CmsUser user) Updates the last login date on the given user to the current time.voidUpdates the user information.Constructors in org.opencms.file with parameters of type CmsUserModifierConstructorDescriptionCmsRequestContext(CmsUser user, CmsProject project, String requestedUri, CmsSiteMatcher requestMatcher, String siteRoot, boolean isSecureRequest, Locale locale, String encoding, String remoteAddr, long requestTime, CmsResourceTranslator directoryTranslator, CmsResourceTranslator fileTranslator, String ouFqn, boolean forceAbsoluteLinks) Constructs a new request context. -
Uses of CmsUser in org.opencms.file.wrapper
Methods in org.opencms.file.wrapper that return CmsUser -
Uses of CmsUser in org.opencms.i18n
Methods in org.opencms.i18n with parameters of type CmsUserModifier and TypeMethodDescriptionCmsDefaultLocaleHandler.getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resourceName) CmsLocaleManager.getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resource) Returns the the appropriate locale/encoding for a request, using the "right" locale handler for the given resource.CmsSingleTreeLocaleHandler.getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resourceName) I_CmsLocaleHandler.getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resource) Returns the i18n information to use in the request context. -
Uses of CmsUser in org.opencms.importexport
Fields in org.opencms.importexport declared as CmsUserModifier and TypeFieldDescriptionprotected CmsUserCmsImportVersion10.m_userThe current imported user.Methods in org.opencms.importexport with parameters of type CmsUserModifier and TypeMethodDescriptionprotected voidCmsExport.exportUser(org.dom4j.Element parent, CmsUser user) Exports one single user with all its data. -
Uses of CmsUser in org.opencms.jsp
Methods in org.opencms.jsp that return CmsUserModifier and TypeMethodDescriptionCmsJspLoginBean.getUser()Returns the currently logged in user.Methods in org.opencms.jsp with parameters of type CmsUserModifier and TypeMethodDescriptionprotected static StringCmsJspTagUserTracking.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 booleanCmsJspTagUserTracking.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.protected static booleanCmsJspTagUserTracking.isResourceVisited(CmsObject cms, String fileName, boolean subFolder, CmsUser user, javax.servlet.http.HttpServletRequest req) Returns if the given resource was visited by the user. -
Uses of CmsUser in org.opencms.jsp.userdata
Methods in org.opencms.jsp.userdata that return types with arguments of type CmsUserModifier and TypeMethodDescriptionCmsUserDataRequestManager.getUsersByEmail(CmsObject cms, String email) Gets all users with a given email address (maximum of 999).Methods in org.opencms.jsp.userdata with parameters of type CmsUserModifier and TypeMethodDescriptionbooleanCmsUserDataRequestManager.getInfoForUser(CmsObject cms, I_CmsUserDataDomain.Mode mode, CmsUser user, org.jsoup.nodes.Element root, I_CmsReport report) Gets the user data for a specific OpenCms user.booleanCmsDefaultUserDataDomain.matchesUser(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) booleanCmsUserDataHeader.matchesUser(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) booleanI_CmsUserDataDomain.matchesUser(CmsObject cms, CmsUserDataRequestType reqType, CmsUser user) Checks if the user matches the domain for the given user data request type.voidCmsUserDataRequestManager.startUserDataRequest(CmsObject cms, CmsUserDataRequestConfig config, CmsUser user) Starts a user data request for the single user case (with user name and password).Method parameters in org.opencms.jsp.userdata with type arguments of type CmsUserModifier and TypeMethodDescriptionvoidCmsDefaultUserDataDomain.appendInfoHtml(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> users, org.jsoup.nodes.Element element) voidCmsUserDataHeader.appendInfoHtml(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> user, org.jsoup.nodes.Element element) voidI_CmsUserDataDomain.appendInfoHtml(CmsObject cms, CmsUserDataRequestType reqType, List<CmsUser> user, org.jsoup.nodes.Element element) Appends the user data to the given HTML element. -
Uses of CmsUser in org.opencms.jsp.util
Methods in org.opencms.jsp.util that return CmsUserModifier and TypeMethodDescriptionCmsJspVfsAccessBean.getCurrentUser()Returns the current user from the context. -
Uses of CmsUser in org.opencms.lock
Methods in org.opencms.lock that return CmsUserModifier and TypeMethodDescriptionCmsLockFilter.getLockableByUserId()Returns the user that can overwrite the locks.CmsLockFilter.getNotLockableByUserId()Returns the user that can not overwrite the locks.Methods in org.opencms.lock with parameters of type CmsUserModifier and TypeMethodDescriptionvoidCmsLockManager.addResource(CmsDbContext dbc, CmsResource resource, CmsUser user, CmsProject project, CmsLockType type) Adds a resource to the lock manager.CmsLockFilter.filterLockableByUser(CmsUser user) Returns an extended filter with the given user restriction.CmsLockFilter.filterNotLockableByUser(CmsUser user) Returns an extended filter with the given user restriction.booleanCmsLock.isDirectlyOwnedBy(CmsUser user) Returnstrueif this is an exclusive, temporary exclusive, or directly inherited lock, and the given user is the owner of this lock.booleanCmsLock.isDirectlyOwnedInProjectBy(CmsUser user, CmsProject project) Returnstrueif this is an exclusive, temporary exclusive, or directly inherited lock, and the given user is the owner of this lock, checking also the project of the lock.booleanCmsLock.isExclusiveOwnedBy(CmsUser user) Returnstrueif this is an exclusive (or temporary exclusive) lock, and the given user is the owner of this lock.booleanCmsLock.isExclusiveOwnedInProjectBy(CmsUser user, CmsProject project) Returnstrueif this is an exclusive (or temporary exclusive) lock, and the given user is the owner and the given project is the project of this lock.booleanCmsLock.isLockableBy(CmsUser user) Checks if a resource can be locked by a user.booleanReturnstrueif the given user is the owner of this lock.booleanCmsLock.isOwnedInProjectBy(CmsUser user, CmsProject project) Returnstrueif the given user is the owner of this lock, and this lock belongs to the given project. -
Uses of CmsUser in org.opencms.main
Methods in org.opencms.main that return CmsUserModifier and TypeMethodDescriptionCmsBroadcast.getUser()Returns the user that was the sender of this broadcast.CmsContextInfo.getUser()Returns the user, ornullif the user has not been configured.Methods in org.opencms.main with parameters of type CmsUserModifier and TypeMethodDescriptionvoidCmsSessionManager.checkCreateSessionForUser(CmsUser user) Checks whether a new session can be created for the user, and throws an exception if not.voidCmsSessionManager.killSession(CmsObject cms, CmsUser user) Kills all sessions for the given user.voidCmsSessionManager.sendBroadcast(CmsUser fromUser, String message, CmsUser toUser) Deprecated.voidCmsSessionManager.sendBroadcast(CmsUser fromUser, String message, CmsUser toUser, CmsBroadcast.ContentMode mode) Sends a broadcast to all sessions of a given user.CmsSessionManager.switchUser(CmsObject cms, javax.servlet.http.HttpServletRequest req, CmsUser user) Switches the current user to the given user.CmsSessionManager.switchUserFromSession(CmsObject cms, javax.servlet.http.HttpServletRequest req, CmsUser user, CmsSessionInfo sessionInfo) Switches the current user to the given user.Constructors in org.opencms.main with parameters of type CmsUserModifierConstructorDescriptionCmsBroadcast(CmsUser sender, String message) Deprecated.use the constructors with the content mode insteadCmsBroadcast(CmsUser sender, String message, boolean repeat) Deprecated.use the constructors with the content mode insteadCmsBroadcast(CmsUser sender, String message, boolean repeat, CmsBroadcast.ContentMode mode) Creates a new broadcast, with the current system time set as send time.CmsBroadcast(CmsUser sender, String message, long sendTime, long lastDisplay, boolean repeat) Deprecated.use the constructors with the content mode insteadCmsBroadcast(CmsUser sender, String message, long sendTime, long lastDisplay, boolean repeat, CmsBroadcast.ContentMode mode) Deprecated.CmsBroadcast(CmsUser sender, String message, CmsBroadcast.ContentMode mode) Creates a new broadcast, with the current system time set as send time.CmsContextInfo(CmsUser user, CmsProject project, String requestedUri, CmsSiteMatcher requestMatcher, String siteRoot, boolean isSecureRequest, Locale locale, String encoding, String remoteAddr, long requestTime, String ouFqn, boolean isForceAbsoluteLinks) Creates a new instance with all context variables initialized. -
Uses of CmsUser in org.opencms.monitor
Methods in org.opencms.monitor that return CmsUserModifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedUser(String key) Returns the user cached with the given cache key ornullif not found.Methods in org.opencms.monitor that return types with arguments of type CmsUserModifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedUserList(String key) Returns the user list cached with the given cache key ornullif not found.Methods in org.opencms.monitor with parameters of type CmsUserModifier and TypeMethodDescriptionvoidCaches the given user under its id AND the fully qualified name.voidCmsMemoryMonitor.clearUserCache(CmsUser user) Clears the user cache for the given user.voidCmsGroupListCache.setBareRoles(CmsUser user, List<CmsRole> bareRoles) Sets the bare roles for a user (with no OU information).voidCaches a new value for the given combination of keys.voidCmsGroupListCache.setHasRole(CmsUser user, String roleKey, Boolean value) Caches the role membership for the given user id and role key.voidCmsMemoryMonitor.uncacheUser(CmsUser user) Removes the given user from the cache.Method parameters in org.opencms.monitor with type arguments of type CmsUserModifier and TypeMethodDescriptionvoidCmsMemoryMonitor.cacheUserList(String key, List<CmsUser> userList) Caches the given list of users under the given cache key. -
Uses of CmsUser in org.opencms.notification
Methods in org.opencms.notification that return CmsUserModifier and TypeMethodDescriptionA_CmsNotification.getReceiver()Returns the receiver.CmsContentNotification.getResponsible()Returns the responsible.Constructors in org.opencms.notification with parameters of type CmsUserModifierConstructorDescriptionA_CmsNotification(CmsObject cms, CmsUser receiver) Creates a new A_CmsNotification.CmsNotificationMacroResolver(CmsObject cms, CmsUser receiver) public constructor.CmsPublishNotification(CmsObject cms, CmsUser receiver, I_CmsReport report) Creates a new CmsPublishNotification. -
Uses of CmsUser in org.opencms.publish
Methods in org.opencms.publish that return CmsUserMethods in org.opencms.publish with parameters of type CmsUserModifier and TypeMethodDescriptionCmsPublishManager.getPublishHistory(CmsUser user) Returns the publish history list with already publish jobs, filtered by the given user. -
Uses of CmsUser in org.opencms.security
Methods in org.opencms.security that return CmsUserModifier and TypeMethodDescriptionCmsPersistentLoginTokenHandler.validateToken(String tokenString) Validates a token and returns the matching user for which the token is valid.Methods in org.opencms.security that return types with arguments of type CmsUserModifier and TypeMethodDescriptionCmsPrincipal.filterCoreUsers(List<CmsUser> users) Filters out all users with flags greater than.I_CmsPrincipal.FLAG_CORE_LIMITCmsRoleManager.getManageableUsers(CmsObject cms, String ouFqn, boolean includeSubOus) Returns all users of organizational units for which the current user has theCmsRole.ACCOUNT_MANAGERrole.CmsRoleManager.getManageableUsers(CmsObject cms, String ouFqn, boolean includeSubOus, boolean includeWebusers) Returns all users of organizational units for which the current user has theCmsRole.ACCOUNT_MANAGERrole.Returns all users of the given organizational unit.CmsRoleManager.getUsersOfRole(CmsObject cms, CmsRole role, boolean includeOtherOuUsers, boolean directUsersOnly) Returns all direct users of a given role, in the given organizational unit.CmsOrgUnitManager.getUsersWithoutAdditionalInfo(CmsObject cms, String ouFqn, boolean recursive) Returns all users of the given organizational unit, without their additional info.CmsOrgUnitManager.searchUsers(CmsObject cms, CmsUserSearchParameters params) Searches users which fit the given search parameters.Methods in org.opencms.security with parameters of type CmsUserModifier and TypeMethodDescriptionCalculates 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.CmsRoleManager.getRolesForResource(CmsObject cms, CmsUser user, CmsResource resource) Returns all roles the given user has over the given resource.voidCmsPersistentLoginTokenHandler.invalidateToken(CmsUser user, String token) Invalidates all tokens for the given user.voidCmsPersistentLoginTokenHandler.removeExpiredTokens(CmsUser user, long now) Removes expired tokens from the user's additional infos.Method parameters in org.opencms.security with type arguments of type CmsUserModifier and TypeMethodDescriptionCmsPrincipal.filterCoreUsers(List<CmsUser> users) Filters out all users with flags greater than.I_CmsPrincipal.FLAG_CORE_LIMIT -
Uses of CmsUser in org.opencms.security.twofactor
Methods in org.opencms.security.twofactor that return CmsUserModifier and TypeMethodDescriptionCmsTwoFactorAuthenticationUserPolicy.UserCheckContext.getUser()Gets the user.Methods in org.opencms.security.twofactor with parameters of type CmsUserModifier and TypeMethodDescriptionCmsTwoFactorAuthenticationHandler.generateSetupInfo(CmsUser user) Generates the information needed to share a secret with the user for the purpose of setting up 2FA.booleanCmsTwoFactorAuthenticationHandler.hasSecondFactor(CmsUser user) Checks if there is already a second factor configured for the given user.booleanCmsTwoFactorAuthenticationHandler.needsTwoFactorAuthentication(CmsUser user) Checks if two-factor authentication should be used for the given user.voidCmsTwoFactorAuthenticationHandler.resetTwoFactorAuthentication(CmsUser user) Deletes the two-factor authentication in the user object, but does not write the user to the database.booleanCmsTwoFactorAuthenticationHandler.setUpAndVerifySecondFactor(CmsUser newUser, CmsSecondFactorInfo code) Sets up the second factor for the given user, and immediately verifies it with the authentication code given.booleanCmsTwoFactorAuthenticationUserPolicy.shouldUseTwoFactorAuthentication(CmsObject cms, CmsUser user) Checks whether the given user should use two-factor-authentication according to this policy.voidCmsTwoFactorAuthenticationHandler.trackUserChange(CmsRequestContext requestContext, CmsUser oldUser, CmsUser newUser) Gets called when a user is changed so we can check if the second factor information was changed and generate appropriate log messages.booleanCmsTwoFactorAuthenticationHandler.verifySecondFactor(CmsUser user, CmsSecondFactorInfo secondFactorInfo) Verifies the second factor information for a user.Constructors in org.opencms.security.twofactor with parameters of type CmsUserModifierConstructorDescriptionUserCheckContext(CmsObject cms, CmsUser user) Creates a new instance. -
Uses of CmsUser in org.opencms.ugc
Methods in org.opencms.ugc that return types with arguments of type CmsUserModifier and TypeMethodDescriptioncom.google.common.base.Optional<CmsUser> CmsUgcConfiguration.getUserForGuests()Returns the user which should be used for VFS operations when guests submit the XML content form.Constructor parameters in org.opencms.ugc with type arguments of type CmsUserModifierConstructorDescriptionCmsUgcConfiguration(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 CmsUser in org.opencms.ui
Methods in org.opencms.ui with parameters of type CmsUserModifier and TypeMethodDescriptionCmsUserIconHelper.getBigIconPath(CmsObject cms, CmsUser user) Returns the big ident-icon path for the given user.static com.vaadin.v7.data.util.IndexedContainerCmsVaadinUtils.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.static com.vaadin.v7.data.util.IndexedContainerCmsVaadinUtils.getRoleContainerForUser(CmsObject cms, CmsUser user, String captionPropertyName) Returns the roles available for a given user.CmsUserIconHelper.getSmallIconPath(CmsObject cms, CmsUser user) Returns the small ident-icon path for the given user.CmsUserIconHelper.getTinyIconPath(CmsObject cms, CmsUser user) Returns the tiny ident-icon path for the given user.booleanCmsUserIconHelper.handleImageUpload(CmsObject cms, CmsUser user, String uploadedFile) Handles a user image upload.static booleanCmsUserIconHelper.hasUserImage(CmsUser user) Checks whether the given user has an individual user image.voidCmsUserIconHelper.setUserImage(CmsObject cms, CmsUser user, String rootPath) Sets the user image for the given user. -
Uses of CmsUser in org.opencms.ui.apps.sessions
Methods in org.opencms.ui.apps.sessions with parameters of type CmsUserModifier and TypeMethodDescriptionstatic voidCmsUserInfoDialog.showUserInfo(CmsUser user) Shows a dialog with user information. -
Uses of CmsUser in org.opencms.ui.apps.user
Methods in org.opencms.ui.apps.user that return types with arguments of type CmsUserModifier and TypeMethodDescriptionCmsImportExportUserDialog.addExportAllUsers(CmsObject cms, String ou, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.CmsImportExportUserDialog.addExportUsersFromGroups(CmsObject cms, List<String> groups, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.CmsImportExportUserDialog.addExportUsersFromRoles(CmsObject cms, String ou, List<String> roles, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.CmsAccountsApp.getFullUser(List<CmsUser> users) Gets the full user List including additionInfos.CmsImportExportUserDialog.getUsersFromFile()Reads user from import file.CmsAccountsApp.getUsersWithoutAdditionalInfo(CmsObject cms, I_CmsOuTreeType type, String ou, boolean recursive) Gets list of users for organizational unit.CmsAccountsApp.getVisibleUser()Gets all currently visible user.CmsUserTable.getVisibleUser()Gets currently visible user.Methods in org.opencms.ui.apps.user with parameters of type CmsUserModifier and TypeMethodDescriptionprotected voidCmsUserTable.addUserToContainer(com.vaadin.v7.data.util.IndexedContainer container, CmsUser user) Adds given user to given IndexedContainer.booleanCmsAccountsApp.checkAddGroup(CmsUser principal, Set<String> data) Checks if a set of groups can be added to a user.booleanCmsAccountsApp.checkRemoveGroups(CmsUser principal, Set<String> items) Checks if a user can be removed from a set of groups.protected voidFills the container item for a user.CmsAccountsApp.getUserEditParameters(CmsUser user) Gets the user edit parameters.com.vaadin.v7.data.util.IndexedContainerCmsAccountsApp.getUserGroupsEditorContainer(CmsUser user, String propName, String propIcon, String propStatus) Gets the container for the groups of an user for the purpose of editing them.voidInit method.protected booleanA_CmsImportExportUserDialog.isExportable(CmsUser exportUser) Checks if the user can be exported.protected static voidCmsUserEditDialog.sendMail(CmsObject cms, String password, CmsUser user, boolean newUser, boolean changePassword) Sends an email to the user.protected static voidCmsUserEditDialog.sendMail(CmsObject cms, String password, CmsUser user, String ou, boolean newUser, boolean changePassword) Sends an email to the user.Method parameters in org.opencms.ui.apps.user with type arguments of type CmsUserModifier and TypeMethodDescriptionCmsImportExportUserDialog.addExportAllUsers(CmsObject cms, String ou, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.CmsImportExportUserDialog.addExportUsersFromGroups(CmsObject cms, List<String> groups, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.CmsImportExportUserDialog.addExportUsersFromRoles(CmsObject cms, String ou, List<String> roles, Map<CmsUUID, CmsUser> exportUsers) Returns a map with the users to export added.CmsAccountsApp.getFullUser(List<CmsUser> users) Gets the full user List including additionInfos.Constructors in org.opencms.ui.apps.user with parameters of type CmsUserModifierConstructorDescriptionCmsSendPasswordNotification(CmsObject cms, String password, CmsUser receiver, String ou, CmsUser adminUser, boolean newUser, boolean tempPassword) Public constructor.CmsSendPasswordNotification(CmsObject cms, String password, CmsUser receiver, String ou, CmsUser adminUser, String link, boolean newUser, boolean tempPassword) Deprecated.Constructor parameters in org.opencms.ui.apps.user with type arguments of type CmsUserModifierConstructorDescriptionprotectedCmsImportUserThread(CmsObject cms, String ou, List<CmsUser> userList, List<String> groups, List<CmsRole> roles, boolean sendmail) public constructor.CmsResourceInfoTable(Set<CmsResource> resources, List<CmsUser> user) public constructor. -
Uses of CmsUser in org.opencms.ui.components
Methods in org.opencms.ui.components with parameters of type CmsUserModifier and TypeMethodDescriptionvoidCmsUserDataFormLayout.initFields(CmsUser user) Initializes available fields for given user.voidCmsUserDataFormLayout.initFields(CmsUser user, CmsUserDataFormLayout.EditLevel editLevel) voidStore fields to given user.voidStore fields to given user. -
Uses of CmsUser in org.opencms.ui.login
Methods in org.opencms.ui.login that return CmsUserModifier and TypeMethodDescriptionCmsLoginController.LoginContext.getUser()Gets the user to be logged in.CmsTokenValidator.getUser()Gets the user.Methods in org.opencms.ui.login with parameters of type CmsUserModifier and TypeMethodDescriptionstatic voidCmsTokenValidator.clearToken(CmsObject cms, CmsUser user) Removes an authorization token from the user's additional information.static StringCmsTokenValidator.createToken(CmsObject cms, CmsUser user, long currentTime) Creates a new token for the given user and stores it in the user's additional info.static StringCmsSecondFactorDialog.getCaption(CmsUser user) Gets the caption to use for the dialog window.voidSets the user.Constructors in org.opencms.ui.login with parameters of type CmsUserModifierConstructorDescriptionCmsChangePasswordDialog(CmsObject cms, CmsUser user, Locale locale) Creates a new instance.CmsPasswordChangeNotification(CmsObject cms, CmsUser receiver, String link, String expiration) Creates a new instance.CmsSecondFactorDialog(CmsUser user, Consumer<String> verificationCodeHandler) Creates a new instance.CmsSetPasswordDialog(CmsObject cms, CmsUser user, Locale locale) Creates a new instance. -
Uses of CmsUser in org.opencms.workflow
Methods in org.opencms.workflow that return types with arguments of type CmsUserModifier and TypeMethodDescriptionCmsExtendedWorkflowManager.getNotificationMailRecipients()Gets the list of recipients for the notifications.Methods in org.opencms.workflow with parameters of type CmsUserModifier and TypeMethodDescriptionprotected voidCmsExtendedWorkflowManager.sendNotification(CmsObject userCms, CmsUser recipient, CmsProject workflowProject, List<CmsResource> resources) Sends the notification for released resources.Constructors in org.opencms.workflow with parameters of type CmsUserModifierConstructorDescriptionCmsWorkflowNotification(CmsObject adminCms, CmsObject userCms, CmsUser receiver, String notificationContent, CmsProject project, List<CmsResource> resources, String link) Creates a new workflow notification mail object. -
Uses of CmsUser in org.opencms.workplace
Methods in org.opencms.workplace that return CmsUserModifier and TypeMethodDescriptionCmsWorkplaceSettings.getUser()Returns the current workplace user.Methods in org.opencms.workplace with parameters of type CmsUserModifier and TypeMethodDescriptionCmsWorkplaceManager.getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resource) Returns the account info value for the given user.CmsWorkplaceManager.getWorkplaceLocale(CmsUser user) Returns the workplace locale for the user.voidSets the current workplace user.
CmsRequestContext.getCurrentUser()instead