public abstract class AbstractDataAccessClient extends Object implements DataAccessClient
| Constructor and Description |
|---|
AbstractDataAccessClient() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRequiredScope(String scope) |
boolean |
addRequiredScopes(Collection<String> scopes) |
void |
clearRequiredScopes() |
Set<String> |
getRequiredScopes() |
boolean |
isAccessAllowed(DataAccessCredential dataAccessCredential) |
boolean |
removeRequiredScope(String scope) |
boolean |
removeRequiredScopes(Collection<String> scopes) |
boolean |
requiresScope(String scope) |
boolean |
setRequiredScopes(Collection<String> scopes) |
String |
toString() |
public Set<String> getRequiredScopes()
getRequiredScopes in interface DataAccessClientpublic boolean addRequiredScope(String scope)
public boolean addRequiredScopes(Collection<String> scopes)
public boolean setRequiredScopes(Collection<String> scopes)
public boolean removeRequiredScope(String scope)
public boolean removeRequiredScopes(Collection<String> scopes)
public void clearRequiredScopes()
public boolean requiresScope(String scope)
requiresScope in interface DataAccessClientpublic boolean isAccessAllowed(DataAccessCredential dataAccessCredential)
isAccessAllowed in interface DataAccessClientCopyright © 2013. All rights reserved.