public interface ScopeDAO
| Modifier and Type | Method and Description |
|---|---|
void |
addScope(Scope scope) |
void |
deleteScopeByName(String name,
int tenantID) |
Set<Scope> |
getAllScopes(int tenantID) |
Scope |
getScopeByName(String name) |
int |
getScopeIDByName(String scopeName) |
Set<Scope> |
getScopesWithPagination(Integer offset,
Integer limit,
int tenantID) |
boolean |
isScopeExists(String scopeName) |
void |
updateScopeByName(Scope updatedScope,
int tenantID) |
void addScope(Scope scope) throws ScopeDAOException
ScopeDAOExceptionSet<Scope> getAllScopes(int tenantID) throws ScopeDAOException
ScopeDAOExceptionSet<Scope> getScopesWithPagination(Integer offset, Integer limit, int tenantID) throws ScopeDAOException
ScopeDAOExceptionScope getScopeByName(String name) throws ScopeDAOException
ScopeDAOExceptionboolean isScopeExists(String scopeName) throws ScopeDAOException
ScopeDAOExceptionint getScopeIDByName(String scopeName) throws ScopeDAOException
ScopeDAOExceptionvoid deleteScopeByName(String name, int tenantID) throws ScopeDAOException
ScopeDAOExceptionvoid updateScopeByName(Scope updatedScope, int tenantID) throws ScopeDAOException
ScopeDAOExceptionCopyright © 2018 WSO2. All rights reserved.