public class ContactFilterServiceImpl extends Object implements ContactFilterService
Modifier and Type | Field and Description |
---|---|
protected ContactFilterFactory |
contactFilterFactory |
protected Map<String,ContactFilter> |
contactFilters |
protected CoreIdmEngineConfiguration |
idmEngineConfiguration |
protected PlatformUserResultMapper |
platformUserResultMapper |
protected com.flowable.indexing.SearchService |
searchService |
Constructor and Description |
---|
ContactFilterServiceImpl(com.flowable.indexing.SearchService searchService,
ContactFilterFactory contactFilterFactory,
PlatformUserResultMapper platformUserResultMapper,
CoreIdmEngineConfiguration idmEngineConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected ContactFilterResponse |
asResponse(ContactFilter contactFilter) |
com.flowable.platform.common.Page<PlatformUserResponse> |
findUserByUserIds(String currentUserId,
List<String> userIds,
String filterId,
int start,
int size) |
com.flowable.platform.common.Page<PlatformUserResponse> |
findUsers(String currentUserId,
String filterId,
int start,
int size) |
com.flowable.platform.common.Page<PlatformUserResponse> |
findUsersBySearchText(String currentUserId,
String filterId,
String searchText,
int start,
int size) |
protected Stream<ContactFilter> |
getConfiguredContactFiltersForUser(String userId) |
protected List<String> |
getConfiguredConversationFilterIdsForUser(String userId) |
List<ContactFilterResponse> |
getContactFilters(String userId) |
List<ContactFilterResponse> |
getContactFilters(String userId,
PlatformUser platformUser) |
protected void |
initStandardConversationFilters() |
protected com.flowable.platform.common.Page<PlatformUserResponse> |
internalFindUsers(String currentUserId,
String filterId,
List<String> userIds,
String searchText,
int start,
int size) |
void |
registerContactFilter(ContactFilter contactFilter)
Registers a new system-wide contact filter.
|
protected com.flowable.indexing.SearchService searchService
protected ContactFilterFactory contactFilterFactory
protected PlatformUserResultMapper platformUserResultMapper
protected CoreIdmEngineConfiguration idmEngineConfiguration
protected Map<String,ContactFilter> contactFilters
public ContactFilterServiceImpl(com.flowable.indexing.SearchService searchService, ContactFilterFactory contactFilterFactory, PlatformUserResultMapper platformUserResultMapper, CoreIdmEngineConfiguration idmEngineConfiguration)
protected void initStandardConversationFilters()
public List<ContactFilterResponse> getContactFilters(String userId)
getContactFilters
in interface ContactFilterService
protected Stream<ContactFilter> getConfiguredContactFiltersForUser(String userId)
protected List<String> getConfiguredConversationFilterIdsForUser(String userId)
public List<ContactFilterResponse> getContactFilters(String userId, PlatformUser platformUser)
getContactFilters
in interface ContactFilterService
protected ContactFilterResponse asResponse(ContactFilter contactFilter)
public void registerContactFilter(ContactFilter contactFilter)
ContactFilterService
registerContactFilter
in interface ContactFilterService
public com.flowable.platform.common.Page<PlatformUserResponse> findUsers(String currentUserId, String filterId, int start, int size)
findUsers
in interface ContactFilterService
public com.flowable.platform.common.Page<PlatformUserResponse> findUserByUserIds(String currentUserId, List<String> userIds, String filterId, int start, int size)
findUserByUserIds
in interface ContactFilterService
public com.flowable.platform.common.Page<PlatformUserResponse> findUsersBySearchText(String currentUserId, String filterId, String searchText, int start, int size)
findUsersBySearchText
in interface ContactFilterService
Copyright © 2019. All rights reserved.