Package com.rosivanyshyn.service.impl
Class AccountServiceImpl
java.lang.Object
com.rosivanyshyn.service.impl.AccountServiceImpl
- All Implemented Interfaces:
AccountService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAccount(Account account) Create new accountdeleteAccount(Account account) Delete accountfindAccountByField(String field, Object value) Find account by fieldisAccountExist(Account account) Check if account existupdateAccount(Account account) Update account
-
Constructor Details
-
AccountServiceImpl
-
-
Method Details
-
createAccount
Description copied from interface:AccountServiceCreate new account- Specified by:
createAccountin interfaceAccountService- Parameters:
account- the account to be added- Returns:
- operation result
-
isAccountExist
Description copied from interface:AccountServiceCheck if account exist- Specified by:
isAccountExistin interfaceAccountService- Parameters:
account- the account to be checked- Returns:
- operation result
-
findAccountByField
Description copied from interface:AccountServiceFind account by field- Specified by:
findAccountByFieldin interfaceAccountService- Parameters:
field- field namevalue- unique field value- Returns:
- found account
-
updateAccount
Description copied from interface:AccountServiceUpdate account- Specified by:
updateAccountin interfaceAccountService- Parameters:
account- account to update- Returns:
- operation result
-
deleteAccount
Description copied from interface:AccountServiceDelete account- Specified by:
deleteAccountin interfaceAccountService- Parameters:
account- account to delete- Returns:
- operation result
-