Interface JpaRefreshTokenRepository5<D extends JpaRefreshToken5>
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<D,String>,RefreshTokenRepository<D>,org.springframework.data.repository.Repository<D,String>
@Repository public interface JpaRefreshTokenRepository5<D extends JpaRefreshToken5> extends RefreshTokenRepository<D>
JPA Shard partition repository for recording a refresh token assignment
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Class<?>entityType()Return the shard-specific type managed by this repositorydefault intpartition()Return the shard partition identifier as an integer-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Methods inherited from interface com.broadleafcommerce.auth.token.repository.RefreshTokenRepository
findByAncestor
-
-
-
-
Method Detail
-
partition
default int partition()
Return the shard partition identifier as an integer- Specified by:
partitionin interfaceRefreshTokenRepository<D extends JpaRefreshToken5>- Returns:
- Shard parition identifier
-
entityType
default Class<?> entityType()
Return the shard-specific type managed by this repository- Specified by:
entityTypein interfaceRefreshTokenRepository<D extends JpaRefreshToken5>- Returns:
- The shard-specific type managed by this repository
-
-