package ca.intelliware.ihtsdo.mlds.repository; import java.util.List; import org.joda.time.LocalDate; import org.springframework.data.jpa.repository.JpaRepository; import ca.intelliware.ihtsdo.mlds.domain.PersistentToken; import ca.intelliware.ihtsdo.mlds.domain.User; /** * Spring Data JPA repository for the PersistentToken entity. */ public interface PersistentTokenRepository extends JpaRepository<PersistentToken, String> { List<PersistentToken> findByUser(User user); List<PersistentToken> findByTokenDateBefore(LocalDate localDate); }