Package com.epam.ta.reportportal.dao
Interface UserRepositoryCustom
-
- All Superinterfaces:
FilterableRepository<User>
- All Known Subinterfaces:
UserRepository
- All Known Implementing Classes:
UserRepositoryCustomImpl
public interface UserRepositoryCustom extends FilterableRepository<User>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.data.domain.Page<User>findByFilterExcluding(Queryable filter, org.springframework.data.domain.Pageable pageable, java.lang.String... exclude)Finds entities list according provided filterjava.util.Optional<ReportPortalUser>findUserDetails(java.lang.String login)Finds details about user and his project by login.java.util.Map<java.lang.String,ProjectRole>findUsernamesWithProjectRolesByProjectId(java.lang.Long projectId)-
Methods inherited from interface com.epam.ta.reportportal.dao.FilterableRepository
findByFilter, findByFilter
-
-
-
-
Method Detail
-
findByFilterExcluding
org.springframework.data.domain.Page<User> findByFilterExcluding(Queryable filter, org.springframework.data.domain.Pageable pageable, java.lang.String... exclude)
Finds entities list according provided filter- Parameters:
filter- Filter - Query representationpageable- Page Representationexclude- Fields to exclude from query- Returns:
- Found Paged objects
-
findUsernamesWithProjectRolesByProjectId
java.util.Map<java.lang.String,ProjectRole> findUsernamesWithProjectRolesByProjectId(java.lang.Long projectId)
-
findUserDetails
java.util.Optional<ReportPortalUser> findUserDetails(java.lang.String login)
Finds details about user and his project by login.- Parameters:
login- Login to find- Returns:
- User details
-
-