|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserService
UserService provides User manipulation methods exposed for remote API and actions.
| Nested Class Summary | |
|---|---|
static class |
UserService.CreateUserValidationResult
|
static class |
UserService.DeleteUserValidationResult
|
static class |
UserService.FieldName
|
| Method Detail |
|---|
UserService.CreateUserValidationResult validateCreateUserForSignupOrSetup(com.atlassian.crowd.embedded.api.User user,
String username,
String password,
String confirmPassword,
String email,
String fullname)
user - The remote user trying to add a new userusername - The username of the new user. Needs to be lowercase and unique.password - The password for the new user.confirmPassword - The password confirmation. Needs to match password.email - The email for the new user. Needs to be a valid email address.fullname - The full name for the new user
UserService.CreateUserValidationResult validateCreateUserForSignupOrSetup(User user,
String username,
String password,
String confirmPassword,
String email,
String fullname)
user - The remote user trying to add a new userusername - The username of the new user. Needs to be lowercase and unique.password - The password for the new user.confirmPassword - The password confirmation. Needs to match password.email - The email for the new user. Needs to be a valid email address.fullname - The full name for the new user
UserService.CreateUserValidationResult validateCreateUserForAdminPasswordRequired(com.atlassian.crowd.embedded.api.User user,
String username,
String password,
String confirmPassword,
String email,
String fullname)
user - The remote user trying to add a new userusername - The username of the new user. Needs to be lowercase and unique.password - The password for the new user.confirmPassword - The password confirmation. Needs to match password.email - The email for the new user. Needs to be a valid email address.fullname - The full name for the new user
UserService.CreateUserValidationResult validateCreateUserForAdminPasswordRequired(User user,
String username,
String password,
String confirmPassword,
String email,
String fullname)
user - The remote user trying to add a new userusername - The username of the new user. Needs to be lowercase and unique.password - The password for the new user.confirmPassword - The password confirmation. Needs to match password.email - The email for the new user. Needs to be a valid email address.fullname - The full name for the new user
UserService.CreateUserValidationResult validateCreateUserForAdmin(com.atlassian.crowd.embedded.api.User user,
String username,
String password,
String confirmPassword,
String email,
String fullname)
user - The remote user trying to add a new userusername - The username of the new user. Needs to be lowercase and unique.password - The password for the new user.confirmPassword - The password confirmation. Needs to match password.email - The email for the new user. Needs to be a valid email address.fullname - The full name for the new user
UserService.CreateUserValidationResult validateCreateUserForAdmin(User user,
String username,
String password,
String confirmPassword,
String email,
String fullname)
user - The remote user trying to add a new userusername - The username of the new user. Needs to be lowercase and unique.password - The password for the new user.confirmPassword - The password confirmation. Needs to match password.email - The email for the new user. Needs to be a valid email address.fullname - The full name for the new user
UserService.CreateUserValidationResult validateCreateUserForAdmin(com.atlassian.crowd.embedded.api.User user,
String username,
String password,
String confirmPassword,
String email,
String fullname,
Long directoryId)
user - The remote user trying to add a new userusername - The username of the new user. Needs to be lowercase and unique.password - The password for the new user.confirmPassword - The password confirmation. Needs to match password.email - The email for the new user. Needs to be a valid email address.fullname - The full name for the new user
User createUserForSignup(UserService.CreateUserValidationResult result)
throws ImmutableException
createUserFromSignup(com.atlassian.jira.bc.user.UserService.CreateUserValidationResult) instead. Since v4.3
result - The validation result
ImmutableException
com.atlassian.crowd.embedded.api.User createUserFromSignup(UserService.CreateUserValidationResult result)
throws PermissionException,
CreateException
result - The validation result
PermissionException
CreateException
User createUser(UserService.CreateUserValidationResult result)
throws ImmutableException
createUserWithNotification(com.atlassian.jira.bc.user.UserService.CreateUserValidationResult) instead. Since v4.3
result - The validation result
ImmutableException
com.atlassian.crowd.embedded.api.User createUserWithNotification(UserService.CreateUserValidationResult result)
throws PermissionException,
CreateException
result - The validation result
PermissionException
CreateException
User createUserNoEvent(UserService.CreateUserValidationResult result)
throws ImmutableException
createUserNoNotification(com.atlassian.jira.bc.user.UserService.CreateUserValidationResult) instead. Since v4.3
result - The validation result
ImmutableException
com.atlassian.crowd.embedded.api.User createUserNoNotification(UserService.CreateUserValidationResult result)
throws PermissionException,
CreateException
result - The validation result
PermissionException
CreateException
UserService.DeleteUserValidationResult validateDeleteUser(com.atlassian.crowd.embedded.api.User loggedInUser,
String username)
loggedInUser - The remote user trying to remove an userusername - The username of the user to remove. Needs to be valid
UserService.DeleteUserValidationResult validateDeleteUser(User loggedInUser,
String username)
loggedInUser - The remote user trying to remove an userusername - The username of the user to remove. Needs to be valid
void removeUser(com.atlassian.crowd.embedded.api.User user,
UserService.DeleteUserValidationResult result)
user - the user to deleteresult - The validation result
void removeUser(User user,
UserService.DeleteUserValidationResult result)
user - the user to deleteresult - The validation result
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||