Package io.gravitee.am.service.impl
Class ScopeServiceImpl
java.lang.Object
io.gravitee.am.service.impl.ScopeServiceImpl
- All Implemented Interfaces:
ScopeService
- Author:
- David BRASSELY (david.brassely at graviteesource.com), Titouan COMPIEGNE (titouan.compiegne at graviteesource.com), Alexandre FARIA (contact at alexandrefaria.net), GraviteeSource Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Scope>io.reactivex.rxjava3.core.Single<Scope>create(String domain, NewSystemScope newScope) io.reactivex.rxjava3.core.CompletablefindByDomain(String domain, int page, int size) io.reactivex.rxjava3.core.Maybe<Scope>findByDomainAndKey(String domain, String scopeKey) findByDomainAndKeys(String domain, List<String> scopeKeys) io.reactivex.rxjava3.core.Maybe<Scope>io.reactivex.rxjava3.core.Single<Scope>patch(String domain, String id, PatchScope patchScope, User principal) io.reactivex.rxjava3.core.Single<Scope>update(String domain, String id, UpdateScope updateScope, User principal) io.reactivex.rxjava3.core.Single<Scope>update(String domain, String id, UpdateSystemScope updateScope) io.reactivex.rxjava3.core.Single<Boolean>validateScope(String domain, List<String> scopes) Throw InvalidClientMetadataException if null or empty, or contains unknown scope.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.gravitee.am.service.ScopeService
create, delete, patch, update
-
Constructor Details
-
ScopeServiceImpl
public ScopeServiceImpl()
-
-
Method Details
-
findById
- Specified by:
findByIdin interfaceScopeService
-
search
public io.reactivex.rxjava3.core.Single<Page<Scope>> search(String domain, String query, int page, int size) - Specified by:
searchin interfaceScopeService
-
create
public io.reactivex.rxjava3.core.Single<Scope> create(String domain, NewScope newScope, User principal) - Specified by:
createin interfaceScopeService
-
create
- Specified by:
createin interfaceScopeService
-
patch
public io.reactivex.rxjava3.core.Single<Scope> patch(String domain, String id, PatchScope patchScope, User principal) - Specified by:
patchin interfaceScopeService
-
update
public io.reactivex.rxjava3.core.Single<Scope> update(String domain, String id, UpdateScope updateScope, User principal) - Specified by:
updatein interfaceScopeService
-
update
public io.reactivex.rxjava3.core.Single<Scope> update(String domain, String id, UpdateSystemScope updateScope) - Specified by:
updatein interfaceScopeService
-
delete
- Specified by:
deletein interfaceScopeService
-
findByDomain
public io.reactivex.rxjava3.core.Single<Page<Scope>> findByDomain(String domain, int page, int size) - Specified by:
findByDomainin interfaceScopeService
-
findByDomainAndKey
- Specified by:
findByDomainAndKeyin interfaceScopeService
-
findByDomainAndKeys
public io.reactivex.rxjava3.core.Single<List<Scope>> findByDomainAndKeys(String domain, List<String> scopeKeys) - Specified by:
findByDomainAndKeysin interfaceScopeService
-
validateScope
Throw InvalidClientMetadataException if null or empty, or contains unknown scope.- Specified by:
validateScopein interfaceScopeService- Parameters:
scopes- Array of scope to validate.
-