Uses of Class
io.goobi.viewer.model.security.user.User
Packages that use User
Package
Description
-
Uses of User in io.goobi.viewer.api.rest.model
Constructors in io.goobi.viewer.api.rest.model with parameters of type UserModifierConstructorDescriptionUserJsonFacade(User user) UserJsonFacade(User user, jakarta.servlet.http.HttpServletRequest request) -
Uses of User in io.goobi.viewer.api.rest.resourcebuilders
Methods in io.goobi.viewer.api.rest.resourcebuilders with parameters of type UserModifier and TypeMethodDescriptionbooleanisInGroup.Constructors in io.goobi.viewer.api.rest.resourcebuilders with parameters of type User -
Uses of User in io.goobi.viewer.api.rest.v1.annotations
Methods in io.goobi.viewer.api.rest.v1.annotations that return User -
Uses of User in io.goobi.viewer.api.rest.v2.annotations
Methods in io.goobi.viewer.api.rest.v2.annotations that return User -
Uses of User in io.goobi.viewer.dao
Methods in io.goobi.viewer.dao that return UserModifier and TypeMethodDescriptionIDAO.getUser(long id) getUser.IDAO.getUserByEmail(String email) getUserByEmail.IDAO.getUserByNickname(String nickname) getUserByNickname.IDAO.getUserByOpenId(String identifier) getUserByOpenId.Methods in io.goobi.viewer.dao that return types with arguments of type UserModifier and TypeMethodDescriptionIDAO.getAdminUsers()IDAO.getAllUsers(boolean refresh) getAllUsers.IDAO.getUsers(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getUsers.IDAO.getUsersByPropertyValue(String propertyName, String propertyValue) Methods in io.goobi.viewer.dao with parameters of type UserModifier and TypeMethodDescriptionbooleanaddUser.intIDAO.changeCampaignStatisticContributors(User fromUser, User toUser) ReplacedfromUserwithtoUserin the lists of annotators and reviewers an all campaign statistics.intIDAO.changeCommentsOwner(User fromUser, User toUser) Changes ownership of all comments fromfromUsertotoUser.intIDAO.deleteCampaignStatisticsForUser(User user) Deletes given user from the lists of annotators and reviewers an all campaign statistics.intIDAO.deleteComments(String pi, User owner) booleanIDAO.deleteUser(User user) deleteUser.IDAO.getBookmarkList(String name, User user) getBookmarkList.longIDAO.getBookmarkListCount(User user) Get number of bookmark lists owned by the given userIDAO.getBookmarkLists(User user) getBookmarkLists.longgetCommentCount.IDAO.getCommentsOfUser(User user, int maxResults, String sortField, boolean descending) Get Comments created by a specific userIDAO.getNumRecordsWithComments(User user) longIDAO.getSearchCount(User owner, Map<String, String> filters) getSearchCount.IDAO.getSearches(User owner) getSearches.IDAO.getSearches(User owner, int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getSearches.IDAO.getUserGroups(User owner) getUserGroups.longIDAO.getUserRoleCount(UserGroup userGroup, User user, Role role) getUserRoleCount.IDAO.getUserRoles(UserGroup userGroup, User user, Role role) getUserRoles.booleanIDAO.updateUser(User user) updateUser. -
Uses of User in io.goobi.viewer.dao.impl
Methods in io.goobi.viewer.dao.impl that return UserModifier and TypeMethodDescriptionJPADAO.getUser(long id) getUser.JPADAO.getUserByEmail(String email) getUserByEmail.JPADAO.getUserByNickname(String nickname) JPADAO.getUserByOpenId(String identifier) getUserByOpenId.Methods in io.goobi.viewer.dao.impl that return types with arguments of type UserModifier and TypeMethodDescriptionJPADAO.getAdminUsers()JPADAO.getAllUsers(boolean refresh) getAllUsers.JPADAO.getUsers(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getUsers.JPADAO.getUsersByPropertyValue(String propertyName, String propertyValue) Methods in io.goobi.viewer.dao.impl with parameters of type UserModifier and TypeMethodDescriptionbooleanaddUser.intJPADAO.changeCampaignStatisticContributors(User fromUser, User toUser) intJPADAO.changeCommentsOwner(User fromUser, User toUser) Changes ownership of all comments fromfromUsertotoUser.intJPADAO.deleteCampaignStatisticsForUser(User user) intJPADAO.deleteComments(String pi, User owner) booleanJPADAO.deleteUser(User user) deleteUser.JPADAO.getBookmarkList(String name, User user) getBookmarkList.longJPADAO.getBookmarkListCount(User user) Get number of bookmark lists owned by the given userJPADAO.getBookmarkLists(User user) getBookmarkLists.longgetCommentCount.JPADAO.getCommentsOfUser(User user, int maxResults, String sortField, boolean descending) Get Comments created by a specific userJPADAO.getNumRecordsWithComments(User user) longJPADAO.getSearchCount(User owner, Map<String, String> filters) getSearchCount.JPADAO.getSearches(User owner) getSearches.JPADAO.getSearches(User owner, int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getSearches.JPADAO.getUserGroups(User owner) getUserGroups.longJPADAO.getUserRoleCount(UserGroup userGroup, User user, Role role) JPADAO.getUserRoles(UserGroup userGroup, User user, Role role) getUserRoles.booleanJPADAO.updateUser(User user) updateUser. -
Uses of User in io.goobi.viewer.faces.converters
Methods in io.goobi.viewer.faces.converters that return UserModifier and TypeMethodDescriptionfinal UserUserConverter.getAsObject(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent component, String value) Methods in io.goobi.viewer.faces.converters with parameters of type UserModifier and TypeMethodDescriptionfinal StringUserConverter.getAsString(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent component, User object) -
Uses of User in io.goobi.viewer.faces.validators
Methods in io.goobi.viewer.faces.validators with parameters of type UserModifier and TypeMethodDescriptionstatic StringRelatedPIValidator.validatePi(String pi, User user) validatePi. -
Uses of User in io.goobi.viewer.managedbeans
Methods in io.goobi.viewer.managedbeans that return UserModifier and TypeMethodDescriptionUserGroupBean.getCurrentMember()Getter for the fieldcurrentMember.AdminBean.getCurrentUser()Getter for the fieldcurrentUser.UserBean.getUser()Getter for the fielduser.Methods in io.goobi.viewer.managedbeans that return types with arguments of type UserModifier and TypeMethodDescriptionAdminBean.getAllUsers()Returns all users in the DB.UserBean.getAllUsers()Returns a list of all existing users (minus the superusers and the current user).AdminBean.getAllUsersExcept(Set<User> usersToExclude) getAllUsersExcept.AdminBean.getLazyModelUsers()Getter for the fieldlazyModelUsers.AdminBean.getPageUsers()getPageUsers.Methods in io.goobi.viewer.managedbeans with parameters of type UserModifier and TypeMethodDescriptionAdminBean.deleteUserAction(User user, boolean deleteContributions) Deletes the given User and optionally their contributions.CrowdsourcingBean.getAllowedCampaigns(User user) Returns the list of campaigns that are visible to the given user.CmsBean.getAllowedCategories(User user) Returns a filtered category list for the given user, unless the user is a superuser.CmsBean.getAllowedSubthemeDiscriminatorValues(User user) Returns a filtered subtheme discriminator value list for the given user, unless the user is a superuser.CmsBean.getAllowedTemplates(User user) Returns a filtered page template list for the given user, unless the user is a superuser.BookmarkBean.getBookmarkListsForUser(User user) getBookmarkListsForUser.UserDataBean.getBookmarkListsForUser(User user, int numEntries) getBookmarkListsForUser.static List<BookmarkList> BookmarkBean.getBookmarkListsSharedWithUser(User user) getBookmarkListsSharedWithUser.AdminCommentBean.getCommentGroupsForUser(User user) getCommentGroupsForUser.CommentBean.getComments(int startIndex, int numItems, String filter, User user, String sortField, boolean descending) getComments.UserDataBean.getLatestActivity(User user, int numEntries) getLatestActivity.UserDataBean.getLatestComments(User user, int numEntries) getLatestComments.longUserDataBean.getNumAnnotations(User user) getNumAnnotations.longUserDataBean.getNumBookmarkLists(User user) getNumBookmarkLists.longUserDataBean.getNumComments(User user) getNumComments.UserDataBean.getNumRecordsWithComments(User user) getNumRecordsWithComments.longUserDataBean.getNumSearches(User user) getNumSearches.UserDataBean.getSearches(User user, Integer numEntries) Returns saved searches for the logged in user.static booleanCheck if the given user is allowed access to the given campaign from a rights management standpoint alone.booleanCmsBean.isSubthemeRequired(User user) isSubthemeRequired.booleanCrowdsourcingBean.isUserOwnsAnyCampaigns(User user) Deprecated.AdminBean.resetUserAction(User user, String returnPage) resetUserAction.booleanSaves the given use.AdminBean.saveUserAction(User user, boolean forceCheckCurrentPassword, String returnPage) saveUserAction.voidUserGroupBean.setCurrentMember(User currentMember) Setter for the fieldcurrentMember.voidAdminBean.setCurrentUser(User currentUser) Setter for the fieldcurrentUser.voidSetter for the fielduser.AdminBean.toggleSuspendUserAction(User user) toggleSuspendUserAction.Method parameters in io.goobi.viewer.managedbeans with type arguments of type UserModifier and TypeMethodDescriptionAdminBean.getAllUsersExcept(Set<User> usersToExclude) getAllUsersExcept. -
Uses of User in io.goobi.viewer.managedbeans.utils
Methods in io.goobi.viewer.managedbeans.utils that return UserModifier and TypeMethodDescriptionstatic UserBeanUtils.getUserFromSession(jakarta.servlet.http.HttpSession session) getUserFromSession. -
Uses of User in io.goobi.viewer.model.annotation
Methods in io.goobi.viewer.model.annotation that return UserModifier and TypeMethodDescriptionPersistentAnnotation.getCreator()getCreator.PersistentAnnotation.getReviewer()getReviewer.Methods in io.goobi.viewer.model.annotation that return types with arguments of type UserMethods in io.goobi.viewer.model.annotation with parameters of type UserModifier and TypeMethodDescriptionbooleanChecks whether the user with the given ID is allowed to edit this comment (i.e. the annotation belongs to this (proper) user.voidPersistentAnnotation.setCreator(User creator) setCreator.voidPersistentAnnotation.setReviewer(User reviewer) setReviewer. -
Uses of User in io.goobi.viewer.model.annotation.comments
Methods in io.goobi.viewer.model.annotation.comments that return UserMethods in io.goobi.viewer.model.annotation.comments with parameters of type UserModifier and TypeMethodDescriptionstatic StringCommentManager.checkAndCleanScripts(String text, User editor, String pi, Integer page) voidCommentManager.createComment(String text, User creator, String pi, Integer pageOrder, String license, PublicationStatus publicationStatus) voidCommentManager.editComment(Comment comment, String text, User editor, PublicationStatus publicationStatus) static booleanCommentManager.isUserHasAccessToCommentGroups(User user) Checks whether the given user has access to any comment groups, whether via being admin or owner or member of any linked user group.booleanChecks whether the user with the given ID is allowed to edit this comment (i.e. the annotation belongs to this (proper) user.voidSetter for the fieldowner.Constructors in io.goobi.viewer.model.annotation.comments with parameters of type UserModifierConstructorDescriptionComment(String pi, int page, User owner, String text, String accessCondition, PublicationStatus publicationStatus) CommentLegacy(String pi, int page, User owner, String text, CommentLegacy parent) Constructor for Comment. -
Uses of User in io.goobi.viewer.model.bookmark
Methods in io.goobi.viewer.model.bookmark that return UserMethods in io.goobi.viewer.model.bookmark with parameters of type UserModifier and TypeMethodDescriptionvoidSessionStoreBookmarkManager.addSessionBookmarkListToUser(User user, jakarta.servlet.http.HttpServletRequest request) Assigns the current session bookmark list (if any) to the given user and saves the bookmark list to the database The bookmark list gets a newly generated name provided bySessionStoreBookmarkManager.generateNewBookmarkListName(List)static List<BookmarkList> BookmarkTools.getBookmarkListsSharedWithUser(User user) getBookmarkListsSharedWithUser.booleanisMayEdit.booleanisMayView.booleanvoidSetter for the fieldowner. -
Uses of User in io.goobi.viewer.model.cms.pages.content
Methods in io.goobi.viewer.model.cms.pages.content with parameters of type User -
Uses of User in io.goobi.viewer.model.crowdsourcing
Methods in io.goobi.viewer.model.crowdsourcing that return UserModifier and TypeMethodDescriptionDisplayUserGeneratedContent.getUpdatedBy()Getter for the fieldupdatedBy.Methods in io.goobi.viewer.model.crowdsourcing with parameters of type UserModifier and TypeMethodDescriptionstatic booleanCrowdsourcingTools.isUserOwnsAnyCampaigns(User user) voidDisplayUserGeneratedContent.setUpdatedBy(User updatedBy) Setter for the fieldupdatedBy. -
Uses of User in io.goobi.viewer.model.crowdsourcing.campaigns
Methods in io.goobi.viewer.model.crowdsourcing.campaigns that return types with arguments of type UserModifier and TypeMethodDescriptionCampaignRecordPageStatistic.getAnnotators()Getter for the fieldannotators.CampaignRecordStatistic.getAnnotators()Getter for the fieldannotators.CampaignRecordPageStatistic.getReviewers()Getter for the fieldreviewers.CampaignRecordStatistic.getReviewers()Getter for the fieldreviewers.Methods in io.goobi.viewer.model.crowdsourcing.campaigns with parameters of type UserModifier and TypeMethodDescriptionvoidCampaignRecordPageStatistic.addAnnotater(User user) addAnnotater.voidCampaignRecordStatistic.addAnnotater(User user) addAnnotater.voidCampaignRecordPageStatistic.addReviewer(User user) addReviewer.voidCampaignRecordStatistic.addReviewer(User user) addReviewer.Campaign.getNextTarget(CrowdsourcingStatus status, String currentPi, User user) Get the targetIdentifier to a random PI from the Solr query result list.Campaign.getRandomizedTarget(CrowdsourcingStatus status, String piToIgnore, User user) Get the targetIdentifier to a random PI from the Solr query result list.booleanCampaign.hasRecordsToAnnotate(User user) check if the given user is eligible to annotate any recordsbooleanCampaign.hasRecordsToReview(User user) check if the given user is eligible to review any recordsbooleanCampaign.isEligibleToEdit(String pi, CrowdsourcingStatus status, User user) Check if the given user may annotate/review (depending on status) a specific pi within this campaignbooleanCampaign.isUserAllowedAction(User user, CrowdsourcingStatus status) Checks whether the given user may annotate or review records based on the given status.booleanCampaign.isUserMayEdit(User user) booleanCampaign.mayAnnotate(User user, String pi) check if the user is allowed to annotate the given pi for this campaignbooleancheck if the user is allowed to review the given pi for this campaignMethod parameters in io.goobi.viewer.model.crowdsourcing.campaigns with type arguments of type UserModifier and TypeMethodDescriptionvoidCampaignRecordPageStatistic.setAnnotators(List<User> annotators) Setter for the fieldannotators.voidCampaignRecordStatistic.setAnnotators(List<User> annotators) Setter for the fieldannotators.voidCampaign.setRecordPageStatus(String pi, int page, CrowdsourcingStatus status, Optional<User> user) voidCampaign.setRecordStatus(String pi, CrowdsourcingStatus status, Optional<User> user) Updates record status in the campaign statistics.voidCampaignRecordPageStatistic.setReviewers(List<User> reviewers) Setter for the fieldreviewers.voidCampaignRecordStatistic.setReviewers(List<User> reviewers) Setter for the fieldreviewers. -
Uses of User in io.goobi.viewer.model.maps
Methods in io.goobi.viewer.model.maps that return UserMethods in io.goobi.viewer.model.maps with parameters of type User -
Uses of User in io.goobi.viewer.model.search
Methods in io.goobi.viewer.model.search that return UserMethods in io.goobi.viewer.model.search with parameters of type UserModifier and TypeMethodDescriptionstatic StringSearchHelper.getPersonalFilterQuerySuffix(List<LicenseType> licenseTypes, User user, String ipAddress, Optional<ClientApplication> client, String privilege) Constructs a personal search query filter suffix for the given user and IP address.voidSetter for the fieldowner. -
Uses of User in io.goobi.viewer.model.security
Methods in io.goobi.viewer.model.security that return UserMethods in io.goobi.viewer.model.security with parameters of type UserModifier and TypeMethodDescriptionstatic AccessPermissionAccessConditionUtils.checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, Optional<ClientApplication> client, String query) Base method for checking access permissions of various types.voidSetter for the fielduser.Method parameters in io.goobi.viewer.model.security with type arguments of type UserModifier and TypeMethodDescriptionAccessConditionUtils.getApplyingLicenses(Optional<User> user, String ipAddress, LicenseType type, IDAO dao) List all licenses ("rights") that the given user and ipAddress is entitled to, either because they are directly given to the user, a group the user belongs to or to the given ipAddress, whether or not the given user exists -
Uses of User in io.goobi.viewer.model.security.authentication
Methods in io.goobi.viewer.model.security.authentication that return UserMethods in io.goobi.viewer.model.security.authentication that return types with arguments of type UserConstructor parameters in io.goobi.viewer.model.security.authentication with type arguments of type UserModifierConstructorDescriptionLoginResult(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Optional<User> user, boolean loginRefused) Constructor for LoginResult.LoginResult(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Optional<User> user, boolean loginRefused, long delay) Constructor for LoginResult. -
Uses of User in io.goobi.viewer.model.security.user
Methods in io.goobi.viewer.model.security.user that return UserModifier and TypeMethodDescriptionAuthentication check for regular (i.e. non-OpenID) accounts.static UserUserTools.checkAndCreateAnonymousUser()User.getCopy()Getter for the fieldcopy.UserGroup.getOwner()Getter for the fieldowner.UserRole.getUser()Getter for the fielduser.Methods in io.goobi.viewer.model.security.user that return types with arguments of type UserModifier and TypeMethodDescriptionUserGroup.getMembers()getMembers.UserGroup.getMembersAndOwner()Methods in io.goobi.viewer.model.security.user with parameters of type UserModifier and TypeMethodDescriptionbooleanAdds membership relation between the given user and role and persists immediately.static booleanUserTools.anonymizeUserPublicContributions(User user) Moves all public content from the given user to an anonymous user.booleanUserGroup.changeMemberRole(User user, Role role) changeMemberRole.intstatic intUserTools.deleteBookmarkListsForUser(User owner) static intUserTools.deleteSearchesForUser(User owner) static booleanUserTools.deleteUser(User user) Deletes given user from the database and removes any database rows that reference this user (only those that are of use to this user - public content such as comments must be deleted separetely).static intUserTools.deleteUserGroupOwnedByUser(User owner) static voidUserTools.deleteUserPublicContributions(User user) Deletes all public content created by this the given user.booleanUserGroup.removeMember(User user) remove User from GroupvoidSetter for the fieldcopy.voidSetter for the fieldowner.voidSetter for the fielduser.Constructors in io.goobi.viewer.model.security.user with parameters of type User -
Uses of User in io.goobi.viewer.model.security.user.icon
Methods in io.goobi.viewer.model.security.user.icon with parameters of type UserConstructors in io.goobi.viewer.model.security.user.icon with parameters of type User -
Uses of User in io.goobi.viewer.model.viewer
Methods in io.goobi.viewer.model.viewer that return UserModifier and TypeMethodDescriptionViewManager.getCurrentUser()Retrieves the current User from the session, if exists. -
Uses of User in io.goobi.viewer.modules
Methods in io.goobi.viewer.modules with parameters of type UserModifier and TypeMethodDescriptionintIModule.deleteUserContributions(User user) Removes content created by the given user.intIModule.moveUserContributions(User fromUser, User toUser) Moves all content created by the given user to a different user.