Package org.openiam.esb.repository.impl
Class ContentProviderRepositoryImpl
- java.lang.Object
-
- org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl<T,S>
-
- org.openiam.esb.repository.impl.AbstractKeyNameEntityRepositoryImpl<ContentProviderEntity,ContentProviderSearchBean>
-
- org.openiam.esb.repository.impl.ContentProviderRepositoryImpl
-
- All Implemented Interfaces:
AbstractKeyEntityCustomRepository<ContentProviderEntity,String>
,AbstractKeyNameEntityCustomRepository<ContentProviderEntity,String>
,ContentProviderRepositoryCustom
,FindBeansRepositoryCustom<ContentProviderEntity,ContentProviderSearchBean>
public class ContentProviderRepositoryImpl extends AbstractKeyNameEntityRepositoryImpl<ContentProviderEntity,ContentProviderSearchBean> implements ContentProviderRepositoryCustom
This is repository for working with ContentProvider- Author:
- Andrey Lezhebokov
-
-
Field Summary
-
Fields inherited from class org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl
LOG
-
-
Constructor Summary
Constructors Constructor Description ContentProviderRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.data.jpa.domain.Specification<ContentProviderEntity>
buildSpecifications(ContentProviderSearchBean sb)
Search ContentProviderEntity by conditions in ContentProviderSearchBeanList<ContentProviderEntity>
findByUnavailableResourceId(String resId)
protected Class<ContentProviderEntity>
getEntityClass()
protected AbstractKeyEntityRepository<ContentProviderEntity,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<ContentProviderEntity> buildSpecifications(ContentProviderSearchBean sb)
Search ContentProviderEntity by conditions in ContentProviderSearchBean- Overrides:
buildSpecifications
in classAbstractKeyNameEntityRepositoryImpl<ContentProviderEntity,ContentProviderSearchBean>
- Parameters:
sb
-- Returns:
-
getRepository
protected AbstractKeyEntityRepository<ContentProviderEntity,String> getRepository()
- Specified by:
getRepository
in classAbstractKeyEntityRepositoryImpl<ContentProviderEntity,ContentProviderSearchBean>
-
findByUnavailableResourceId
public List<ContentProviderEntity> findByUnavailableResourceId(String resId)
- Specified by:
findByUnavailableResourceId
in interfaceContentProviderRepositoryCustom
-
getEntityClass
protected Class<ContentProviderEntity> getEntityClass()
- Specified by:
getEntityClass
in classAbstractKeyEntityRepositoryImpl<ContentProviderEntity,ContentProviderSearchBean>
-
-