Class UserAccountRepositoryImpl
- java.lang.Object
-
- com.academy.stratum.repository.impl.UserAccountRepositoryImpl
-
- All Implemented Interfaces:
UserAccountRepository
@Repository("userAccountRepository") public class UserAccountRepositoryImpl extends java.lang.Object implements UserAccountRepository
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.jdbc.core.JdbcTemplate
jdbcTemplate
static org.springframework.jdbc.core.RowMapper<UserAccount>
ROW_MAPPER
-
Constructor Summary
Constructors Constructor Description UserAccountRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(java.lang.String login)
UserAccount
getByLogin(java.lang.String login)
void
persist(UserAccount userAccount)
-
-
-
Field Detail
-
jdbcTemplate
@Autowired protected org.springframework.jdbc.core.JdbcTemplate jdbcTemplate
-
ROW_MAPPER
public static final org.springframework.jdbc.core.RowMapper<UserAccount> ROW_MAPPER
-
-
Method Detail
-
persist
public void persist(UserAccount userAccount)
- Specified by:
persist
in interfaceUserAccountRepository
-
delete
public void delete(java.lang.String login)
- Specified by:
delete
in interfaceUserAccountRepository
-
getByLogin
public UserAccount getByLogin(java.lang.String login)
- Specified by:
getByLogin
in interfaceUserAccountRepository
-
-