OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ProjectManagement Class Reference

#include "ProjectManagement.h"

Public Member Functions

 ProjectManagement ()
 
 ProjectManagement (const LoginData &_data)
 
 ~ProjectManagement ()
 
void setDataBaseURL (const std::string &url)
 
void setAuthServerURL (const std::string &url)
 
bool InitializeConnection (void)
 
bool createProject (const std::string &projectName, const std::string &projectType, const std::string &userName, const std::string &defaultSettingTemplate)
 
bool deleteProject (const std::string &projectName)
 
std::string exportProject (const std::string &projectName, const std::string &exportFileName, AppBase *parent)
 
std::string importProject (const std::string &projectName, const std::string &userName, const std::string &importFileName, AppBase *parent)
 
bool renameProject (const std::string &oldProjectName, const std::string &newProjectName)
 
bool projectExists (const std::string &projectName, bool &canBeDeleted)
 
std::string getProjectCollection (const std::string &projectName)
 
bool findProjectNames (const std::string &_projectNameFilter, int _maxNumberOfResults, std::list< ProjectInformation > &_projectsFound, bool &_maxLengthExceeded)
 
ProjectInformation getProjectInformation (const std::string &_projectName)
 
bool readProjectsInfo (std::list< std::string > &_projects)
 
bool copyProject (const std::string &sourceProjectName, const std::string &destinationProjectName, const std::string &userName)
 
std::vector< std::string > getDefaultTemplateList (void)
 
bool canAccessProject (const std::string &projectCollection)
 
std::string getProjectType (const std::string &projectName)
 

Constructor & Destructor Documentation

◆ ProjectManagement() [1/2]

ProjectManagement::ProjectManagement ( )

◆ ProjectManagement() [2/2]

ProjectManagement::ProjectManagement ( const LoginData & _data)

◆ ~ProjectManagement()

ProjectManagement::~ProjectManagement ( )

Member Function Documentation

◆ canAccessProject()

bool ProjectManagement::canAccessProject ( const std::string & projectCollection)

◆ copyProject()

bool ProjectManagement::copyProject ( const std::string & sourceProjectName,
const std::string & destinationProjectName,
const std::string & userName )

◆ createProject()

bool ProjectManagement::createProject ( const std::string & projectName,
const std::string & projectType,
const std::string & userName,
const std::string & defaultSettingTemplate )

◆ deleteProject()

bool ProjectManagement::deleteProject ( const std::string & projectName)

◆ exportProject()

std::string ProjectManagement::exportProject ( const std::string & projectName,
const std::string & exportFileName,
AppBase * parent )

◆ findProjectNames()

bool ProjectManagement::findProjectNames ( const std::string & _projectNameFilter,
int _maxNumberOfResults,
std::list< ProjectInformation > & _projectsFound,
bool & _maxLengthExceeded )

◆ getDefaultTemplateList()

std::vector< std::string > ProjectManagement::getDefaultTemplateList ( void )

◆ getProjectCollection()

std::string ProjectManagement::getProjectCollection ( const std::string & projectName)

◆ getProjectInformation()

ProjectInformation ProjectManagement::getProjectInformation ( const std::string & _projectName)

◆ getProjectType()

std::string ProjectManagement::getProjectType ( const std::string & projectName)

◆ importProject()

std::string ProjectManagement::importProject ( const std::string & projectName,
const std::string & userName,
const std::string & importFileName,
AppBase * parent )

◆ InitializeConnection()

bool ProjectManagement::InitializeConnection ( void )

◆ projectExists()

bool ProjectManagement::projectExists ( const std::string & projectName,
bool & canBeDeleted )

◆ readProjectsInfo()

bool ProjectManagement::readProjectsInfo ( std::list< std::string > & _projects)

◆ renameProject()

bool ProjectManagement::renameProject ( const std::string & oldProjectName,
const std::string & newProjectName )

◆ setAuthServerURL()

void ProjectManagement::setAuthServerURL ( const std::string & url)

◆ setDataBaseURL()

void ProjectManagement::setDataBaseURL ( const std::string & url)

The documentation for this class was generated from the following files: