5 #ifndef INCLUDE_CBE_SHARE_MANAGER_H_
6 #define INCLUDE_CBE_SHARE_MANAGER_H_
8 #include "cbe/delegate/Error.h"
9 #include "cbe/util/Context.h"
10 #include "cbe/util/Exception.h"
11 #include "cbe/util/ErrorInfo.h"
12 #include "cbe/util/Optional.h"
14 #include "cbe/delegate/ListSharesDelegate.h"
54 using ListSharesException = delegate::ListSharesDelegate::Exception;
98 ListSharesError& error);
119 using ListMySharesException = delegate::ListSharesDelegate::Exception;
163 ListSharesError& error);
190 explicit operator bool()
const;
193 std::shared_ptr<Impl> pImpl{};
197 CBI::ShareManager& getCbiPeer()
const;
The session that holds the connection with the cloud.
Definition: CloudBackend.h:47
resultset of data retrieved.
Definition: QueryResult.h:51
Managing Shares.
Definition: ShareManager.h:27
void listAvailableShares(ListSharesDelegatePtr delegate)
Lists the shares exposed by other users to current user. This will give specific share information.
delegate::ListSharesDelegatePtr ListSharesDelegatePtr
Definition: ShareManager.h:36
ShareManager(cbe::DefaultCtor)
Default constructor.
void listMyShares(ListSharesDelegatePtr delegate)
Lists the shares exposed by current user. This will give specific share information.
Class template Optional manages an optional contained value - i.e., a value that is either present or...
Definition: Optional.h:20
std::shared_ptr< ListSharesDelegate > ListSharesDelegatePtr
Definition: ListSharesDelegate.h:69
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
DefaultCtor
Default constructor marker.
Definition: Types.h:204
Definition: ListSharesDelegate.h:42