Package org.openiam.esb.core.service
Interface GetBeansElasticsearchService<DTO extends KeyDTO,ENTITY extends KeyEntity,KeyType extends Serializable,SEARCH_BEAN extends SearchBean<DTO,KeyType>>
-
- Type Parameters:
DTO
- - extendsKeyDTO
- this is Type of objects that will be delivered by service to external usage.ENTITY
- - extendsKeyEntity
this is Type of persistent Objects that is represent DB model for ObjectKeyType
- - Type of Primary key ofGetBeansElasticsearchService
SEARCH_BEAN
- - Type ofSearchBean
- search bean that used to search for ObjectsGetBeansElasticsearchService
.
- All Superinterfaces:
GetBeansService<DTO,ENTITY,KeyType,SEARCH_BEAN>
- All Known Subinterfaces:
GetEntitlementBeansService<DTO,ENTITY,KeyType,SEARCH_BEAN>
,GroupDataService
,ManagedSystemService
,MetadataTypeService
,OrganizationService
,ResourceService
,RoleDataService
- All Known Implementing Classes:
AbstractDetachableBeansServiceImpl
,AbstractEntitlementGetBeansServiceImpl
,AbstractKeyGetBeansElasticsearchServiceImpl
,AbstractOwnerAdminBeansServiceImpl
,GroupDataServiceImpl
,ManagedSystemServiceImpl
,MetadataTypeServiceImpl
,OrganizationServiceImpl
,ResourceServiceImpl
,RoleDataServiceImpl
public interface GetBeansElasticsearchService<DTO extends KeyDTO,ENTITY extends KeyEntity,KeyType extends Serializable,SEARCH_BEAN extends SearchBean<DTO,KeyType>> extends GetBeansService<DTO,ENTITY,KeyType,SEARCH_BEAN>
Service is used for get/search method of Services implementation that works with JPA AND ElasticSearch ObjectGetBeansElasticsearchService
and delivery it's representation asGetBeansElasticsearchService
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
reindex(Collection<KeyType> ids)
void
reindex(KeyType id)
is used to reindexGetBeansElasticsearchService
in ElasticsearchDTO
suggestById(String id)
Searches for the given DTO in Elasticsearch.-
Methods inherited from interface org.openiam.esb.core.service.GetBeansService
countBeans, find, findBeans, findBeans, get
-
-
-
-
Method Detail
-
suggestById
DTO suggestById(String id)
Searches for the given DTO in Elasticsearch.- Parameters:
id
- - id used for search criteria.- Returns:
- DTO Object or null if not found
-
reindex
void reindex(KeyType id)
is used to reindexGetBeansElasticsearchService
in Elasticsearch- Parameters:
id
- - id of object
-
reindex
void reindex(Collection<KeyType> ids)
-
-