Class IdmContactFilterService
- java.lang.Object
-
- com.flowable.idm.engine.impl.indexing.IdmContactFilterService
-
- All Implemented Interfaces:
ContactFilterService
public class IdmContactFilterService extends Object implements ContactFilterService
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected CoreIdmEngineConfiguration
engineConfiguration
-
Constructor Summary
Constructors Constructor Description IdmContactFilterService(CoreIdmEngineConfiguration engineConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactSearchQuery
createContactSearchQuery()
Create a query for querying contacts.List<ContactFilterResponse>
getContactFilters(String userDefinitionKey, String tenantId)
Get all contact filters registered for the givenuserDefinitionKey
in the giventenantId
List<ContactFilterResponse>
getContactFilters(String userDefinitionKey, String tenantId, PlatformUser platformUser)
Get all contact filters registered for the givenuserDefinitionKey
in the giventenantId
and are applicable to the givenplatformUser
void
registerContactFilter(ContactFilter contactFilter)
Registers a new system-wide contact filter.
-
-
-
Field Detail
-
engineConfiguration
protected final CoreIdmEngineConfiguration engineConfiguration
-
-
Constructor Detail
-
IdmContactFilterService
public IdmContactFilterService(CoreIdmEngineConfiguration engineConfiguration)
-
-
Method Detail
-
getContactFilters
public List<ContactFilterResponse> getContactFilters(String userDefinitionKey, String tenantId)
Description copied from interface:ContactFilterService
Get all contact filters registered for the givenuserDefinitionKey
in the giventenantId
- Specified by:
getContactFilters
in interfaceContactFilterService
- Parameters:
userDefinitionKey
- the user definition key in which the contact filters are registeredtenantId
- the tenant id- Returns:
- Returns all contact filters registered for the user definition
-
getContactFilters
public List<ContactFilterResponse> getContactFilters(String userDefinitionKey, String tenantId, PlatformUser platformUser)
Description copied from interface:ContactFilterService
Get all contact filters registered for the givenuserDefinitionKey
in the giventenantId
and are applicable to the givenplatformUser
- Specified by:
getContactFilters
in interfaceContactFilterService
- Parameters:
userDefinitionKey
- the user definition key in which the contact filters are registeredtenantId
- the tenant idplatformUser
- the user for which the filters should be applicable- Returns:
- all contact filters registered in the user definition and match the user
-
registerContactFilter
public void registerContactFilter(ContactFilter contactFilter)
Description copied from interface:ContactFilterService
Registers a new system-wide contact filter. The key of the filter needs to be unique.- Specified by:
registerContactFilter
in interfaceContactFilterService
-
createContactSearchQuery
public ContactSearchQuery createContactSearchQuery()
Description copied from interface:ContactFilterService
Create a query for querying contacts.- Specified by:
createContactSearchQuery
in interfaceContactFilterService
-
-