インタフェース AuthorizationTokenRepository

すべてのスーパーインタフェース:
org.springframework.data.repository.CrudRepository<AuthorizationToken,​String>, org.springframework.data.mongodb.repository.MongoRepository<AuthorizationToken,​String>, org.springframework.data.repository.PagingAndSortingRepository<AuthorizationToken,​String>, org.springframework.data.repository.query.QueryByExampleExecutor<AuthorizationToken>, org.springframework.data.repository.Repository<AuthorizationToken,​String>

@Repository
public interface AuthorizationTokenRepository
extends org.springframework.data.mongodb.repository.MongoRepository<AuthorizationToken,​String>
The interface that manages authorization token repository.
導入されたバージョン:
1.0.0
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    AuthorizationToken findByTokenTypeCode​(int tokenTypeCode)
    Returns the authorization token linked to the token type code 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
  • メソッドの詳細

    • findByTokenTypeCode

      AuthorizationToken findByTokenTypeCode​(int tokenTypeCode)
      Returns the authorization token linked to the token type code passed as an argument.
      パラメータ:
      tokenTypeCode - The token type code
      戻り値:
      The authorization token