public interface SearchService
Modifier and Type | Method and Description |
---|---|
void |
closeResolver(org.apache.sling.api.resource.ResourceResolver resolver)
Closes the resource resolver if appropriate
|
org.apache.sling.api.resource.ResourceResolver |
getResourceResolver(org.apache.sling.api.SlingHttpServletRequest request)
Gets either the service user resource resolver of the request resource
resolver depending if the service user is configured.
|
void closeResolver(org.apache.sling.api.resource.ResourceResolver resolver)
resolver
- the resource resolver used in searchorg.apache.sling.api.resource.ResourceResolver getResourceResolver(org.apache.sling.api.SlingHttpServletRequest request)
request
- the request from which to retrieve the request resource
resolver (if service user not configured)Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.