Package io.gravitee.am.service
Interface ReporterService
- All Known Implementing Classes:
ReporterServiceImpl
public interface ReporterService
- Author:
- Titouan COMPIEGNE (titouan.compiegne at graviteesource.com), GraviteeSource Team
-
Method Summary
Modifier and TypeMethodDescriptiondefault io.reactivex.rxjava3.core.Single<Reporter>create(Reference reference, NewReporter newReporter) io.reactivex.rxjava3.core.Single<Reporter>create(Reference reference, NewReporter newReporter, User principal, boolean system) io.reactivex.rxjava3.core.Single<Reporter>createDefault(Reference reference) default NewReportercreateInternal(Reference reference) createReporterConfig(Reference reference) default io.reactivex.rxjava3.core.CompletableDeletes the reporter specified byreporterId.default io.reactivex.rxjava3.core.CompletableDeletes the reporter specified byreporterId.io.reactivex.rxjava3.core.CompletableDeletes the reporter specified byreporterId.io.reactivex.rxjava3.core.Flowable<Reporter>findAll()io.reactivex.rxjava3.core.Maybe<Reporter>io.reactivex.rxjava3.core.Flowable<Reporter>findByReference(Reference reference) io.reactivex.rxjava3.core.CompletablenotifyInheritedReporters(Reference parentReference, Reference affectedReference, Action action) default io.reactivex.rxjava3.core.Single<Reporter>update(Reference reference, String id, UpdateReporter updateReporter, boolean isUpgrader) io.reactivex.rxjava3.core.Single<Reporter>update(Reference reference, String id, UpdateReporter updateReporter, User principal, boolean isUpgrader)
-
Method Details
-
findAll
io.reactivex.rxjava3.core.Flowable<Reporter> findAll() -
findByReference
-
findById
-
createDefault
-
createInternal
-
create
io.reactivex.rxjava3.core.Single<Reporter> create(Reference reference, NewReporter newReporter, User principal, boolean system) -
update
io.reactivex.rxjava3.core.Single<Reporter> update(Reference reference, String id, UpdateReporter updateReporter, User principal, boolean isUpgrader) -
delete
io.reactivex.rxjava3.core.Completable delete(String reporterId, User principal, boolean removeSystemReporter) Deletes the reporter specified byreporterId.- Parameters:
reporterId- the ID of the reporter to deleteprincipal- the user requesting the deletionremoveSystemReporter- if true then remove system(default) reporter- Returns:
- a
Completablethat completes if deletion is successful or emits an error
-
createReporterConfig
-
createInternal
-
create
default io.reactivex.rxjava3.core.Single<Reporter> create(Reference reference, NewReporter newReporter) -
update
default io.reactivex.rxjava3.core.Single<Reporter> update(Reference reference, String id, UpdateReporter updateReporter, boolean isUpgrader) -
delete
Deletes the reporter specified byreporterId. Includes system reporter.- Parameters:
reporterId- the ID of the reporter to delete- Returns:
- a
Completablethat completes if deletion is successful or emits an error
-
delete
Deletes the reporter specified byreporterId. Not includes system reporter. Restricted to API calls. Calling this with system reporter ID will return error.- Parameters:
reporterId- the ID of the reporter to delete- Returns:
- a
Completablethat completes if deletion is successful or emits an error
-
notifyInheritedReporters
-