View Javadoc
1   package io.extact.rms.application.persistence;
2   
3   import io.extact.rms.application.domain.UserAccount;
4   
5   public interface UserAccountRepository extends GenericRepository<UserAccount> {
6   
7       /**
8        * ログインIDとパスワードに一致するユーザを取得。
9        *
10       * @param loginId ログインID
11       * @param password パスワード
12       * @return 該当ユーザ。該当なしはnull
13       */
14      UserAccount findByLoginIdAndPasswod(String loginId, String password);
15  
16      //
17      /**
18       * ログインIDに一致するユーザを取得する。
19       *
20       * @param loginId ログインID
21       * @return 該当ユーザ。該当なしはnull
22       */
23      UserAccount findByLoginId(String loginId);
24  }