public interface UserServiceAsync extends UserService
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<AssignToProjectResult> |
assignToProjectAsync(AssignToProjectRequest assignToProjectRequest)
Assign user to project from the request.
|
java.util.concurrent.Future<AssignToProjectResult> |
assignToProjectAsync(AssignToProjectRequest assignToProjectRequest,
AsyncHandler<AssignToProjectRequest,AssignToProjectResult> asyncHandler)
Assign user to project from the request.
|
java.util.concurrent.Future<User> |
createAsync(CreateUserRequest createUserRequest)
Creates user information from the given create user request.
|
java.util.concurrent.Future<User> |
createAsync(CreateUserRequest createUserRequest,
AsyncHandler<CreateUserRequest,User> asyncHandler)
Creates user information from the given create user request.
|
assignToProject, create, listUsersetEndpoint, shutdownjava.util.concurrent.Future<User> createAsync(CreateUserRequest createUserRequest) throws AuthServiceException
createUserRequest - the given user request to perform create action.AuthServiceException - if an error occurs during create user information.java.util.concurrent.Future<User> createAsync(CreateUserRequest createUserRequest, AsyncHandler<CreateUserRequest,User> asyncHandler) throws AuthServiceException
createUserRequest - the given user request to perform create action.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthServiceException - if an error occurs during create user information.java.util.concurrent.Future<AssignToProjectResult> assignToProjectAsync(AssignToProjectRequest assignToProjectRequest) throws AuthServiceException
assignToProjectRequest - the given assign to project request.AuthServiceException - if an error occurs during assigning user to project.java.util.concurrent.Future<AssignToProjectResult> assignToProjectAsync(AssignToProjectRequest assignToProjectRequest, AsyncHandler<AssignToProjectRequest,AssignToProjectResult> asyncHandler) throws AuthServiceException
assignToProjectRequest - the given assign to project request.asyncHandler - callback handler for events in the life-cycle of the request.
Users could provide the implementation of the for callback
methods in this interface to process the operation result or
handle the exception.AuthServiceException - if an error occurs during assigning user to project.