5 #ifndef INCLUDE_CBE_GROUP_MANAGER_H_
6 #define INCLUDE_CBE_GROUP_MANAGER_H_
10 #include "cbe/GroupFilter.h"
12 #include "cbe/delegate/Error.h"
13 #include "cbe/delegate/ListGroupsDelegate.h"
14 #include "cbe/delegate/SearchGroupsDelegate.h"
16 #include "cbe/util/Context.h"
17 #include "cbe/util/ErrorInfo.h"
18 #include "cbe/util/Exception.h"
19 #include "cbe/util/Optional.h"
48 using ListGroupsException = delegate::ListGroupsDelegate::Exception;
123 using SearchGroupsException = delegate::SearchGroupsDelegate::Exception;
171 SearchGroupsError& error);
203 explicit operator bool()
const;
206 std::shared_ptr<Impl> pImpl{};
210 CBI::GroupManager& getCbiPeer()
const;
The session that holds the connection with the cloud.
Definition: CloudBackend.h:47
To filter when searching a list of Group.
Definition: GroupFilter.h:31
For managing the groups.
Definition: GroupManager.h:30
cbe::GroupId getTenantId() const
void searchGroups(cbe::GroupFilter filter, SearchGroupsDelegatePtr delegate, cbe::GroupId parentGroupId=0)
GroupManager(cbe::DefaultCtor)
Default constructor.
delegate::ListGroupsDelegatePtr ListGroupsDelegatePtr
Definition: GroupManager.h:37
void listGroups(ListGroupsDelegatePtr delegate)
delegate::SearchGroupsDelegatePtr SearchGroupsDelegatePtr
Definition: GroupManager.h:99
Resultset of data retrieved in a search for Group.
Definition: GroupQueryResult.h:27
Class template Optional manages an optional contained value - i.e., a value that is either present or...
Definition: Optional.h:20
std::shared_ptr< ListGroupsDelegate > ListGroupsDelegatePtr
Definition: ListGroupsDelegate.h:64
std::shared_ptr< SearchGroupsDelegate > SearchGroupsDelegatePtr
Definition: SearchGroupsDelegate.h:62
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
DefaultCtor
Default constructor marker.
Definition: Types.h:204
std::uint64_t GroupId
Uniquely identifies the Group.
Definition: Types.h:84
Definition: ListGroupsDelegate.h:42
Definition: SearchGroupsDelegate.h:38