Package io.gravitee.am.service.impl
Class AbstractUserService<T extends CommonUserRepository>
java.lang.Object
io.gravitee.am.service.impl.AbstractUserService<T>
- All Implemented Interfaces:
CommonUserService
- Direct Known Subclasses:
OrganizationUserServiceImpl,UserServiceImpl
public abstract class AbstractUserService<T extends CommonUserRepository>
extends Object
implements CommonUserService
- Author:
- Eric LELEU (eric.leleu at graviteesource.com), GraviteeSource Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CredentialServiceprotected GroupServiceprotected final org.slf4j.Loggerprotected RoleServiceprotected UserValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<User>create(ReferenceType referenceType, String referenceId, NewUser newUser) io.reactivex.rxjava3.core.Single<User>io.reactivex.rxjava3.core.Completableio.reactivex.rxjava3.core.Single<User>findAll(ReferenceType referenceType, String referenceId, int page, int size) io.reactivex.rxjava3.core.Maybe<User>findByExternalIdAndSource(ReferenceType referenceType, String referenceId, String externalId, String source) io.reactivex.rxjava3.core.Single<User>findById(ReferenceType referenceType, String referenceId, String id) io.reactivex.rxjava3.core.Flowable<User>findByIdIn(List<String> ids) io.reactivex.rxjava3.core.Maybe<User>findByUsernameAndSource(ReferenceType referenceType, String referenceId, String username, String source) protected abstract Tio.reactivex.rxjava3.core.Flowable<User>search(ReferenceType referenceType, String referenceId, FilterCriteria filterCriteria) search(ReferenceType referenceType, String referenceId, FilterCriteria filterCriteria, int page, int size) search(ReferenceType referenceType, String referenceId, String query, int page, int size) io.reactivex.rxjava3.core.Single<User>update(ReferenceType referenceType, String referenceId, String id, UpdateUser updateUser) 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.CommonUserService
update
-
Field Details
-
LOGGER
protected final org.slf4j.Logger LOGGER -
userValidator
-
credentialService
-
roleService
-
groupService
-
-
Constructor Details
-
AbstractUserService
public AbstractUserService()
-
-
Method Details
-
getUserRepository
-
findByIdIn
- Specified by:
findByIdInin interfaceCommonUserService
-
findAll
public io.reactivex.rxjava3.core.Single<Page<User>> findAll(ReferenceType referenceType, String referenceId, int page, int size) - Specified by:
findAllin interfaceCommonUserService
-
search
public io.reactivex.rxjava3.core.Single<Page<User>> search(ReferenceType referenceType, String referenceId, String query, int page, int size) - Specified by:
searchin interfaceCommonUserService
-
search
public io.reactivex.rxjava3.core.Single<Page<User>> search(ReferenceType referenceType, String referenceId, FilterCriteria filterCriteria, int page, int size) - Specified by:
searchin interfaceCommonUserService
-
search
public io.reactivex.rxjava3.core.Flowable<User> search(ReferenceType referenceType, String referenceId, FilterCriteria filterCriteria) - Specified by:
searchin interfaceCommonUserService
-
findById
public io.reactivex.rxjava3.core.Single<User> findById(ReferenceType referenceType, String referenceId, String id) - Specified by:
findByIdin interfaceCommonUserService
-
findByUsernameAndSource
public io.reactivex.rxjava3.core.Maybe<User> findByUsernameAndSource(ReferenceType referenceType, String referenceId, String username, String source) - Specified by:
findByUsernameAndSourcein interfaceCommonUserService
-
findByExternalIdAndSource
public io.reactivex.rxjava3.core.Maybe<User> findByExternalIdAndSource(ReferenceType referenceType, String referenceId, String externalId, String source) - Specified by:
findByExternalIdAndSourcein interfaceCommonUserService
-
create
public io.reactivex.rxjava3.core.Single<User> create(ReferenceType referenceType, String referenceId, NewUser newUser) - Specified by:
createin interfaceCommonUserService
-
create
- Specified by:
createin interfaceCommonUserService
-
update
public io.reactivex.rxjava3.core.Single<User> update(ReferenceType referenceType, String referenceId, String id, UpdateUser updateUser) - Specified by:
updatein interfaceCommonUserService
-
delete
- Specified by:
deletein interfaceCommonUserService
-
enhance
- Specified by:
enhancein interfaceCommonUserService
-