Interface ContactFilterService

    • Method Detail

      • getContactFilters

        List<ContactFilterResponse> getContactFilters​(String userDefinitionKey,
                                                      String tenantId)
        Get all contact filters registered for the given userDefinitionKey in the given tenantId
        Parameters:
        userDefinitionKey - the user definition key in which the contact filters are registered
        tenantId - the tenant id
        Returns:
        Returns all contact filters registered for the user definition
      • getContactFilters

        List<ContactFilterResponse> getContactFilters​(String userDefinitionKey,
                                                      String tenantId,
                                                      PlatformUser platformUser)
        Get all contact filters registered for the given userDefinitionKey in the given tenantId and are applicable to the given platformUser
        Parameters:
        userDefinitionKey - the user definition key in which the contact filters are registered
        tenantId - the tenant id
        platformUser - the user for which the filters should be applicable
        Returns:
        all contact filters registered in the user definition and match the user
      • registerContactFilter

        void registerContactFilter​(ContactFilter contactFilter)
        Registers a new system-wide contact filter. The key of the filter needs to be unique.
      • createContactSearchQuery

        ContactSearchQuery createContactSearchQuery()
        Create a query for querying contacts.