Package org.openiam.esb.repository.impl
Class UserRepositoryImpl
- java.lang.Object
-
- org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl<UserEntity,UserSearchBean>
-
- org.openiam.esb.repository.impl.UserRepositoryImpl
-
- All Implemented Interfaces:
AbstractKeyEntityCustomRepository<UserEntity,String>,FindBeansRepositoryCustom<UserEntity,UserSearchBean>,UserRepositoryCustom
public class UserRepositoryImpl extends AbstractKeyEntityRepositoryImpl<UserEntity,UserSearchBean> implements UserRepositoryCustom
-
-
Field Summary
-
Fields inherited from class org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl
LOG
-
-
Constructor Summary
Constructors Constructor Description UserRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.data.jpa.domain.Specification<UserEntity>buildSpecifications(UserSearchBean searchBean)List<UserEntity>findByIds(Collection<String> ids, UserSearchBean sb)List<UserEntity>findForSynchronizationRequest(SynchronizationRequestSearchBean sb)org.springframework.data.domain.Page<UserEntity>findSubordinatesWithFilter(@NotNull String supervisorId, String firstName, String lastName, String employeeId, String email, String login, UserStatusEnum status, Date startDate, Date lastDate, Set<String> types, org.springframework.data.domain.Pageable page)protected Class<UserEntity>getEntityClass()protected AbstractKeyEntityRepository<UserEntity,String>getRepository()List<UserEntity>getUserBetweenCreateDate(Date fromDate, Date toDate)List<UserEntity>getUserBetweenLastDate(Date fromDate, Date toDate)List<UserEntity>getUserBetweenStartDate(Date fromDate, Date toDate)-
Methods inherited from class org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl
between, between, booleanEquals, booleanEquals, booleanEquals, buildPredicate, buildSpecification, buildSpecification, buildSpecification, count, dateBetween, evict, evict, evict, find, find, findByIdIn, ge, getPKfieldName, getSort, greaterThan, greaterThanOrEquals, gt, idSpecification, idSpecification, in, in, isCaseInSensitiveDatabase, isEmpty, isNotEmpty, isNull, isOracle, isValidSearchBean, le, lessThan, lessThanOrEquals, lt, notIn, objectBetween, objectEquals, objectEquals, stringEquals, stringEquals, stringEquals
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openiam.esb.repository.custom.AbstractKeyEntityCustomRepository
findByIdIn
-
Methods inherited from interface org.openiam.esb.repository.custom.FindBeansRepositoryCustom
count, find, find, find, getByExample, getByExample, isValidSearchBean
-
-
-
-
Method Detail
-
findForSynchronizationRequest
public List<UserEntity> findForSynchronizationRequest(SynchronizationRequestSearchBean sb)
- Specified by:
findForSynchronizationRequestin interfaceUserRepositoryCustom
-
findByIds
public List<UserEntity> findByIds(Collection<String> ids, UserSearchBean sb)
- Specified by:
findByIdsin interfaceUserRepositoryCustom
-
getUserBetweenCreateDate
public List<UserEntity> getUserBetweenCreateDate(Date fromDate, Date toDate)
- Specified by:
getUserBetweenCreateDatein interfaceUserRepositoryCustom
-
getUserBetweenStartDate
public List<UserEntity> getUserBetweenStartDate(Date fromDate, Date toDate)
- Specified by:
getUserBetweenStartDatein interfaceUserRepositoryCustom
-
buildSpecifications
protected org.springframework.data.jpa.domain.Specification<UserEntity> buildSpecifications(UserSearchBean searchBean)
- Overrides:
buildSpecificationsin classAbstractKeyEntityRepositoryImpl<UserEntity,UserSearchBean>
-
getUserBetweenLastDate
public List<UserEntity> getUserBetweenLastDate(Date fromDate, Date toDate)
- Specified by:
getUserBetweenLastDatein interfaceUserRepositoryCustom
-
getRepository
protected AbstractKeyEntityRepository<UserEntity,String> getRepository()
- Specified by:
getRepositoryin classAbstractKeyEntityRepositoryImpl<UserEntity,UserSearchBean>
-
getEntityClass
protected Class<UserEntity> getEntityClass()
- Specified by:
getEntityClassin classAbstractKeyEntityRepositoryImpl<UserEntity,UserSearchBean>
-
findSubordinatesWithFilter
@Transactional(readOnly=true) public org.springframework.data.domain.Page<UserEntity> findSubordinatesWithFilter(@NotNull @NotNull String supervisorId, String firstName, String lastName, String employeeId, String email, String login, UserStatusEnum status, Date startDate, Date lastDate, Set<String> types, org.springframework.data.domain.Pageable page)
- Specified by:
findSubordinatesWithFilterin interfaceUserRepositoryCustom
-
-