Пример #1
0
        /// <summary>
        /// List projects
        /// </summary>
        /// <returns>List of RProject object</returns>
        /// <remarks></remarks>
        public List <RProject> listProjects()
        {
            List <RProject> returnValue = RUserProjectImpl.listProjects(false, true, m_client, Constants.RPROJECTLIST);

            return(returnValue);
        }
Пример #2
0
        /// <summary>
        /// List projects
        /// </summary>
        /// <param name="sortByLastModified">True to sort by last modified date</param>
        /// <param name="showPublicProjects">True to return public projects as well as private ones</param>
        /// <returns>List of RProject objects</returns>
        /// <remarks></remarks>
        public List <RProject> listProjects(Boolean sortByLastModified, Boolean showPublicProjects)
        {
            List <RProject> returnValue = RUserProjectImpl.listProjects(sortByLastModified, showPublicProjects, m_client, Constants.RPROJECTLIST);

            return(returnValue);
        }
Пример #3
0
        /// <summary>
        /// Retrieve project reference
        /// </summary>
        /// <param name="name">Name of project</param>
        /// <returns>RProject object</returns>
        /// <remarks></remarks>
        public RProject getProject(String name)
        {
            RProject returnValue = RUserProjectImpl.getProject(name, m_client, Constants.RPROJECTABOUT);

            return(returnValue);
        }
Пример #4
0
        /// <summary>
        /// Import project from a file
        /// </summary>
        /// <param name="file">Full path to File to upload and import</param>
        /// <param name="descr">Description of project</param>
        /// <returns>RProject object</returns>
        /// <remarks></remarks>
        public RProject importProject(String file, String descr)
        {
            RProject returnValue = RUserProjectImpl.importProject(file, descr, m_client, Constants.RPROJECTIMPORT);

            return(returnValue);
        }
Пример #5
0
        /// <summary>
        /// Create a named persistent project
        /// </summary>
        /// <param name="name">Name of project</param>
        /// <param name="descr">Description of project</param>
        /// <returns>RProject object</returns>
        /// <remarks></remarks>
        public RProject createProject(String name, String descr)
        {
            RProject returnValue = RUserProjectImpl.createProject(name, descr, null, m_client, Constants.RPROJECTCREATE);

            return(returnValue);
        }
Пример #6
0
        /// <summary>
        /// Create a named persistent project with options
        /// </summary>
        /// <param name="name">Name of project</param>
        /// <param name="descr">Description of project</param>
        /// <param name="options">ProjectCreationOptions that specifies what options the projects should be created with</param>
        /// <returns>RProject object</returns>
        /// <remarks></remarks>
        public RProject createProject(String name, String descr, ProjectCreationOptions options)
        {
            RProject returnValue = RUserProjectImpl.createProject(name, descr, options, m_client, Constants.RPROJECTCREATE);

            return(returnValue);
        }
Пример #7
0
        /// <summary>
        /// Create a pool of temporary projects
        /// </summary>
        /// <param name="poolSize">Number of temporary projects to create</param>
        /// <param name="options">ProjectCreationOptions that specifies what options the projects should be created with</param>
        /// <returns>List of RProject objects</returns>
        /// <remarks></remarks>

        public List <RProject> createProjectPool(int poolSize, ProjectCreationOptions options)
        {
            List <RProject> returnValue = RUserProjectImpl.createProjectPool(poolSize, options, m_client, Constants.RPROJECTPOOL);

            return(returnValue);
        }
Пример #8
0
        /// <summary>
        /// Create a temporary project with options
        /// </summary>
        /// <param name="options">ProjectCreationOptions that specifies what options the projects should be created with</param>
        /// <returns>RProject object</returns>
        /// <remarks></remarks>
        public RProject createProject(ProjectCreationOptions options)
        {
            RProject returnValue = RUserProjectImpl.createProject("", "", options, m_client, Constants.RPROJECTCREATE);

            return(returnValue);
        }
Пример #9
0
        /// <summary>
        /// Create a temporary project
        /// </summary>
        /// <returns>RProject object</returns>
        /// <remarks></remarks>
        public RProject createProject()
        {
            RProject returnValue = RUserProjectImpl.createProject("", "", null, m_client, Constants.RPROJECTCREATE);

            return(returnValue);
        }
Пример #10
0
 /// <summary>
 /// Releases all of the projects on the grid for the user
 /// </summary>
 /// <remarks></remarks>
 public void releaseProjects()
 {
     RUserProjectImpl.releaseProjects(m_client, Constants.RUSERRELEASE);
 }
Пример #11
0
 /// <summary>
 /// Enabled/disable project auto-save semantics for duration of user session
 /// </summary>
 /// <param name="save">True to enable auto-save of projects on close or logout</param>
 /// <remarks></remarks>
 public void autosaveProjects(Boolean save)
 {
     RUserProjectImpl.autosaveProjects(save, m_client, Constants.RUSERAUTOSAVE);
 }