All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eurodyn.qlack.fuse.aaa.repository.SessionRepository Maven / Gradle / Ivy

There is a newer version: 3.6.7
Show newest version
package com.eurodyn.qlack.fuse.aaa.repository;

import com.eurodyn.qlack.fuse.aaa.model.Session;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SessionRepository extends AAARepository {

  @Modifying
  void deleteByCreatedOnBefore(long date);

  Page findByUserId(String userId, Pageable pageable);

  List findByCreatedOnBeforeAndTerminatedOnNull(long date);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy