インタフェース UserProfileTransitionRepository
- すべてのスーパーインタフェース:
org.springframework.data.repository.CrudRepository<UserProfileTransition,String>
,org.springframework.data.mongodb.repository.MongoRepository<UserProfileTransition,String>
,org.springframework.data.repository.PagingAndSortingRepository<UserProfileTransition,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<UserProfileTransition>
,org.springframework.data.repository.Repository<UserProfileTransition,String>
@Repository public interface UserProfileTransitionRepository extends org.springframework.data.mongodb.repository.MongoRepository<UserProfileTransition,String>
The interface that manages user profile transition repository.
- 導入されたバージョン:
- 1.0.0
-
メソッドの概要
修飾子とタイプ メソッド 説明 List<UserProfileTransition>
findByLatestTrue()
Returns the all latest user profile transitions.UserProfileTransition
findByUserIdAndUserProfileTransitionTypeCodeAndLatestTrue(long userId, int userProfileTransitionTypeCode)
Returns the latest user profile transition linked to the user id passed as an argument.インタフェースから継承されたメソッド org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAllById, findById, save
インタフェースから継承されたメソッド org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, findAll, insert, insert, saveAll
インタフェースから継承されたメソッド org.springframework.data.repository.PagingAndSortingRepository
findAll
インタフェースから継承されたメソッド org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
メソッドの詳細
-
findByLatestTrue
List<UserProfileTransition> findByLatestTrue()Returns the all latest user profile transitions.- 戻り値:
- The all latest user profile transitions
-
findByUserIdAndUserProfileTransitionTypeCodeAndLatestTrue
UserProfileTransition findByUserIdAndUserProfileTransitionTypeCodeAndLatestTrue(long userId, int userProfileTransitionTypeCode)Returns the latest user profile transition linked to the user id passed as an argument.- パラメータ:
userId
- The user iduserProfileTransitionTypeCode
- The user peofile transition type code- 戻り値:
- The latest user profile transition
-