8 #include <system/object.h>
9 #include <system/eventhandler.h>
11 #include "aspose.tasks.cpp/IO/Pwa/WebRequestEventArgs.h"
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
23 class IProjectServerConnection;
28 class ProjectServerCredentials;
29 class ProjectServerSaveOptions;
38 template <
typename>
class IEnumerable;
59 typedef System::Object BaseType;
61 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
62 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
93 ASPOSE_TASKS_SHARED_API
ProjectServerManager(
const System::SharedPtr<ProjectServerCredentials>& credentials);
100 ASPOSE_TASKS_SHARED_API System::SharedPtr<Project> GetProject(System::Guid projectGuid);
123 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::IO::Stream> GetProjectRawData(System::Guid projectGuid);
128 ASPOSE_TASKS_SHARED_API System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<ProjectInfo>>> GetProjectList();
148 ASPOSE_TASKS_SHARED_API
void UpdateProject(
const System::SharedPtr<Project>& project);
172 ASPOSE_TASKS_SHARED_API
void UpdateProject(
const System::SharedPtr<Project>& project,
const System::SharedPtr<ProjectServerSaveOptions>& saveOptions);
188 ASPOSE_TASKS_SHARED_API
void CreateNewProject(
const System::SharedPtr<Project>& project);
208 ASPOSE_TASKS_SHARED_API
void CreateNewProject(
const System::SharedPtr<Project>& project,
const System::SharedPtr<ProjectServerSaveOptions>& saveOptions);
212 ASPOSE_TASKS_SHARED_API
ProjectServerManager(
const System::SharedPtr<IO::Pwa::IProjectServerConnection>& connection);
214 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
ProjectServerManager, CODEPORTING_ARGS(
const System::SharedPtr<IO::Pwa::IProjectServerConnection>& connection));
215 ASPOSE_TASKS_SHARED_API
void DeleteProject(System::Guid projectGuid);
219 #ifdef ASPOSE_GET_SHARED_MEMBERS
220 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
226 System::SharedPtr<IO::Pwa::IProjectServerConnection> connection;
227 System::SharedPtr<ILogger> logger;
229 void ConnectionOnExecutingWebRequest(
const System::SharedPtr<System::Object>& sender,
const System::SharedPtr<WebRequestEventArgs>& e);
System::EventHandler< System::SharedPtr< WebRequestEventArgs > > ExecutingWebRequest
An event that is raised when the web request is sent to Project Server's web API. ...
Definition: ProjectServerManager.h:69
The class which provides the methods to read and to perform operations on projects in the specified P...
Definition: ProjectServerManager.h:56