public interface UserService extends CRUDService<UserDTO,UserData,java.lang.Long>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addContact(UserLocatorVO locator)
Adds the located user to the logged user's contact list, returning whether the list has changed
|
SerializableInputStream |
exportToCSV(UserQuery params)
Generates a CSV with the query result
|
ActiveConfigurationData |
getActiveConfiguration(UserLocatorVO locator)
Returns the
ActiveConfigurationData, containing all the actual configuration for the user matching the given locator |
UserWithRolesVO |
getCurrentUser()
Returns the current user logged in
|
UserSearchData |
getSearchData(UserSearchContext context)
Gets data used on the search page, according to the given search type
|
java.util.List<GroupVO> |
getUserRegistrationGroups()
Return the list of groups the logged user can register new users for
|
ViewProfileData |
getViewProfileData(UserLocatorVO locator)
Return a
ViewProfileData for the user matching the given locator |
UserDetailedVO |
locate(UserLocatorVO locator)
Locates an user by a customizable key.
|
void |
markEmailAsValidated(UserLocatorVO locator)
Marks the email as validated.
|
SerializableInputStream |
printUsers(UserQuery query)
Generates the PDF content for an user listing
|
UserRegistrationResult |
publicRegister(PublicRegistrationDTO user)
Registers an user from a public registration
|
UserRegistrationResult |
register(UserRegistrationDTO user)
Registers an user
|
boolean |
removeContact(UserLocatorVO locator)
Removes the given user to the logged user's contact list, returning whether the list has changed
|
void |
resendEmailChangeMail(UserLocatorVO locator)
Re-sends the e-mail change e-mail to an user
|
void |
resendValidationMail(UserLocatorVO locator)
Re-sends the validation mail to a pending user
|
Page<UserDetailedVO> |
search(UserQuery query)
Search users according to the specified query parameters
|
void |
updateUserActivity(UserActivityType type)
Updates user information status according to the given activity
|
java.lang.Long |
validateEmailChange(java.lang.String validationKey)
Validate an e-mail change for the given validation key, returning the affected user identifier
|
UserValidationData |
validateRegistration(java.lang.String validationKey)
Validate user registration which was pending e-mail verification, via a provided key
|
getData, getDataForNew, load, remove, removeAll, saveboolean addContact(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionSerializableInputStream exportToCSV(UserQuery params)
ActiveConfigurationData getActiveConfiguration(UserLocatorVO locator) throws FrameworkException
ActiveConfigurationData, containing all the actual configuration for the user matching the given locatorFrameworkExceptionUserWithRolesVO getCurrentUser() throws FrameworkException
FrameworkExceptionUserSearchData getSearchData(UserSearchContext context) throws FrameworkException
FrameworkExceptionjava.util.List<GroupVO> getUserRegistrationGroups() throws FrameworkException
FrameworkExceptionViewProfileData getViewProfileData(UserLocatorVO locator) throws FrameworkException
ViewProfileData for the user matching the given locatorFrameworkExceptionUserDetailedVO locate(UserLocatorVO locator) throws FrameworkException
ValidationException: - if the locator is invalid (there is no fields non null).EntityNotFoundException: - if the user was not found or more than one user was found with the specified locator.FrameworkExceptionvoid markEmailAsValidated(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionSerializableInputStream printUsers(UserQuery query) throws FrameworkException, ReportExecutionException, QueryParseException
UserRegistrationResult publicRegister(PublicRegistrationDTO user) throws FrameworkException
FrameworkExceptionUserRegistrationResult register(UserRegistrationDTO user) throws FrameworkException
FrameworkExceptionboolean removeContact(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionvoid resendEmailChangeMail(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionvoid resendValidationMail(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionPage<UserDetailedVO> search(UserQuery query) throws FrameworkException, QueryParseException
void updateUserActivity(UserActivityType type) throws FrameworkException
FrameworkExceptionjava.lang.Long validateEmailChange(java.lang.String validationKey)
throws FrameworkException
FrameworkExceptionUserValidationData validateRegistration(java.lang.String validationKey) throws FrameworkException
FrameworkException