Package com.skava.accounts.service.impl
Class UpdateAccountServiceImpl
java.lang.Object
com.skava.accounts.service.impl.UpdateAccountServiceImpl
- All Implemented Interfaces:
UpdateAccountService
,com.skava.core.EcommService<AccountRequestInternal,
AccountAPIResponse>
@Service
@Transactional(propagation=REQUIRED,
readOnly=false,
noRollbackFor=java.lang.Exception.class)
public class UpdateAccountServiceImpl
extends Object
implements UpdateAccountService
The Class UpdateAccountServiceImpl is used to update
an account based on the provided information.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(AccountRequestInternal request) This method is used to update all field in Account based on given Account.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
-
Constructor Details
-
UpdateAccountServiceImpl
public UpdateAccountServiceImpl()
-
-
Method Details
-
process
@SendEvent(eventType="accountservice/account/update", identifier="response_account.id") public AccountAPIResponse process(AccountRequestInternal request) This method is used to update all field in Account based on given Account.- Specified by:
process
in interfacecom.skava.core.EcommService<AccountRequestInternal,
AccountAPIResponse> - Parameters:
request
- It contains the attributes required for the update all field in Account.- Returns:
- It returns the
AccountAPIResponse
.
-
getValidator
@ValidatorEvent(serviceName="account", webhookName="accountservice/validator/account", actionType="update") public List<com.skava.core.validation.ValidatorComponent> getValidator()- Specified by:
getValidator
in interfacecom.skava.core.EcommService<AccountRequestInternal,
AccountAPIResponse>
-