Interface GraphGroupTenantIdProvider

All Known Subinterfaces:
GraphGroupTenantIdProvider
All Known Implementing Classes:
DefaultGraphGroupTenantIdProvider

public interface GraphGroupTenantIdProvider
A provider for a tenant id for a group based on Graph API group JsonNode.
Author:
Roger Villars
  • Method Details

    • determineTenantId

      String determineTenantId(tools.jackson.databind.JsonNode valueNode)
      Method for extracting the tenant id for a group from the provided JsonNode
      Parameters:
      valueNode - the valueNode that can be used to determine the tenant id
      Returns:
      the tenant id that the group should have
    • createTenantIdFilter

      Optional<? extends Filter> createTenantIdFilter(String queryTenantId)
      Method for providing the optional String for the tenant being queried. If no filter is provided, then querying on tenant id would be ignored.
      Parameters:
      queryTenantId - the query tenant id, never null
      Returns:
      the optional Graph API filter
    • createTenantIdLikeFilter

      default Optional<? extends Filter> createTenantIdLikeFilter(String queryTenantIdLike)
      Method for providing the optional Filter for the tenant id like value being queried. If no filter is provided, then querying on tenant id like would be ignored.

      The default implementation provides no filter.

      Parameters:
      queryTenantIdLike - the query tenant id like value, never null
      Returns:
      the optional Graph API filter