Interface AbstractCustomElasticSearchRepository<T extends BaseIdentity,S extends AbstractSearchBean,ID extends Serializable>
-
- All Known Subinterfaces:
AbstractAttributeElasticSearchRepositoryCustom<T,S>,AuditLogElasticSearchRepository,AuditLogElasticSearchRepositoryCustom,EmailElasticSearchRepository,EmailElasticSearchRepositoryCustom,GroupAttributeElasticSearchRepository,GroupAttributeElasticSearchRepositoryCustom,GroupElasticSearchRepository,GroupElasticSearchRepositoryCustom,LoginElasticSearchRepository,LoginElasticSearchRepositoryCustom,ManagedSysElasticSearchRepository,ManagedSysElasticSearchRepositoryCustom,MetadataTypeElasticSearchRepository,MetadataTypeElasticSearchRepositoryCustom,OrganizationElasticSearchRepository,OrganizationElasticSearchRepositoryCustom,OrphanElasticSearchRepository,OrphanElasticSearchRepositoryCustom,PhoneElasticSearchRepository,PhoneElasticSearchRepositoryCustom,ResourceAttributeElasticSearchRepository,ResourceAttributeElasticSearchRepositoryCustom,ResourceElasticSearchRepository,ResourceElasticSearchRepositoryCustom,RoleElasticSearchRepository,RoleElasticSearchRepositoryCustom,UserAttributeElasticSearchRepository,UserAttributeElasticSearchRepositoryCustom,UserElasticSearchRepository,UserElasticSearchRepositoryCustom
- All Known Implementing Classes:
AbstractAttributeElasticSearchRepositoryImpl,AbstractElasticSearchRepository,AbstractKeyNameElasticSearchRepository,AbstractMetadataTypeElasticSearchRepository,AuditLogElasticSearchRepositoryImpl,EmailElasticSearchRepositoryImpl,GroupAttributeElasticSearchRepositoryImpl,GroupElasticSearchRepositoryImpl,LoginElasticSearchRepositoryImpl,ManagedSysElasticSearchRepositoryImpl,MetadataTypeElasticSearchRepositoryImpl,OrganizationElasticSearchRepositoryImpl,OrphanElasticSearchRepositoryImpl,PhoneElasticSearchRepositoryImpl,ResourceAttributeElasticSearchRepositoryImpl,ResourceElasticSearchRepositoryImpl,RoleElasticSearchRepositoryImpl,UserAttributeElasticSearchRepositoryImpl,UserElasticSearchRepositoryImpl
@NoRepositoryBean public interface AbstractCustomElasticSearchRepository<T extends BaseIdentity,S extends AbstractSearchBean,ID extends Serializable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanallowReindex(org.springframework.data.elasticsearch.repository.ElasticsearchRepository repo)intcount(S searchBean)org.springframework.data.domain.Page<T>findAll(int from, int size)org.springframework.data.domain.Page<T>findAllPageable(org.springframework.data.domain.Pageable pageable)org.springframework.data.domain.Page<T>findBeans(S searchBean, int from, int size)List<T>findByIds(Collection<String> ids, org.springframework.data.domain.Pageable pageable)org.springframework.data.domain.Page<T>findByIdsPage(Collection<String> ids, org.springframework.data.domain.Pageable pageable)List<String>findIds(S searchBean, int from, int size)Class<T>getDocumentClass()org.springframework.data.domain.PageablegetPageable(S searchBean, int from, int size)booleanisValidSearchBean(S searchBean)voidprepare(T entity)
-
-
-
Method Detail
-
findAll
org.springframework.data.domain.Page<T> findAll(int from, int size)
-
findByIds
List<T> findByIds(Collection<String> ids, org.springframework.data.domain.Pageable pageable)
-
findByIdsPage
org.springframework.data.domain.Page<T> findByIdsPage(Collection<String> ids, org.springframework.data.domain.Pageable pageable)
-
count
int count(S searchBean)
-
isValidSearchBean
boolean isValidSearchBean(S searchBean)
-
getPageable
org.springframework.data.domain.Pageable getPageable(S searchBean, int from, int size)
-
allowReindex
boolean allowReindex(org.springframework.data.elasticsearch.repository.ElasticsearchRepository repo)
-
prepare
void prepare(T entity)
-
findAllPageable
org.springframework.data.domain.Page<T> findAllPageable(org.springframework.data.domain.Pageable pageable)
-
-