@ProviderType
public interface CapabilitiesSource
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getCapabilities(org.apache.sling.api.resource.ResourceResolver resolver)
Return zero to N capabilities, each being represented by
a key/value pair.
|
String |
getNamespace() |
String getNamespace()
Map<String,Object> getCapabilities(org.apache.sling.api.resource.ResourceResolver resolver) throws Exception
resolver
- used to establish the user's identityException
- if the capabilities could not be computed.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.