Package org.openiam.esb.repository.impl
Class LoginRepositoryImpl
- java.lang.Object
-
- org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl<LoginEntity,LoginSearchBean>
-
- org.openiam.esb.repository.impl.LoginRepositoryImpl
-
- All Implemented Interfaces:
AbstractKeyEntityCustomRepository<LoginEntity,String>
,FindBeansRepositoryCustom<LoginEntity,LoginSearchBean>
,LoginRepositoryCustom
public class LoginRepositoryImpl extends AbstractKeyEntityRepositoryImpl<LoginEntity,LoginSearchBean> implements LoginRepositoryCustom
-
-
Field Summary
-
Fields inherited from class org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl
LOG
-
-
Constructor Summary
Constructors Constructor Description LoginRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.data.jpa.domain.Specification<LoginEntity>
buildSpecifications(LoginSearchBean sb)
List<LoginEntity>
findInactiveUsers(int startDays, int endDays, String managedSysId)
List<LoginEntity>
findUserNearPswdExp(int daysToExpiration)
List<LoginEntity>
findUserPswdExpYesterday()
protected Class<LoginEntity>
getEntityClass()
protected AbstractKeyEntityRepository<LoginEntity,String>
getRepository()
-
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
-
buildSpecifications
protected org.springframework.data.jpa.domain.Specification<LoginEntity> buildSpecifications(LoginSearchBean sb)
- Overrides:
buildSpecifications
in classAbstractKeyEntityRepositoryImpl<LoginEntity,LoginSearchBean>
- Parameters:
sb
-- Returns:
-
findUserNearPswdExp
public List<LoginEntity> findUserNearPswdExp(int daysToExpiration)
- Specified by:
findUserNearPswdExp
in interfaceLoginRepositoryCustom
-
findInactiveUsers
public List<LoginEntity> findInactiveUsers(int startDays, int endDays, String managedSysId)
- Specified by:
findInactiveUsers
in interfaceLoginRepositoryCustom
-
findUserPswdExpYesterday
public List<LoginEntity> findUserPswdExpYesterday()
- Specified by:
findUserPswdExpYesterday
in interfaceLoginRepositoryCustom
-
getRepository
protected AbstractKeyEntityRepository<LoginEntity,String> getRepository()
- Specified by:
getRepository
in classAbstractKeyEntityRepositoryImpl<LoginEntity,LoginSearchBean>
-
getEntityClass
protected Class<LoginEntity> getEntityClass()
- Specified by:
getEntityClass
in classAbstractKeyEntityRepositoryImpl<LoginEntity,LoginSearchBean>
-
-