Package com.skava.accounts.util
Class FindAccountServiceUtil
java.lang.Object
com.skava.accounts.util.FindAccountServiceUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccountCommonServices
The account common service.protected AccountsRepository
protected AttributeRepository
protected FindAccountServiceTeamUtil
The FindAccountServiceTeamUtil.protected org.springframework.context.MessageSource
MessageSource. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindById
(AccountsDO accountDO) This method is used to find Account based on given Account Request identifier.void
setAccountPropertySequence
(Accounts account) This method is used to set property sequence.
-
Field Details
-
accountCommonService
The account common service. -
findAccountServiceTeamUtil
The FindAccountServiceTeamUtil. -
messageSource
@Autowired protected org.springframework.context.MessageSource messageSourceMessageSource. -
accountRepository
-
attributeRepository
-
-
Constructor Details
-
FindAccountServiceUtil
public FindAccountServiceUtil()
-
-
Method Details
-
findById
This method is used to find Account based on given Account Request identifier.- Parameters:
accountDO
- It contains the attributes required for loading Account.- Returns:
- It returns the
AccountsDO
. throwsValidateException
if any validation error occurs.
-
setAccountPropertySequence
This method is used to set property sequence.- Parameters:
account
- the account do
-