public class JPAScopeStore extends Object implements ScopeStore
| Constructor and Description |
|---|
JPAScopeStore(javax.persistence.EntityManager entityManager,
AuthorizationProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
create(String name,
ResourceServer resourceServer) |
void |
delete(String id) |
Scope |
findById(String id,
String resourceServerId) |
Scope |
findByName(String name,
String resourceServerId) |
List<Scope> |
findByResourceServer(Map<String,String[]> attributes,
String resourceServerId,
int firstResult,
int maxResult) |
List<Scope> |
findByResourceServer(String serverId) |
public JPAScopeStore(javax.persistence.EntityManager entityManager,
AuthorizationProvider provider)
public Scope create(String name, ResourceServer resourceServer)
create in interface ScopeStorepublic void delete(String id)
delete in interface ScopeStorepublic Scope findById(String id, String resourceServerId)
findById in interface ScopeStorepublic Scope findByName(String name, String resourceServerId)
findByName in interface ScopeStorepublic List<Scope> findByResourceServer(String serverId)
findByResourceServer in interface ScopeStorepublic List<Scope> findByResourceServer(Map<String,String[]> attributes, String resourceServerId, int firstResult, int maxResult)
findByResourceServer in interface ScopeStoreCopyright © 2018 JBoss by Red Hat. All rights reserved.