All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.qas.qtest.api.services.user.UserProfileService Maven / Gradle / Ivy

The newest version!
package org.qas.qtest.api.services.user;

import org.qas.api.AuthServiceException;
import org.qas.qtest.api.internal.QTestService;
import org.qas.qtest.api.services.user.model.*;

import java.util.List;

/**
 * UserProfileService
 *
 * @author trongle
 * @since 1.4.2
 */
public interface UserProfileService extends QTestService {
  /**
   * Creates user from the given {@link CreateUserRequest create user request} instance.
   *
   * @param getUserProfileRequest
   * @return the user information.
   * @throws AuthServiceException if an error occurs during creating user.
   */
  UserProfile get(GetUserProfileRequest getUserProfileRequest) throws AuthServiceException;

  /**
   * Assign user to project from the request.
   *
   * @param assignToProjectRequest the given assign to project request.
   * @return the assign to project result.
   * @throws AuthServiceException if an error occurs during assigning user to project.
   */
  List batchAssignUsers(AssignToProjectRequest assignToProjectRequest) throws AuthServiceException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy