public class FindBusinessByCombinedCategoryQuery
extends Object
Returns the list of business keys possessing the keyedReferenceGroups in the passed category bag.
Output is restricted by list of business keys passed in. If null, all business entities are searched.
Output is produced by building the appropriate JPA query based on input and find qualifiers.
From specification:
"combineCategoryBags: this may only be used in the find_business and find_service calls. In the case of
find_business, this qualifier makes the categoryBag entries for the full businessEntity element behave as though all
categoryBag elements found at the businessEntity level and in all contained or referenced businessService elements
and bindingTemplate elements were combined. Searching for a category will yield a positive match on a registered
business if any of the categoryBag elements contained within the full businessEntity element (including the
categoryBag elements within contained or referenced businessService elements or bindingTemplate elements)
contains the filter criteria. In the case of find_service, this qualifier makes the categoryBag entries
for the full businessService element behave as though all categoryBag elements found at the businessService level
and in all contained or referenced elements in the bindingTemplate elements were combined. Searching for a category
will yield a positive match on a registered service if any of the categoryBag elements contained within the
full businessService element (including the categoryBag elements within contained or referenced bindingTemplate
elements) contains the filter criteria. This find qualifier does not cause the keyedReferences in categoryBags
to be combined with the keyedReferences in keyedReferenceGroups in categoryBags when performing the comparison.
The keyedReferences are combined with each other, and the keyedReferenceGroups are combined with each other."
- Author:
- Tom Cunningham