Package org.openiam.esb.core.service
Interface GetEntitlementBeansService<DTO extends AbstractMetadataTypeDTO,ENTITY extends AbstractMetadataTypeEntity,KeyType extends Serializable,SEARCH_BEAN extends EntitlementsSearchBean<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 ofGetEntitlementBeansService
SEARCH_BEAN
- - Type ofSearchBean
- search bean that used to search for ObjectsGetEntitlementBeansService
.
- All Superinterfaces:
GetBeansElasticsearchService<DTO,ENTITY,KeyType,SEARCH_BEAN>
,GetBeansService<DTO,ENTITY,KeyType,SEARCH_BEAN>
- All Known Subinterfaces:
GroupDataService
,OrganizationService
,ResourceService
,RoleDataService
- All Known Implementing Classes:
AbstractDetachableBeansServiceImpl
,AbstractEntitlementGetBeansServiceImpl
,AbstractOwnerAdminBeansServiceImpl
,GroupDataServiceImpl
,OrganizationServiceImpl
,ResourceServiceImpl
,RoleDataServiceImpl
public interface GetEntitlementBeansService<DTO extends AbstractMetadataTypeDTO,ENTITY extends AbstractMetadataTypeEntity,KeyType extends Serializable,SEARCH_BEAN extends EntitlementsSearchBean<DTO,KeyType>> extends GetBeansElasticsearchService<DTO,ENTITY,KeyType,SEARCH_BEAN>
Service is used for get/search method of Services implementation that works with JPA ObjectGetEntitlementBeansService
and delivery it's representation asGetEntitlementBeansService
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.data.domain.Page<DTO>
findBeans(SEARCH_BEAN searchBean, EntitlementsCollection[] dependencies, int from, int size)
Method is used to retrieve list ofGetEntitlementBeansService
objects based onGetEntitlementBeansService
if instance ofGetEntitlementBeansService
is NULL the result ofPage.empty()
.-
Methods inherited from interface org.openiam.esb.core.service.GetBeansElasticsearchService
reindex, reindex, suggestById
-
Methods inherited from interface org.openiam.esb.core.service.GetBeansService
countBeans, find, findBeans, findBeans, get
-
-
-
-
Method Detail
-
findBeans
org.springframework.data.domain.Page<DTO> findBeans(SEARCH_BEAN searchBean, EntitlementsCollection[] dependencies, int from, int size)
Method is used to retrieve list ofGetEntitlementBeansService
objects based onGetEntitlementBeansService
if instance ofGetEntitlementBeansService
is NULL the result ofPage.empty()
.- Parameters:
searchBean
- - search bean that used to search for ObjectsGetEntitlementBeansService
.dependencies
- - the Array ofEntitlementsCollection
fethed data that is required to be delivered with root objectfrom
- - paging - from element numbersize
- - paging - size of page- Returns:
- -
Page
ofGetEntitlementBeansService
-
-