@Contract public interface ScopeProvider
|Modifier and Type||Field and Description|
Default entity-filtering scope.
static final String DEFAULT_SCOPE
object graphto 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 graphif no other entity-filtering / security annotation is present on a class.
Set<String> getFilteringScopes(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.
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.