Package org.openiam.esb.repository.impl
Class AuthStateRepositoryImpl
- java.lang.Object
-
- org.openiam.esb.repository.impl.AuthStateRepositoryImpl
-
- All Implemented Interfaces:
AuthStateRepositoryCustom
public class AuthStateRepositoryImpl extends Object implements AuthStateRepositoryCustom
This is implementation of custom repository for working with AuthState- Author:
- Andrey Lezhebokov
-
-
Constructor Summary
Constructors Constructor Description AuthStateRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.domain.Page<AuthStateEntity>
find(AuthStateSearchBean sb, org.springframework.data.domain.Pageable pageable)
find by search beanprotected <T extends Comparable>
javax.persistence.criteria.PredicategreaterThan(javax.persistence.criteria.Path<T> path, T value, javax.persistence.criteria.CriteriaBuilder cb)
protected org.springframework.data.jpa.domain.Specification<AuthStateEntity>
gt(String propertyName, Date value)
protected <T extends Comparable>
javax.persistence.criteria.PredicatelessThan(javax.persistence.criteria.Path<T> path, T value, javax.persistence.criteria.CriteriaBuilder cb)
void
logoutByContentProvider(String userId, String contentProviderId)
protected org.springframework.data.jpa.domain.Specification<AuthStateEntity>
lt(String propertyName, Date value)
protected javax.persistence.criteria.Predicate
stateEqual(javax.persistence.criteria.Path<String> path, BigDecimal value, javax.persistence.criteria.CriteriaBuilder cb)
protected org.springframework.data.jpa.domain.Specification<AuthStateEntity>
stringEquals(String propertyName, String value)
protected javax.persistence.criteria.Predicate
stringEquals(javax.persistence.criteria.Path<String> path, String value, javax.persistence.criteria.CriteriaBuilder cb)
-
-
-
Method Detail
-
find
public org.springframework.data.domain.Page<AuthStateEntity> find(AuthStateSearchBean sb, org.springframework.data.domain.Pageable pageable)
Description copied from interface:AuthStateRepositoryCustom
find by search bean- Specified by:
find
in interfaceAuthStateRepositoryCustom
- Returns:
-
logoutByContentProvider
public void logoutByContentProvider(String userId, String contentProviderId)
- Specified by:
logoutByContentProvider
in interfaceAuthStateRepositoryCustom
-
gt
protected org.springframework.data.jpa.domain.Specification<AuthStateEntity> gt(String propertyName, Date value)
-
lt
protected org.springframework.data.jpa.domain.Specification<AuthStateEntity> lt(String propertyName, Date value)
-
greaterThan
protected <T extends Comparable> javax.persistence.criteria.Predicate greaterThan(javax.persistence.criteria.Path<T> path, T value, javax.persistence.criteria.CriteriaBuilder cb)
-
lessThan
protected <T extends Comparable> javax.persistence.criteria.Predicate lessThan(javax.persistence.criteria.Path<T> path, T value, javax.persistence.criteria.CriteriaBuilder cb)
-
stringEquals
protected org.springframework.data.jpa.domain.Specification<AuthStateEntity> stringEquals(String propertyName, String value)
-
stringEquals
protected javax.persistence.criteria.Predicate stringEquals(javax.persistence.criteria.Path<String> path, String value, javax.persistence.criteria.CriteriaBuilder cb)
-
stateEqual
protected javax.persistence.criteria.Predicate stateEqual(javax.persistence.criteria.Path<String> path, BigDecimal value, javax.persistence.criteria.CriteriaBuilder cb)
-
-