com.collabnet.helm.ws.project
Class ProjectBindingStub

java.lang.Object
  extended by org.apache.axis.client.Stub
      extended by com.collabnet.helm.ws.project.ProjectBindingStub
All Implemented Interfaces:
Project, java.rmi.Remote, javax.xml.rpc.Stub

public class ProjectBindingStub
extends org.apache.axis.client.Stub
implements Project


Field Summary
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
ProjectBindingStub()
           
ProjectBindingStub(javax.xml.rpc.Service service)
           
ProjectBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service 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.
 
Methods inherited from class org.apache.axis.client.Stub
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getTimeout, getUsername, removeProperty, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectBindingStub

public ProjectBindingStub()
                   throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

ProjectBindingStub

public ProjectBindingStub(java.net.URL endpointURL,
                          javax.xml.rpc.Service service)
                   throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

ProjectBindingStub

public ProjectBindingStub(javax.xml.rpc.Service service)
                   throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault
Method Detail

getProjectInfo

public ProjectInfoType getProjectInfo()
                               throws java.rmi.RemoteException,
                                      WSException
Description copied from interface: Project
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:

Specified by:
getProjectInfo in interface Project
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

public void setParent(java.lang.String parentName)
               throws java.rmi.RemoteException,
                      WSException
Description copied from interface: Project
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:

Specified by:
setParent in interface Project
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.