Uses of Class
com.jbstrap.core.CurrentUser
Package
Description
-
Uses of CurrentUser in com.jbstrap.core
Modifier and TypeMethodDescriptionAdds the specified role to the userAdds multiple roles to the userAdds the specified list of roles to the userCurrentUser.copy()
CurrentUser.setCurrentRole
(Role currentRole) Sets the user's current roleSets the user's e-mail addressSets the user's full nameSets the user's roles.CurrentUser.setTelephoneNumber
(String telephoneNumber) Sets the user's telephone numberCurrentUser.setUserName
(String userName) Sets the user nameSets the user's UUIDModifier and TypeMethodDescriptionstatic void
JBStrap.loginUser
(Client client, CurrentUser user) Logs the specified user into the application. -
Uses of CurrentUser in com.jbstrap.core.cache
Modifier and TypeMethodDescriptionvoid
UserCache.addUser
(CurrentUser user) boolean
MenuItem.isAccess
(CurrentUser user) -
Uses of CurrentUser in com.jbstrap.core.interfaces
Modifier and TypeMethodDescriptionChecks the user's data, and creates the POJO class that represents the user.Modifier and TypeMethodDescriptiondefault boolean
AuthenticationInterface.logout
(Client client, CurrentUser currentUser) Handles the user logout event. -
Uses of CurrentUser in com.jbstrap.core.meta.interfaces
Modifier and TypeMethodDescriptionCalculateColumnValue.calculateValue
(Record rec, CurrentUser user) The method that calculates the column value -
Uses of CurrentUser in com.jbstrap.core.websocket
Modifier and TypeMethodDescriptionfinal CurrentUser
Client.getCurrentUser()
Gets the users who are currently logged instatic CurrentUser
JBStrapEndPoint.getUserFromUUID
(String userUUID) Get user object from user unique ID -
Uses of CurrentUser in com.jbstrap.ui
Modifier and TypeMethodDescriptionprotected final CurrentUser
Checks (authenticates) the specified user's dataUI.getCurrentUser()
Gets the object containing the data of the currently logged in userModifier and TypeMethodDescriptionprotected void
BaseLoginPage.loginUser
(CurrentUser user) Logs the user in.