com.collabnet.helm.ws.project
Interface Project

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ProjectBindingStub

public interface Project
extends java.rmi.Remote

The interface that contains the operations on the Project service.


Method Summary
 ProjectInfoType getProjectInfo()
          Returns the information about the current project on the context.
 void setParent(java.lang.String parentName)
          Sets the new parent for the current project in the context.
 

Method Detail

getProjectInfo

ProjectInfoType getProjectInfo()
                               throws java.rmi.RemoteException,
                                      WSException
Returns the information about the current project on the context. The information is about the attributes, statuses, owners list etc. Check the ProjectInfoType

Pre-conditions:

Returns:
an instance of the list of resouces for the given action and project ResourcesForActionContainer
Throws:
java.rmi.RemoteException
WSException -
  • 1 - if an unknown/runtime error occurs during execution
  • 2 - if the webservice framework is unable to retrieve the current webservice context. This indicates a serious system error.
  • 3 - if the user does not have the necessary permissions.

setParent

void setParent(java.lang.String parentName)
               throws java.rmi.RemoteException,
                      WSException
Sets the new parent for the current project in the context. The current user in the context must have the role 'Project Owner' on the current project in the context and the one specified with the name 'parentName'

Pre-conditions:

Parameters:
parentName - is the name of the parent project to be set as the new parent project for the current project on the context.
Throws:
java.rmi.RemoteException
WSException -
  • 1 - if an unknown/runtime error occurs during execution
  • 2 - if the webservice framework is unable to retrieve the current webservice context. This indicates a serious system error.
  • 3 - if the user does not have the necessary permissions.