Modifier and Type | Method and Description |
---|---|
Collection<User> |
ADTrackingIncrementalRepositoryChangeTracker.getNextUsers()
Method to return the next users from the repository.
|
Modifier and Type | Method and Description |
---|---|
void |
LdapUserGroupAccessor.acceptGroupsOfUser(User user,
ExternalEntityVisitor<ExternalGroupVO> visitor)
This method can be used to visit all groups of a given user.
|
Modifier and Type | Method and Description |
---|---|
User |
UserContextMapper.mapFromContext(Object contex)
Mapped the attribute.
|
Modifier and Type | Method and Description |
---|---|
TimelineUserResource |
UserToTimelineUserConverter.convert(User source) |
Modifier and Type | Class and Description |
---|---|
class |
UserResourceConverter<T extends User,O extends UserResource>
This converter convert a
User to a UserResource |
Modifier and Type | Method and Description |
---|---|
TimelineUserResource |
UserToTimelineUserConverter.convert(User source) |
Modifier and Type | Class and Description |
---|---|
class |
UserResourceConverter<T extends User,O extends UserResource>
This converter convert a
User to a UserResource |
Modifier and Type | Method and Description |
---|---|
TimelineUserResource |
UserToTimelineUserConverter.convert(User source) |
Modifier and Type | Class and Description |
---|---|
class |
UserResourceConverter<T extends User,O extends UserResource>
This converter convert a
User to a UserResource |
Modifier and Type | Method and Description |
---|---|
TimelineUserResource |
UserToTimelineUserConverter.convert(User source) |
Modifier and Type | Class and Description |
---|---|
class |
UserResourceConverter<T extends User,O extends UserResource>
This converter convert a
User to a UserResource |
Modifier and Type | Method and Description |
---|---|
User |
CommunoteInstaller.getAdminAccount() |
Modifier and Type | Method and Description |
---|---|
<T> Collection<T> |
PropertyManagement.getUsersOfProperty(Long noteId,
String keyGroup,
String key,
String value,
Converter<User,T> converter)
Return the users that have a specific note property set for a note.
|
Modifier and Type | Method and Description |
---|---|
List<SimpleNoteListItem> |
DiscussionDetailsRetriever.getCommentsInDiscussion(Long discussionId,
User user)
Returns the notes in a discussion.
|
int |
DiscussionDetailsRetriever.getDiscussionNoteCount(Long discussionId,
User user)
Returns the number of notes in a discussion.
|
Modifier and Type | Method and Description |
---|---|
static <T> Collection<T> |
NoteHelper.getLikersOfNote(Long noteId,
Converter<User,T> converter) |
Modifier and Type | Method and Description |
---|---|
protected Collection<User> |
UserNotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip) |
protected Collection<User> |
TopicNotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip) |
protected abstract Collection<User> |
NotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip)
Retrieves the users to be notified.
|
protected Collection<User> |
DiscussionParticipationNotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip) |
protected Collection<User> |
DiscussionNotificationNoteProcessor.getUsersToNotify(Note note,
NoteStoringPostProcessorContext context,
Set<Long> userIdsToSkip) |
Modifier and Type | Method and Description |
---|---|
String |
CommunoteTool.getUserSignature(User user,
UserNameFormat format)
To get the signature of an author.
|
Modifier and Type | Method and Description |
---|---|
void |
UserToUserDataConverter.convert(User source,
T target) |
Modifier and Type | Method and Description |
---|---|
Collection<User> |
IncrementalRepositoryChangeTracker.getNextUsers()
Method to return the next users from the repository.
|
Modifier and Type | Method and Description |
---|---|
User |
CommunoteInstallerImpl.getAdminAccount() |
Modifier and Type | Method and Description |
---|---|
static Collection<User> |
MailMessageHelper.filterAnonymousUsers(Collection<User> receivers) |
Modifier and Type | Method and Description |
---|---|
static Collection<User> |
MailMessageHelper.filterAnonymousUsers(Collection<User> receivers) |
static void |
MailMessageHelper.sendMessage(Collection<User> receivers,
String template,
Map<String,Object> model)
Sends a mail message to the defined receivers with the correct locale.
|
static void |
MailMessageHelper.sendMessage(Collection<User> receivers,
String messageKey,
Map<String,Object> model,
String replyToAddress,
String replyToName)
Sends a mail message to the defined receivers with the correct locale.
|
Modifier and Type | Method and Description |
---|---|
Collection<User> |
MailMessage.getBcc() |
Collection<User> |
MailMessage.getCc() |
Collection<User> |
MailMessage.getTo() |
Modifier and Type | Method and Description |
---|---|
void |
MailMessage.addBcc(User user)
Add a recipient of the email.
|
void |
MailMessage.addCc(User user)
Add a recipient of the email.
|
void |
MailMessage.addTo(User user)
Add a recipient of the email.
|
Constructor and Description |
---|
ForgottenPWMailMessage(User recipient,
ForgottenPasswordSecurityCode securityCode)
Construct a new password link
|
GenericMailMessage(String messageKey,
Locale locale,
Map<String,Object> model,
User... recipients)
Constructor.
|
GenericMailMessage(String messageKey,
Locale locale,
User... recipients)
Constructor.
|
MailMessage(String messageKey,
Locale locale,
User... recipients)
Construct a new message.
|
MailMessage(String messageKey,
Map<String,String> templatePlaceholderMessageKeys,
Locale locale,
User... recipients)
Construct a new message.
|
SecurityCodeMailMessage(String messageKey,
Locale locale,
User... recipients)
Construct a new message with the given message key and locale.
|
Constructor and Description |
---|
MailMessage(String messageKey,
Locale locale,
Collection<User> recipients)
Construct a new message.
|
MailMessage(String messageKey,
Map<String,String> templatePlaceholderMessageKeys,
Locale locale,
Collection<User> recipients)
Construct a new message.
|
Constructor and Description |
---|
BlogNameIdMissingInSubjectMailMessage(User recipient)
Creates a new message.
|
BlogsNotFoundMailMessage(User recipient,
Collection<String> blogNameIds,
boolean metaPostDataBlog)
Creates a mail message describing that some blogs were not found.
|
ContentProcessingErrorMailMessage(User recipient,
String blogTitle,
ContentProcessingErrorMailMessage.Type errorType) |
DirectMessageMissingRecipientMailMessage(User recipient,
String[] uninformableUsers,
String[] unresolvableUsers)
Creates a new error message email.
|
GenericErrorMailMessage(User recipient,
String errorMessage,
String blogTitle)
Creates a new error message email.
|
NoWriteAccessToBlogMailMessage(User recipient,
String blogTitle)
Creates the message.
|
WarningMailMessage(User recipient,
Collection<String> unresolvableUsers,
Collection<String> uninformableUsers,
Collection<String> unresolvableBlogs,
Collection<String> unwritableBlogs,
String blogTitle,
boolean isDirect)
Creates a warning e-mail message.
|
Constructor and Description |
---|
ActivateUserMailMessage(User recipient,
boolean firstActivation)
Instantiates a new activate user mail message.
|
ConfirmEmailAddressMessage(User recipient,
EmailSecurityCode code)
Construct a new mail message for confirming an email address
|
ConfirmUserMailMessage(User userToConfirm,
SecurityCode securityCode,
UserManagement.RegistrationType type)
Construct a new mail message for user confirmation
|
InviteUserToBlogMailMessage(String template,
User inviter,
User receiver,
Blog blog)
Instantiates a new invite user to blog mail message.
|
InviteUserToBlogMailMessage(User inviter,
User receiver,
Blog blog,
InviteUserToBlogSecurityCode code)
Instantiates a new mail message.
|
InviteUserToBlogWithExternalAuthMailMessage(User inviter,
User receiver,
Blog blog)
Instantiates a new invite user to blog with external auth mail message.
|
InviteUserToClientMailMessage(User inviter,
Locale locale,
String recipientEmail,
SecurityCode code)
Construct an invitation mail message.
|
InviteUserToClientWithExternalAuthMailMessage(User inviter,
Locale locale,
String recipientEmail)
Construct an invitation mail message.
|
ManagerSecurityWarnMailMessage(User manager,
String riskLevel,
String warnReason,
Long userId)
constructor
|
NotifyAboutNoteMailMessage(User recipient,
User sender,
Locale locale,
Note note,
Blog blog,
Map<String,String> templatePlaceholderMessageKeys,
Map<String,Object> model)
Create a notification message for user a note.
|
RemindUserLoginMailMessage(User recipient)
Instantiates a new remind user login mail message.
|
RemindUserRegistrationMailMessage(User receiver,
UserSecurityCode securityCode)
Instantiates a new remind user registration mail message.
|
UserLockedMailMessage(User receiver,
ChannelType channel,
UnlockUserSecurityCode securityCode)
Construct a user-locked mail message
|
Constructor and Description |
---|
NoteLimitReachedMailMessage(Collection<User> managers,
Locale locale,
String clientIDName,
String percentage,
String limit)
Construct a new mail message for notifying the client manager.
|
NotifyAboutCRCSizeLimitReachedMailMessage(Collection<User> managers,
Locale locale,
String clientIDName,
String crcCurrentSize,
String crcCurrentSizePercent,
String crcCurrentSizeLimit)
Construct a new mail message for notifying the client manager.
|
NotifyUserCountLimitReachedMailMessage(Collection<User> managers,
Locale locale,
String clientName,
boolean userActivationHasChanged,
int userCountAsPercent,
String userCntLimit)
Construct a new mail message for notifying the client manager.
|
Constructor and Description |
---|
ActivateUserForManagerMailMessage(User activatedUser,
Locale locale,
boolean firstActivation,
Collection<User> recipients)
Instantiates a new activate user mail message.
|
NewUserConfirmedForManagerMessage(User confirmedUser,
Collection<User> managers,
Locale locale)
Instantiates a new mail message.
|
Constructor and Description |
---|
ActivateUserForManagerMailMessage(User activatedUser,
Locale locale,
boolean firstActivation,
Collection<User> recipients)
Instantiates a new activate user mail message.
|
NewUserConfirmedForManagerMessage(User confirmedUser,
Collection<User> managers,
Locale locale)
Instantiates a new mail message.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationManagementImpl.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition definition)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationService.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition notificationDefinition)
Send notifications to users to inform about created or edited notes.
|
void |
NotificationManagement.sendMessage(Note note,
Collection<User> usersToNotify,
NotificationDefinition notificationDefinition)
Send notifications to users to inform about created or edited notes.
|
Modifier and Type | Method and Description |
---|---|
static User |
XMPPPatternUtils.extractKenmeiUser(String jid)
This method returns a client extracted from the alias.
|
static User |
XMPPPatternUtils.extractKenmeiUserWithoutDatabaseDelegate(String jid)
This works on the current assigned client.
|
Modifier and Type | Method and Description |
---|---|
protected User |
UserPropertyAccessor.load(Long id) |
Modifier and Type | Method and Description |
---|---|
protected void |
UserPropertyAccessor.assertReadAccess(User object) |
protected void |
UserPropertyAccessor.assertWriteAccess(User user)
Method to assert, that the current user has write access to the given object.
|
protected Long |
UserPropertyAccessor.getObjectId(User object) |
protected UserProperty |
UserPropertyAccessor.handleCreateNewProperty(User user)
Create a new property and associate it with the object
|
Modifier and Type | Method and Description |
---|---|
<T> Collection<T> |
UserNotePropertyAccessor.getUsersOfProperty(Long noteId,
String keyGroup,
String key,
String value,
Converter<User,T> converter)
Return the users that a given property for a note.
|
<T> Collection<T> |
PropertyManagementImpl.getUsersOfProperty(Long noteId,
String keyGroup,
String key,
String value,
Converter<User,T> converter) |
Modifier and Type | Method and Description |
---|---|
static User |
SecurityHelper.assertCurrentKenmeiUser()
Deprecated.
this method should not be used since it returns the user entity which can be an
uninitialized hibernate proxy. Use
SecurityHelper.assertCurrentUserId() instead and
pass the returned userId together with an appropriate Converter (which is in most
cases not the IdentityConverter!) to UserManagement.getUserById. |
protected User |
AuthenticationManagementImpl.handleOnSuccessfulAuthentication(org.springframework.security.core.Authentication authentication) |
protected abstract User |
AuthenticationManagementBase.handleOnSuccessfulAuthentication(org.springframework.security.core.Authentication authentication)
Performs the core logic for
AuthenticationManagementBase.onSuccessfulAuthentication(Authentication) |
User |
AuthenticationManagementBase.onSuccessfulAuthentication(org.springframework.security.core.Authentication authentication) |
User |
AuthenticationManagement.onSuccessfulAuthentication(org.springframework.security.core.Authentication successAuthentication)
This method finalizes the login process of a user.
|
Modifier and Type | Method and Description |
---|---|
static org.springframework.security.core.Authentication |
AuthenticationHelper.createAuthentication(User user)
Create an authentication for the user that can be used to be set in the security context
|
static org.springframework.security.core.Authentication |
AuthenticationHelper.setAsAuthenticatedUser(User user)
Set the provided user as the currently authenticated user for the current thread.
|
static org.springframework.security.core.Authentication |
SwitchUserHelper.switchUser(User targetUser)
Switch the user to the target user.
|
Constructor and Description |
---|
UserDetails(User user,
String username) |
UserDetails(User user,
String username,
Collection<org.springframework.security.core.GrantedAuthority> grantedAuthorities) |
Modifier and Type | Method and Description |
---|---|
protected User |
ExternalAuthenticationProvider.getUser(UserIdentification userIdentification)
Get the user for the given identification
|
Modifier and Type | Method and Description |
---|---|
User |
UserManagementBase.assignUserRole(Long userId,
UserRole role) |
User |
UserManagement.assignUserRole(Long userId,
UserRole role)
Assign the user role to the user
|
User |
UserManagementBase.confirmUser(String securitycode,
UserVO user) |
User |
UserManagement.confirmUser(String securitycode,
UserVO user)
Confirms a registered or invited user, sets user data and change status to active or
confirmed.
|
User |
UserManagementBase.createOrUpdateExternalUser(ExternalUserVO userVO) |
User |
UserManagement.createOrUpdateExternalUser(ExternalUserVO userVO)
Creates or updates a user with data retrieved from a external user repository (e.g.
|
User |
UserManagementBase.createUser(UserVO user,
boolean emailConfirmation,
boolean managerConfirmation) |
User |
UserManagement.createUser(UserVO user,
boolean emailConfirmationRequired,
boolean managerConfirmationRequired)
Create a user based on the parameters.
|
User |
UserManagementImpl.findUser(UserIdentification userIdentification) |
User |
UserManagement.findUser(UserIdentification userIdentification)
Find the User by the given identification, not loading the
ExternalUserAuthentication
s |
User |
UserManagementImpl.findUser(UserIdentification userIdentification,
boolean loadExternalAuthentications) |
User |
UserManagement.findUser(UserIdentification userIdentification,
boolean loadExternalAuthentications)
Find the User by the given identification
|
User |
UserManagementBase.findUserByAlias(String alias) |
User |
UserManagement.findUserByAlias(String alias)
Find the User by the given alias s
|
User |
UserManagementBase.findUserByEmail(String email) |
User |
UserManagement.findUserByEmail(String email)
Find a user by the email address
|
User |
UserManagementBase.findUserByEmailAlias(String username) |
User |
UserManagement.findUserByEmailAlias(String emailOrAlias)
find user by email or alias
|
User |
UserManagementBase.findUserByExternalUserId(String externalUserId,
String systemId) |
User |
UserManagement.findUserByExternalUserId(String externalUserId,
String systemId)
Find the user by the external system specification
|
User |
UserManagementBase.findUserByUserId(Long userId)
Find a user by the its id.
|
User |
UserManagement.findUserByUserId(Long userId)
Deprecated.
Use
UserManagement.getUserById(Long, Converter) instead. |
User |
UserManagementImpl.findUserByUserId(Long userId,
boolean loadExternalAuthentications) |
User |
UserManagement.findUserByUserId(Long userId,
boolean loadExternalAuthentications)
Find a user by the its id.
|
User |
InvalidUserStatusTransitionException.getUser()
the user whose status should have been changed
|
protected User |
UserManagementImpl.handleAssignUserRole(Long userId,
UserRole role) |
protected abstract User |
UserManagementBase.handleAssignUserRole(Long userId,
UserRole role)
Performs the core logic for
UserManagementBase.assignUserRole(Long, UserRole) |
protected User |
UserManagementImpl.handleConfirmUser(String securitycode,
UserVO data) |
protected abstract User |
UserManagementBase.handleConfirmUser(String securitycode,
UserVO user)
Performs the core logic for
UserManagementBase.confirmUser(String, UserVO) |
protected User |
UserManagementImpl.handleCreateOrUpdateExternalUser(ExternalUserVO userVO) |
protected abstract User |
UserManagementBase.handleCreateOrUpdateExternalUser(ExternalUserVO userVO)
Performs the core logic for
UserManagementBase.createOrUpdateExternalUser(ExternalUserVO) |
protected User |
UserManagementImpl.handleCreateUser(UserVO userVo,
boolean emailConfirmation,
boolean managerActivation) |
protected abstract User |
UserManagementBase.handleCreateUser(UserVO user,
boolean emailConfirmation,
boolean managerConfirmation)
Performs the core logic for
UserManagementBase.createUser(UserVO, boolean, boolean) |
protected User |
UserManagementImpl.handleFindUserByAlias(String alias) |
protected abstract User |
UserManagementBase.handleFindUserByAlias(String alias)
Performs the core logic for
UserManagementBase.findUserByAlias(String) |
protected User |
UserManagementImpl.handleFindUserByEmail(String email) |
protected abstract User |
UserManagementBase.handleFindUserByEmail(String email)
Performs the core logic for
UserManagementBase.findUserByEmail(String) |
protected User |
UserManagementImpl.handleFindUserByEmailAlias(String username) |
protected abstract User |
UserManagementBase.handleFindUserByEmailAlias(String username)
Performs the core logic for
#findKenmeiUserByEmailAlias(String) |
protected User |
UserManagementImpl.handleFindUserByExternalUserId(String userId,
String systemId) |
protected abstract User |
UserManagementBase.handleFindUserByExternalUserId(String externalUserId,
String systemId)
Performs the core logic for
UserManagementBase.findUserByExternalUserId(String, String) |
protected User |
UserManagementImpl.handleInviteUserToBlog(Long blogId,
UserVO userVo,
BlogRole role) |
protected abstract User |
UserManagementBase.handleInviteUserToBlog(Long blogId,
UserVO userData,
BlogRole role)
Performs the core logic for
#inviteUserToBlog(Long, User, UserVO, com.communote.server.model.blog.BlogRole) |
protected User |
UserManagementImpl.handleInviteUserToClient(UserVO userVo) |
protected abstract User |
UserManagementBase.handleInviteUserToClient(UserVO user)
Performs the core logic for
#inviteUserToClient(User, UserVO) |
protected User |
UserManagementImpl.handleRegisterUser(String email,
Locale locale,
UserManagement.RegistrationType type)
Performs the core logic for
#registerUser(String, java.util.Locale) |
protected abstract User |
UserManagementBase.handleRegisterUser(String email,
Locale locale,
UserManagement.RegistrationType type)
Performs the core logic for
#registerUser(String, java.util.Locale) |
protected User |
UserManagementImpl.handleRemoveUserRole(Long userId,
UserRole role) |
protected abstract User |
UserManagementBase.handleRemoveUserRole(Long userId,
UserRole role)
Performs the core logic for
UserManagementBase.removeUserRole(Long, UserRole) |
protected User |
UserManagementImpl.handleUnlockUser(String securityCode) |
protected abstract User |
UserManagementBase.handleUnlockUser(String securityCode)
Performs the core logic for
UserManagementBase.unlockUser(String) |
protected User |
UserManagementImpl.handleUpdateExternalUser(ExternalUserVO userVO) |
protected abstract User |
UserManagementBase.handleUpdateExternalUser(ExternalUserVO userVO)
Performs the core logic for
UserManagementBase.updateExternalUser(ExternalUserVO) |
User |
UserManagementBase.inviteUserToBlog(Long blogId,
UserVO userData,
BlogRole role) |
User |
UserManagement.inviteUserToBlog(Long blogId,
UserVO userData,
BlogRole role) |
User |
UserManagementBase.inviteUserToClient(UserVO user) |
User |
UserManagement.inviteUserToClient(UserVO user) |
User |
UserManagementBase.registerUser(String email,
Locale locale,
UserManagement.RegistrationType type)
Method to register an user via email address.
|
User |
UserManagement.registerUser(String email,
Locale locale,
UserManagement.RegistrationType type)
Method to register an user via email address.
|
User |
UserManagementBase.removeUserRole(Long userId,
UserRole role) |
User |
UserManagement.removeUserRole(Long userId,
UserRole role)
Remove a role from a user
|
User |
UserManagementBase.unlockUser(String securityCode)
Unlocks the user for the given security code.
|
User |
UserManagement.unlockUser(String securityCode)
Unlocks the user for the given security code.
|
User |
UserManagementBase.updateExternalUser(ExternalUserVO userVO) |
User |
UserManagement.updateExternalUser(ExternalUserVO userVO)
Tries to update a user with data retrieved from an external resource (e.g.
|
Modifier and Type | Method and Description |
---|---|
Collection<User> |
UserManagementImpl.findNotDeletedUsers(boolean excludeSystemUsers) |
Collection<User> |
UserManagement.findNotDeletedUsers(boolean excludeSystemUsers)
Returns a collection with all users that do not have one of the deleted statuses.
|
List<User> |
UserManagementImpl.findUsersByRole(UserRole role,
UserStatus status) |
List<User> |
UserManagement.findUsersByRole(UserRole userRole,
UserStatus status)
Returns a collection of users having a specific role and optionally a specific status.
|
static Map<Locale,Collection<User>> |
UserManagementHelper.getUserByLocale(Collection<User> users)
Groups a collection of users by their localization settings.
|
static Map<Locale,Collection<User>> |
UserManagementHelper.getUserByLocale(Collection<User> users,
Collection<User> usersToSkip)
Groups a collection of users by their localization settings.
|
Modifier and Type | Method and Description |
---|---|
static UserRole[] |
UserAuthorityHelper.getAssignableRoles(User user)
Gets the assignable roles for an user.
|
static Collection<org.springframework.security.core.GrantedAuthority> |
UserAuthorityHelper.getGrantedAuthorities(User user)
Gets the granted Spring Security authorities of an user.
|
static Set<UserRole> |
UserAuthorityHelper.getUserRoles(User user)
Gets the user roles.
|
static boolean |
UserAuthorityHelper.hasAuthority(User user,
UserRole role)
Checks if a user has a given user role.
|
static boolean |
UserManagementHelper.isSystemUser(User user) |
void |
InvalidUserStatusTransitionException.setUser(User user) |
void |
UserLimitUserActivationValidator.validateUserActivation(User user) |
Modifier and Type | Method and Description |
---|---|
<T> T |
UserManagementImpl.getUserById(Long userId,
Converter<User,T> converter) |
<T> T |
UserManagement.getUserById(Long userId,
Converter<User,T> converter)
Return the details of a user.
|
static Map<Locale,Collection<User>> |
UserManagementHelper.getUserByLocale(Collection<User> users)
Groups a collection of users by their localization settings.
|
static Map<Locale,Collection<User>> |
UserManagementHelper.getUserByLocale(Collection<User> users,
Collection<User> usersToSkip)
Groups a collection of users by their localization settings.
|
static Map<Locale,Collection<User>> |
UserManagementHelper.getUserByLocale(Collection<User> users,
Collection<User> usersToSkip)
Groups a collection of users by their localization settings.
|
Constructor and Description |
---|
InvalidUserStatusTransitionException(UserStatus currentStatus,
UserStatus failedNewStatus,
User user)
Constructs a new instance of InvalidUserStatusTransitionException
|
Modifier and Type | Method and Description |
---|---|
abstract Collection<User> |
UserGroupRetriever.getNextUsers()
Method to get the next users.
|
Collection<User> |
IncrementalUserGroupRetriever.getNextUsers()
Method to get the next users.
|
Collection<User> |
ExternalUserGroupRetriever.getNextUsers()
Method to get the next users.
|
Modifier and Type | Method and Description |
---|---|
static String |
UserNameHelper.getCompleteSignature(User user)
Get the complete signature of the user which is "'SALUATAION' 'FIRSTNAME' 'LASTNAME'".
|
static String |
UserNameHelper.getCompleteSignature(User user,
String separator,
String fallback)
Get the complete signature of the user which is "'SALUATAION' 'FIRSTNAME' 'LASTNAME'".
|
static String |
UserNameHelper.getDefaultUserSignature(User user)
Get the default username of the user which is "'SALUATAION' 'FIRSTNAME' 'LASTNAME'".
|
static String |
UserNameHelper.getDetailedUserSignature(User user) |
static String |
UserNameHelper.getSimpleDefaultUserSignature(User user)
Returns a simple user signature consisting of "'FIRSTNAME' 'LASTNAME'" or "'ALIAS'" in case
firstname and lastname are not defined.
|
static String |
UserNameHelper.getUserSignature(User user,
UserNameFormat format)
To get the signature of an user.
|
Modifier and Type | Method and Description |
---|---|
void |
UserPasswordManagementImpl.changePassword(User user,
String newPassword) |
void |
UserPasswordManagement.changePassword(User user,
String newPassword)
Change the password of a user.
|
boolean |
UserPasswordManagementImpl.checkAndUpdatePassword(User user,
String password) |
boolean |
UserPasswordManagement.checkAndUpdatePassword(User user,
String password)
Check that the (hashed) password of the user matches the given clear text password.
|
boolean |
UserPasswordManagementImpl.checkPassword(User user,
String password) |
boolean |
UserPasswordManagement.checkPassword(User user,
String password)
Check that the (hashed) password of the user matches the given clear text password.
|
Modifier and Type | Method and Description |
---|---|
void |
UserActivationValidator.validateUserActivation(User user)
Validate whether the status of the given user can be set to
ACTIVE . |
Modifier and Type | Method and Description |
---|---|
boolean |
UserToUserDataQueryResultConverter.convert(User source,
DetailedUserData target) |
Modifier and Type | Method and Description |
---|---|
protected User |
DataAccessUserConverter.getUser(Long userId)
Getting user object by id
|
Modifier and Type | Method and Description |
---|---|
User |
Attachment.getUploader() |
Modifier and Type | Method and Description |
---|---|
static Attachment |
Attachment.Factory.newInstance(String contentIdentifier,
String repositoryIdentifier,
String name,
String contentType,
Long size,
AttachmentStatus status,
Timestamp uploadDate,
Note note,
GlobalId globalId,
User uploader,
Set<AttachmentProperty> properties)
Constructs a new instance of
Attachment , taking all possible properties (except
the identifier(s))as arguments. |
void |
Attachment.setUploader(User uploader) |
Modifier and Type | Method and Description |
---|---|
Set<User> |
GlobalId.getFollowers() |
Modifier and Type | Method and Description |
---|---|
static GlobalId |
GlobalId.Factory.newInstance(String globalIdentifier,
Set<User> followers)
Constructs a new instance of
GlobalId , taking
all possible properties (except the identifier(s))as arguments. |
void |
GlobalId.setFollowers(Set<User> followers) |
Modifier and Type | Method and Description |
---|---|
User |
Note.getUser() |
Modifier and Type | Method and Description |
---|---|
Set<User> |
Note.getDirectUsers() |
Set<User> |
Note.getFavoriteUsers() |
Set<User> |
Note.getUsersToBeNotified() |
Modifier and Type | Method and Description |
---|---|
static Note |
Note.Factory.newInstance(Timestamp creationDate,
Timestamp lastModificationDate,
Timestamp crawlLastModificationDate,
NoteCreationSource creationSource,
boolean direct,
NoteStatus status,
Long version,
boolean mentionTopicReaders,
boolean mentionTopicAuthors,
boolean mentionTopicManagers,
boolean mentionDiscussionAuthors,
Blog blog,
User user,
Content content)
Constructs a new instance of
Note , taking all required and/or read-only
properties as arguments. |
static Note |
Note.Factory.newInstance(Timestamp creationDate,
Timestamp lastModificationDate,
Timestamp lastDiscussionNoteCreationDate,
Timestamp crawlLastModificationDate,
NoteCreationSource creationSource,
boolean direct,
NoteStatus status,
Long version,
String discussionPath,
Long discussionId,
boolean mentionTopicReaders,
boolean mentionTopicAuthors,
boolean mentionTopicManagers,
boolean mentionDiscussionAuthors,
GlobalId globalId,
Blog blog,
Set<User> favoriteUsers,
Set<Note> children,
Note parent,
Set<Note> versionOf,
Note origin,
Set<Blog> crosspostBlogs,
Set<GlobalId> followableItems,
Set<NoteProperty> properties,
Set<User> directUsers,
User user,
Set<Tag> tags,
Set<User> usersToBeNotified,
Set<Attachment> attachments,
Content content)
Constructs a new instance of
Note , taking all possible properties (except the
identifier(s))as arguments. |
void |
Note.setUser(User user) |
Modifier and Type | Method and Description |
---|---|
static Note |
Note.Factory.newInstance(Timestamp creationDate,
Timestamp lastModificationDate,
Timestamp lastDiscussionNoteCreationDate,
Timestamp crawlLastModificationDate,
NoteCreationSource creationSource,
boolean direct,
NoteStatus status,
Long version,
String discussionPath,
Long discussionId,
boolean mentionTopicReaders,
boolean mentionTopicAuthors,
boolean mentionTopicManagers,
boolean mentionDiscussionAuthors,
GlobalId globalId,
Blog blog,
Set<User> favoriteUsers,
Set<Note> children,
Note parent,
Set<Note> versionOf,
Note origin,
Set<Blog> crosspostBlogs,
Set<GlobalId> followableItems,
Set<NoteProperty> properties,
Set<User> directUsers,
User user,
Set<Tag> tags,
Set<User> usersToBeNotified,
Set<Attachment> attachments,
Content content)
Constructs a new instance of
Note , taking all possible properties (except the
identifier(s))as arguments. |
static Note |
Note.Factory.newInstance(Timestamp creationDate,
Timestamp lastModificationDate,
Timestamp lastDiscussionNoteCreationDate,
Timestamp crawlLastModificationDate,
NoteCreationSource creationSource,
boolean direct,
NoteStatus status,
Long version,
String discussionPath,
Long discussionId,
boolean mentionTopicReaders,
boolean mentionTopicAuthors,
boolean mentionTopicManagers,
boolean mentionDiscussionAuthors,
GlobalId globalId,
Blog blog,
Set<User> favoriteUsers,
Set<Note> children,
Note parent,
Set<Note> versionOf,
Note origin,
Set<Blog> crosspostBlogs,
Set<GlobalId> followableItems,
Set<NoteProperty> properties,
Set<User> directUsers,
User user,
Set<Tag> tags,
Set<User> usersToBeNotified,
Set<Attachment> attachments,
Content content)
Constructs a new instance of
Note , taking all possible properties (except the
identifier(s))as arguments. |
static Note |
Note.Factory.newInstance(Timestamp creationDate,
Timestamp lastModificationDate,
Timestamp lastDiscussionNoteCreationDate,
Timestamp crawlLastModificationDate,
NoteCreationSource creationSource,
boolean direct,
NoteStatus status,
Long version,
String discussionPath,
Long discussionId,
boolean mentionTopicReaders,
boolean mentionTopicAuthors,
boolean mentionTopicManagers,
boolean mentionDiscussionAuthors,
GlobalId globalId,
Blog blog,
Set<User> favoriteUsers,
Set<Note> children,
Note parent,
Set<Note> versionOf,
Note origin,
Set<Blog> crosspostBlogs,
Set<GlobalId> followableItems,
Set<NoteProperty> properties,
Set<User> directUsers,
User user,
Set<Tag> tags,
Set<User> usersToBeNotified,
Set<Attachment> attachments,
Content content)
Constructs a new instance of
Note , taking all possible properties (except the
identifier(s))as arguments. |
void |
Note.setDirectUsers(Set<User> directUsers) |
void |
Note.setFavoriteUsers(Set<User> favoriteUsers) |
void |
Note.setUsersToBeNotified(Set<User> usersToBeNotified) |
Modifier and Type | Method and Description |
---|---|
User |
SecurityCode.getUser() |
Modifier and Type | Method and Description |
---|---|
static SecurityCode |
SecurityCode.Factory.newInstance(String code,
SecurityCodeAction action,
Timestamp creatingDate,
User kenmeiUser)
Constructs a new instance of
SecurityCode , taking all possible properties (except
the identifier(s))as arguments. |
void |
SecurityCode.setUser(User user) |
Modifier and Type | Method and Description |
---|---|
User |
NavigationItem.getOwner() |
User |
UserNoteProperty.getUser() |
static User |
User.Factory.newInstance()
Constructs a new instance of
User . |
static User |
User.Factory.newInstance(String email,
String languageCode,
UserStatus status,
boolean termsAccepted,
boolean reminderMailSent,
Timestamp statusChanged,
UserProfile profile)
Constructs a new instance of
User , taking all required and/or read-only
properties as arguments. |
Modifier and Type | Method and Description |
---|---|
static NavigationItem |
NavigationItem.Factory.newInstance(String data,
int itemIndex,
Timestamp lastAccessDate,
String name,
User owner)
Constructs a new instance of
NavigationItem ,
taking all possible properties (except the identifier(s))as arguments. |
static UserNoteProperty |
UserNoteProperty.Factory.newInstance(String propertyValue,
String keyGroup,
String propertyKey,
Date lastModificationDate,
User user,
Note note)
Constructs a new instance of
UserNoteProperty , taking all possible properties
(except the identifier(s))as arguments. |
void |
NavigationItem.setOwner(User owner) |
void |
UserNoteProperty.setUser(User user) |
Modifier and Type | Method and Description |
---|---|
User |
UserOfGroup.getUser() |
Modifier and Type | Method and Description |
---|---|
static UserOfGroup |
UserOfGroup.Factory.newInstance(Group group,
User user)
Constructs a new instance of
UserOfGroup ,
taking all required and/or read-only properties as arguments. |
static UserOfGroup |
UserOfGroup.Factory.newInstance(UserOfGroupModificationType modificationType,
Group group,
User user)
Constructs a new instance of
UserOfGroup ,
taking all possible properties (except the identifier(s))as arguments. |
void |
UserOfGroup.setUser(User user) |
Modifier and Type | Method and Description |
---|---|
User |
UserNoteEntity.getUser() |
Modifier and Type | Method and Description |
---|---|
static UserNoteEntity |
UserNoteEntity.Factory.newInstance(int rank,
Note note,
User user)
Constructs a new instance of
UserNoteEntity ,
taking all required and/or read-only properties as arguments. |
static UserNoteEntity |
UserNoteEntity.Factory.newInstance(int rank,
Note note,
User user,
Set<UserNoteProperty> properties)
Constructs a new instance of
UserNoteEntity ,
taking all possible properties (except the identifier(s))as arguments. |
void |
UserNoteEntity.setUser(User user) |
Modifier and Type | Method and Description |
---|---|
static UnlockUserSecurityCode |
UnlockUserSecurityCode.Factory.newInstance(ChannelType channel,
String code,
SecurityCodeAction action,
Timestamp creatingDate,
User kenmeiUser)
Constructs a new instance of
UnlockUserSecurityCode , taking all
possible properties (except the identifier(s))as arguments. |
static InviteUserToBlogSecurityCode |
InviteUserToBlogSecurityCode.Factory.newInstance(Long inviterId,
User invitedUser) |
static UserSecurityCode |
UserSecurityCode.Factory.newInstance(String code,
SecurityCodeAction action,
Timestamp creatingDate,
User kenmeiUser)
Constructs a new instance of
UserSecurityCode , taking all possible
properties (except the identifier(s))as arguments. |
static ForgottenPasswordSecurityCode |
ForgottenPasswordSecurityCode.Factory.newInstance(String code,
SecurityCodeAction action,
Timestamp creatingDate,
User kenmeiUser)
Constructs a new instance of
ForgottenPasswordSecurityCode , taking
all possible properties (except the identifier(s))as arguments. |
static EmailSecurityCode |
EmailSecurityCode.Factory.newInstance(String newEmailAddress,
String code,
SecurityCodeAction action,
Timestamp creatingDate,
User kenmeiUser)
Constructs a new instance of
EmailSecurityCode , taking all possible
properties (except the identifier(s))as arguments. |
static InviteUserToClientSecurityCode |
InviteUserToClientSecurityCode.Factory.newInstance(User invitedUser) |
Modifier and Type | Method and Description |
---|---|
GlobalId |
GlobalIdDaoBase.createGlobalId(User user) |
GlobalId |
GlobalIdDao.createGlobalId(User user) |
protected GlobalId |
GlobalIdDaoImpl.handleCreateGlobalId(User user)
Create a global id for the user
|
protected abstract GlobalId |
GlobalIdDaoBase.handleCreateGlobalId(User user)
Performs the core logic for
GlobalIdDaoBase.createGlobalId(com.communote.server.model.user.User) |
Modifier and Type | Method and Description |
---|---|
User |
UserDaoBase.create(User user) |
User |
UserDao.create(User kenmeiUser)
Creates an instance of User and adds it to the persistent store.
|
User |
UserDaoBase.findByAlias(String alias) |
User |
UserDao.findByAlias(String alias) |
User |
UserDaoBase.findByEmail(String email) |
User |
UserDao.findByEmail(String email)
Find the user by a given email
|
User |
UserDaoBase.findByExternalUserId(String userId,
String systemId) |
User |
UserDao.findByExternalUserId(String userId,
String systemId) |
protected User |
UserDaoImpl.handleFindByAlias(String alias)
Performs the core logic for
UserDaoBase.findByAlias(String) |
protected abstract User |
UserDaoBase.handleFindByAlias(String alias)
Performs the core logic for
UserDaoBase.findByAlias(String) |
protected User |
UserDaoImpl.handleFindByEmail(String email)
Performs the core logic for
UserDaoBase.findByEmail(String) |
protected abstract User |
UserDaoBase.handleFindByEmail(String email)
Performs the core logic for
UserDaoBase.findByEmail(String) |
protected User |
UserDaoImpl.handleFindByExternalUserId(String userId,
String systemId)
Performs the core logic for
UserDaoBase.findByExternalUserId(String, String) |
protected abstract User |
UserDaoBase.handleFindByExternalUserId(String userId,
String systemId)
Performs the core logic for
UserDaoBase.findByExternalUserId(String, String) |
User |
UserDaoBase.load(Long id) |
User |
UserDao.load(Long id)
Loads an instance of User from the persistent store.
|
User |
UserDaoImpl.userVOToEntity(UserVO kenmeiUserVO)
Creates a new (not persisted) entity and copies the fields of the VO to the corresponding
fields of the entity.
|
User |
UserDao.userVOToEntity(UserVO userVO)
Creates a new (not persisted) entity and copies the fields of the VO to the corresponding
fields of the entity.
|
Modifier and Type | Method and Description |
---|---|
Collection<User> |
UserDaoBase.create(Collection<User> entities) |
Collection<User> |
UserDao.create(Collection<User> entities)
Creates a new instance of User and adds from the passed in
entities collection |
Collection<User> |
UserDaoBase.create(int transform,
Collection<User> entities) |
List<User> |
UserDaoBase.findByExternalSystemId(String systemId) |
List<User> |
UserDao.findByExternalSystemId(String systemId)
Returns the users which are members of the foreign system.
|
List<User> |
UserDaoBase.findByRole(UserRole userRole,
UserStatus status) |
List<User> |
UserDao.findByRole(UserRole userRole,
UserStatus status) |
List<User> |
UserDaoBase.findLatestBySystemId(String externalSystemId,
Long userId,
int maxCount) |
List<User> |
UserDao.findLatestBySystemId(String externalSystemId,
Long userId,
int maxCount) |
List<User> |
UserDaoBase.findNotConfirmedUser(Date before,
boolean reminderMailSent) |
List<User> |
UserDao.findNotConfirmedUser(Date before,
boolean reminderMailSent) |
Collection<User> |
UserDaoBase.findNotDeletedUser(boolean excludeSystemUsers) |
Collection<User> |
UserDao.findNotDeletedUser(boolean excludeSystemUsers)
returns a collection of users which do not have one of the deleted statuses
|
List<User> |
UserDaoBase.findNotLoggedInActiveUser(Date before,
boolean reminderMailSent,
boolean includeTermsNotAccepted) |
List<User> |
UserDao.findNotLoggedInActiveUser(Date before,
boolean reminderMailSent,
boolean includeTermsNotAccepted) |
protected List<User> |
UserDaoImpl.handleFindByExternalSystemId(String systemId)
Performs the core logic for
UserDaoBase.findByExternalSystemId(String) |
protected abstract List<User> |
UserDaoBase.handleFindByExternalSystemId(String systemId)
Performs the core logic for
UserDaoBase.findByExternalSystemId(String) |
protected List<User> |
UserDaoImpl.handleFindByRole(UserRole userRole,
UserStatus status)
Performs the core logic for
UserDaoBase.findByRole(com.communote.server.model.user.UserRole, com.communote.server.model.user.UserStatus) |
protected abstract List<User> |
UserDaoBase.handleFindByRole(UserRole userRole,
UserStatus status)
Performs the core logic for
UserDaoBase.findByRole(com.communote.server.model.user.UserRole, com.communote.server.model.user.UserStatus) |
protected List<User> |
UserDaoImpl.handleFindLatestBySystemId(String externalSystemId,
Long userId,
int maxCount)
Performs the core logic for
UserDaoBase.findLatestBySystemId(String, Long, int) |
protected abstract List<User> |
UserDaoBase.handleFindLatestBySystemId(String externalSystemId,
Long userId,
int maxCount)
Performs the core logic for
UserDaoBase.findLatestBySystemId(String, Long, int) |
protected List<User> |
UserDaoImpl.handleFindNotConfirmedUser(Date before,
boolean reminderMailSent)
Performs the core logic for
UserDaoBase.findNotConfirmedUser(java.util.Date, boolean) |
protected abstract List<User> |
UserDaoBase.handleFindNotConfirmedUser(Date before,
boolean reminderMailSent)
Performs the core logic for
UserDaoBase.findNotConfirmedUser(java.util.Date, boolean) |
protected Collection<User> |
UserDaoImpl.handleFindNotDeletedUser(boolean excludeSystemUsers)
Performs the core logic for
UserDaoBase.findNotDeletedUser(boolean) |
protected abstract Collection<User> |
UserDaoBase.handleFindNotDeletedUser(boolean excludeSystemUsers)
Performs the core logic for
UserDaoBase.findNotDeletedUser(boolean) |
protected List<User> |
UserDaoImpl.handleFindNotLoggedInActiveUser(Date before,
boolean reminderMailSent,
boolean includeTermsNotAccepted) |
protected abstract List<User> |
UserDaoBase.handleFindNotLoggedInActiveUser(Date before,
boolean reminderMailSent,
boolean includeTermsNotAccepted)
Performs the core logic for
UserDaoBase.findNotLoggedInActiveUser(java.util.Date, boolean, boolean) |
Collection<User> |
UserDaoBase.loadAll() |
Collection<User> |
UserDao.loadAll()
Loads all entities of type
User . |
Modifier and Type | Method and Description |
---|---|
Object |
UserDaoImpl.create(int transform,
User kenmeiUser)
Does the same thing as
UserDao.create(User) with an additional flag called
transform . |
Object |
UserDaoBase.create(int transform,
User user) |
Object |
UserDao.create(int transform,
User kenmeiUser)
Does the same thing as
UserDao.create(User) with an additional flag called
transform . |
User |
UserDaoBase.create(User user) |
User |
UserDao.create(User kenmeiUser)
Creates an instance of User and adds it to the persistent store.
|
void |
UserDaoBase.evict(User entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserDao.evict(User entity)
Evicts (removes) the entity from the hibernate cache
|
void |
UserDaoBase.remove(User user) |
void |
UserDao.remove(User user)
Removes the instance of User from the persistent store.
|
UserVO |
UserDaoBase.toUserVO(User entity) |
UserVO |
UserDao.toUserVO(User entity)
Converts this DAO's entity to an object of type
UserVO . |
void |
UserDaoBase.toUserVO(User source,
UserVO target) |
void |
UserDao.toUserVO(User source,
UserVO target)
Copies the fields of the specified entity to the target value object.
|
protected Object |
UserDaoBase.transformEntity(int transform,
User entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
com.communote.server.persistence.user.UserDao , please note that the
UserDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
UserDaoBase.update(User user) |
void |
UserDao.update(User user)
Updates the
user instance in the persistent store. |
void |
UserDaoImpl.userVOToEntity(UserVO source,
User target)
Copies the fields of the VO to the corresponding fields of the entity.
|
void |
UserDao.userVOToEntity(UserVO source,
User target)
Copies the fields of the VO to the corresponding fields of the entity.
|
Modifier and Type | Method and Description |
---|---|
Collection<User> |
UserDaoBase.create(Collection<User> entities) |
Collection<User> |
UserDao.create(Collection<User> entities)
Creates a new instance of User and adds from the passed in
entities collection |
Collection<User> |
UserDaoBase.create(int transform,
Collection<User> entities) |
Collection<?> |
UserDao.create(int transform,
Collection<User> entities)
Does the same thing as
UserDao.create(User) with an additional flag called
transform . |
void |
UserDaoBase.remove(Collection<User> entities) |
void |
UserDao.remove(Collection<User> entities)
Removes all entities in the given
entities |
void |
UserDaoBase.update(Collection<User> entities) |
void |
UserDao.update(Collection<User> entities)
Updates all instances in the
entities collection in the persistent store. |
Modifier and Type | Method and Description |
---|---|
void |
ExternalUserGroupAccessor.acceptGroupsOfUser(User user,
ExternalEntityVisitor<ExternalGroupVO> visitor)
This method can be used to visit all groups of a given user.
|
Modifier and Type | Method and Description |
---|---|
User |
UserService.getUser(String alias)
Get a user by its alias.
|
User |
UserService.getUser(String externalUserId,
String externalSystemId)
Get a user that originates from a specific external system.
|
User |
UserService.getUser(UserIdentification userIdentification,
UserService.UserServiceRetrievalFlag... flags)
Get a user specified by the given
UserIdentification . |
Modifier and Type | Method and Description |
---|---|
List<User> |
SearchUserForm.getSearchResults()
Returns the search results
|
Modifier and Type | Method and Description |
---|---|
void |
SearchUserForm.setSearchResults(List<User> searchResults) |
Copyright © 2019 Communote team. All rights reserved.