SubscriptionMatchResult match(String criteria, IBaseResource resource) { ResourceTable entity = new ResourceTable(); String resourceType = myContext.getResourceDefinition(resource).getName(); entity.setResourceType(resourceType); ResourceIndexedSearchParams searchParams = new ResourceIndexedSearchParams(); mySearchParamExtractorService.extractFromResource(searchParams, entity, resource); myResourceLinkExtractor.extractResourceLinks(searchParams, entity, resource, resource.getMeta().getLastUpdated(), myInlineResourceLinkResolver, false); return myCriteriaResourceMatcher.match(criteria, resource, searchParams); } }
ResourceIndexedSearchParams existingParams = new ResourceIndexedSearchParams(theEntity); if (theDeletedTimestampOrNull != null) { newParams = new ResourceIndexedSearchParams(); newParams = new ResourceIndexedSearchParams(); mySearchParamWithInlineReferencesExtractor.populateFromResource(newParams, this, theUpdateTime, theEntity, theResource, existingParams);
ResourceIndexedSearchParams existingParams = new ResourceIndexedSearchParams(theEntity); if (theDeletedTimestampOrNull != null) { newParams = new ResourceIndexedSearchParams(); newParams = new ResourceIndexedSearchParams(); mySearchParamWithInlineReferencesExtractor.populateFromResource(newParams, this, theUpdateTime, theEntity, theResource, existingParams);