Package com.skava.service.impl
Class UserCheckUpdateServiceImpl
java.lang.Object
com.skava.service.impl.UserCheckUpdateServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<UserRequest,
,UsersResponse> UserCheckUpdateService
@Service
@Transactional(propagation=REQUIRED,
readOnly=false,
noRollbackFor=java.lang.Exception.class)
public class UserCheckUpdateServiceImpl
extends Object
implements UserCheckUpdateService
An interface to define the service for creating a new User.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess
(UserRequest request) This service is used to update user's profile information including identities.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator, getValidator
-
Constructor Details
-
UserCheckUpdateServiceImpl
public UserCheckUpdateServiceImpl()Default Constructor.
-
-
Method Details
-
process
@HystrixCommand(commandKey="user-key", fallbackMethod="methodFallback", ignoreExceptions=com.skava.core.validation.ValidateException.class) public UsersResponse process(UserRequest request) This service is used to update user's profile information including identities. Unique identities alone will be accepted for the user within the collection else results in validation failure. Administrators (CSR) can update other user's profile information on their behalf.- Specified by:
process
in interfacecom.skava.core.EcommService<UserRequest,
UsersResponse> - Parameters:
request
- HoldsUserRequest
object which is used to update the properties from an user.- Returns:
- The
UserCreateResponse
object which returns the success response code and message and if any validations fails, throws an validate exception.
-