Package io.gravitee.am.service.impl
Class GroupServiceImpl
java.lang.Object
io.gravitee.am.service.impl.GroupServiceImpl
- All Implemented Interfaces:
GroupService
- Author:
- Titouan COMPIEGNE (titouan.compiegne at graviteesource.com), GraviteeSource Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Group>assignRoles(ReferenceType referenceType, String referenceId, String groupId, List<String> roles, User principal) io.reactivex.rxjava3.core.Single<Group>create(ReferenceType referenceType, String referenceId, NewGroup newGroup, User principal) io.reactivex.rxjava3.core.Single<Group>io.reactivex.rxjava3.core.Completabledelete(ReferenceType referenceType, String referenceId, String groupId, User principal) io.reactivex.rxjava3.core.Flowable<Group>findAll(ReferenceType referenceType, String referenceId) findAll(ReferenceType referenceType, String referenceId, int page, int size) io.reactivex.rxjava3.core.Flowable<Group>findByDomain(String domain) findByDomain(String domain, int page, int size) io.reactivex.rxjava3.core.Single<Group>findById(ReferenceType referenceType, String referenceId, String id) io.reactivex.rxjava3.core.Maybe<Group>io.reactivex.rxjava3.core.Flowable<Group>findByIdIn(List<String> ids) io.reactivex.rxjava3.core.Flowable<Group>findByMember(String memberId) io.reactivex.rxjava3.core.Maybe<Group>findByName(ReferenceType referenceType, String referenceId, String groupName) findMembers(ReferenceType referenceType, String referenceId, String groupId, int page, int size) io.reactivex.rxjava3.core.Single<Group>revokeRoles(ReferenceType referenceType, String referenceId, String groupId, List<String> roles, User principal) io.reactivex.rxjava3.core.Single<Group>update(ReferenceType referenceType, String referenceId, String id, UpdateGroup updateGroup, User principal) io.reactivex.rxjava3.core.Single<Group>update(String domain, String id, UpdateGroup updateGroup, User principal) 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.GroupService
assignRoles, create, delete, revokeRoles, update
-
Constructor Details
-
GroupServiceImpl
public GroupServiceImpl()
-
-
Method Details
-
findAll
public io.reactivex.rxjava3.core.Single<Page<Group>> findAll(ReferenceType referenceType, String referenceId, int page, int size) - Specified by:
findAllin interfaceGroupService
-
findByDomain
public io.reactivex.rxjava3.core.Single<Page<Group>> findByDomain(String domain, int page, int size) - Specified by:
findByDomainin interfaceGroupService
-
findAll
public io.reactivex.rxjava3.core.Flowable<Group> findAll(ReferenceType referenceType, String referenceId) - Specified by:
findAllin interfaceGroupService
-
findByDomain
- Specified by:
findByDomainin interfaceGroupService
-
findByName
public io.reactivex.rxjava3.core.Maybe<Group> findByName(ReferenceType referenceType, String referenceId, String groupName) - Specified by:
findByNamein interfaceGroupService
-
findByMember
- Specified by:
findByMemberin interfaceGroupService
-
findById
public io.reactivex.rxjava3.core.Single<Group> findById(ReferenceType referenceType, String referenceId, String id) - Specified by:
findByIdin interfaceGroupService
-
findById
- Specified by:
findByIdin interfaceGroupService
-
findMembers
public io.reactivex.rxjava3.core.Single<Page<User>> findMembers(ReferenceType referenceType, String referenceId, String groupId, int page, int size) - Specified by:
findMembersin interfaceGroupService
-
findByIdIn
- Specified by:
findByIdInin interfaceGroupService
-
create
public io.reactivex.rxjava3.core.Single<Group> create(ReferenceType referenceType, String referenceId, NewGroup newGroup, User principal) - Specified by:
createin interfaceGroupService
-
create
public io.reactivex.rxjava3.core.Single<Group> create(String domain, NewGroup newGroup, User principal) - Specified by:
createin interfaceGroupService
-
update
public io.reactivex.rxjava3.core.Single<Group> update(ReferenceType referenceType, String referenceId, String id, UpdateGroup updateGroup, User principal) - Specified by:
updatein interfaceGroupService
-
update
public io.reactivex.rxjava3.core.Single<Group> update(String domain, String id, UpdateGroup updateGroup, User principal) - Specified by:
updatein interfaceGroupService
-
delete
public io.reactivex.rxjava3.core.Completable delete(ReferenceType referenceType, String referenceId, String groupId, User principal) - Specified by:
deletein interfaceGroupService
-
assignRoles
public io.reactivex.rxjava3.core.Single<Group> assignRoles(ReferenceType referenceType, String referenceId, String groupId, List<String> roles, User principal) - Specified by:
assignRolesin interfaceGroupService
-
revokeRoles
public io.reactivex.rxjava3.core.Single<Group> revokeRoles(ReferenceType referenceType, String referenceId, String groupId, List<String> roles, User principal) - Specified by:
revokeRolesin interfaceGroupService
-