
net.smartcosmos.cluster.userdetails.repository.UserRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartcosmos-user-entity-devkit Show documentation
Show all versions of smartcosmos-user-entity-devkit Show documentation
Devkit implementation of User mananagement entities and data layer
The newest version!
package net.smartcosmos.cluster.userdetails.repository;
import java.util.List;
import java.util.Optional;
import java.util.UUID;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import net.smartcosmos.cluster.userdetails.domain.UserEntity;
/**
* Initially created by SMART COSMOS Team on June 30, 2016.
*/
public interface UserRepository extends JpaRepository,
PagingAndSortingRepository,
JpaSpecificationExecutor,
UserRepositoryCustom {
Optional findByUsernameAndTenantId(String username, UUID tenantId);
Optional findByTenantIdAndId(UUID tenantId, UUID id);
List findByTenantId(UUID tenantId);
Optional findByUsernameIgnoreCase(String username);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy