Class UserAccountFileRepository
java.lang.Object
io.extact.rms.application.persistence.file.AbstractFileRepository<UserAccount>
io.extact.rms.application.persistence.file.UserAccountFileRepository
- All Implemented Interfaces:
FileRepository
,GenericRepository<UserAccount>
,UserAccountRepository
@ApplicationScoped
@EnabledIfRuntimeConfig(propertyName="persistence.apiType",
value="file")
public class UserAccountFileRepository
extends AbstractFileRepository<UserAccount>
implements UserAccountRepository
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.extact.rms.application.persistence.GenericRepository
GenericRepository.ApiType
-
Constructor Summary
ConstructorsConstructorDescriptionUserAccountFileRepository
(FileAccessor fileAccessor, EntityArrayConverter<UserAccount> converter) -
Method Summary
Modifier and TypeMethodDescriptionfindByLoginId
(String loginId) ログインIDに一致するユーザを取得する。findByLoginIdAndPasswod
(String loginId, String password) ログインIDとパスワードに一致するユーザを取得。Methods inherited from class io.extact.rms.application.persistence.file.AbstractFileRepository
add, delete, delete, findAll, get, getNextSequence, getStoragePath, update
-
Constructor Details
-
UserAccountFileRepository
@Inject public UserAccountFileRepository(FileAccessor fileAccessor, EntityArrayConverter<UserAccount> converter)
-
-
Method Details
-
findByLoginIdAndPasswod
Description copied from interface:UserAccountRepository
ログインIDとパスワードに一致するユーザを取得。- Specified by:
findByLoginIdAndPasswod
in interfaceUserAccountRepository
- Parameters:
loginId
- ログインIDpassword
- パスワード- Returns:
- 該当ユーザ。該当なしはnull
-
findByLoginId
Description copied from interface:UserAccountRepository
ログインIDに一致するユーザを取得する。- Specified by:
findByLoginId
in interfaceUserAccountRepository
- Parameters:
loginId
- ログインID- Returns:
- 該当ユーザ。該当なしはnull
-