@Contract public interface ScopeProvider
configuration
ScopeResolver.ScopeResolver| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SCOPE
Default entity-filtering scope.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getFilteringScopes(java.lang.annotation.Annotation[] entityAnnotations,
boolean defaultIfNotFound)
Get entity-filtering scopes to be used to process an entity.
|
static final java.lang.String DEFAULT_SCOPE
object graph to retrieve a subgraph instance at the moment subgraph's entity
class does not define any entity-filtering scope the object graph was created for.
This scope is created for an entity graph if no other entity-filtering / security annotation is present
on a class.java.util.Set<java.lang.String> getFilteringScopes(java.lang.annotation.Annotation[] entityAnnotations,
boolean defaultIfNotFound)
entityAnnotations - entity annotations provided with entity when creating request/response.defaultIfNotFound - flag determining whether the default entity-filtering scope should be returned if no other
scope can be obtained.