Package org.openiam.esb.repository.impl
Class MetadataElementRepositoryImpl
- java.lang.Object
-
- org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl<T,S>
-
- org.openiam.esb.repository.impl.AbstractKeyNameEntityRepositoryImpl<MetadataElementEntity,MetadataElementSearchBean>
-
- org.openiam.esb.repository.impl.MetadataElementRepositoryImpl
-
- All Implemented Interfaces:
AbstractKeyEntityCustomRepository<MetadataElementEntity,String>
,AbstractKeyNameEntityCustomRepository<MetadataElementEntity,String>
,FindBeansRepositoryCustom<MetadataElementEntity,MetadataElementSearchBean>
,MetadataElementRepositoryCustom
public class MetadataElementRepositoryImpl extends AbstractKeyNameEntityRepositoryImpl<MetadataElementEntity,MetadataElementSearchBean> implements MetadataElementRepositoryCustom
JPA Repository implementation forMetadataElementEntity
.- Author:
- Viacheslav Gnenny
-
-
Field Summary
-
Fields inherited from class org.openiam.esb.repository.impl.AbstractKeyEntityRepositoryImpl
LOG
-
-
Constructor Summary
Constructors Constructor Description MetadataElementRepositoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.data.jpa.domain.Specification<MetadataElementEntity>
buildSpecifications(MetadataElementSearchBean sb)
Search MetadataElementEntity by conditions in MetadataTypeSearchBeanList<MetadataElementEntity>
findByIds(Collection<String> ids)
protected Class<MetadataElementEntity>
getEntityClass()
protected AbstractKeyEntityRepository<MetadataElementEntity,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<MetadataElementEntity> buildSpecifications(MetadataElementSearchBean sb)
Search MetadataElementEntity by conditions in MetadataTypeSearchBean- Overrides:
buildSpecifications
in classAbstractKeyNameEntityRepositoryImpl<MetadataElementEntity,MetadataElementSearchBean>
- Parameters:
sb
-- Returns:
-
getRepository
protected AbstractKeyEntityRepository<MetadataElementEntity,String> getRepository()
- Specified by:
getRepository
in classAbstractKeyEntityRepositoryImpl<MetadataElementEntity,MetadataElementSearchBean>
-
getEntityClass
protected Class<MetadataElementEntity> getEntityClass()
- Specified by:
getEntityClass
in classAbstractKeyEntityRepositoryImpl<MetadataElementEntity,MetadataElementSearchBean>
-
findByIds
public List<MetadataElementEntity> findByIds(Collection<String> ids)
- Specified by:
findByIds
in interfaceMetadataElementRepositoryCustom
-
-