com.borland.sctm.ws.planning
Interface PlanningService

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
PlanningServiceProxy, TmplanningSoapBindingStub

public interface PlanningService
extends java.rmi.Remote


Method Summary
 void addAttributeOptions(long sessionId, int projectId, java.lang.String attributeName, AttributeOption[] options)
           
 Attribute[] addAttributes(long sessionId, int projectId, Attribute[] attributes)
           
 int addCustomStepProperty(long id, int projectId, int sequenceID, java.lang.String propertyName)
           
 int addManualTest(long id, int testContainerId, java.lang.String name, java.lang.String description, ManualTestStep[] steps, NodeParameter[] params)
           
 void addManualTestStep(long sessionId, int testId, ManualTestStep step)
           
 int addNode(long id, int parentNodeId, TestPlanningNode node, boolean throwErrorOnDuplicate)
           
 int createTestPackage(long sessionId, int packageParentNodeId, java.lang.String xmlPackage)
           
 void deleteAttributeOptions(long sessionId, int projectId, java.lang.String attributeName, AttributeOption[] options)
           
 void deleteAttributes(long sessionId, int projectId, Attribute[] attributes)
           
 int deleteCustomStepProperty(long id, int projectId, int propertyId)
           
 void deleteManualTestStep(long sessionId, int testId, int stepPos)
           
 boolean deleteNode(long id, int nodeId)
           
 boolean deleteProperty(long sessionId, PropertyValue property)
           
 Attribute[] getAttributes(long sessionId, int projectId)
           
 TestPlanningNode[] getChildNodes(long id, int projectId, int parentNodeId, NodeFilter filter)
           
 Project getCurrentProject(long sessionId)
           
 CustomStepProperty[] getCustomStepPropertyNames(long id, int projectId)
           
 DataSet[] getDataSetForDataSource(long sessionId, int dataSourceId)
           
 DataSource[] getDataSourcesForProject(long sessionId, java.lang.String projectId)
           
 TestDefinitionResult[] getExecutionResult(long sessionId, int executionDefId, long executionTimestamp, java.lang.String execServerHostName, int execServerPort)
           
 java.lang.String getExecutionResultURL(long sessionId, int executionDefId, long executionTimestamp, java.lang.String execServerHostName, int execServerPort)
           
 int getIntegrationDefaultFolderId(long sessionId, int projectId)
           
 ManualTestStep[] getManualTestSteps(long sessionId, int testId)
           
 TestPlanningNode getNode(long sessionId, java.lang.String nodeId)
           
 java.lang.String[] getNodeIds(long sessionId, PropertyValue property)
           
 java.lang.String[] getNodeTypeIds(long sessionId)
           
 Project getProject(long sessionId, java.lang.String projectId)
           
 Project[] getProjects(long sessionId)
           
 PropertyValue getProperty(long sessionId, java.lang.String nodeId, java.lang.String propertyId)
           
 java.lang.String[] getPropertyIds(long sessionId)
           
 java.lang.String[] getPropertyIds(long sessionId, java.lang.String nodeTypeId, java.lang.String propertyTypeId)
           
 PropertyMetaInfo getPropertyInfo(long sessionId, java.lang.String nodeTypeId, java.lang.String propertyId)
           
 java.lang.String[] getPropertyTypeIds(long sessionId, java.lang.String nodeTypeId)
           
 NamedEntity[] getTestContainers(long id, int projectId)
           
 long login(java.util.HashMap loginProperties)
           
 long queueExecution(long sessionId, int executionDefId, java.lang.String version, java.lang.String build, java.lang.String execServerHostName, int execServerPort, java.util.HashMap runProperties)
           
 void setCurrentProject(long sessionId, java.lang.String projectId)
           
 void setIntegrationDefaultFolder(long sessionId, int projectId, int folderId)
           
 boolean startExecution(long sessionId, int executionDefId, java.lang.String version, java.lang.String build, java.lang.String execServerHostName, int execServerPort)
           
 Attribute[] updateAttributes(long sessionId, int projectId, Attribute[] attributes)
           
 void updateManualTestStep(long sessionId, int testId, ManualTestStep step)
           
 boolean updateNode(long sessionId, TestPlanningNode node)
           
 boolean updateProperties(long sessionId, PropertyValue[] properties)
           
 boolean updateProperty(long sessionId, PropertyValue property)
           
 boolean updatePropertyValue(long sessionId, int nodeId, java.lang.String propertyName, java.lang.String propertyValue)
           
 void updateTestPackage(long sessionId, int packageNodeId, java.lang.String xmlPackage)
           
 void uploadTestPackageResult(long sessionId, int packageNodeId, java.lang.String xmlPackage)
           
 boolean uploadTestPlan(long sessionId, int projectId, java.lang.String content)
           
 

Method Detail

getProperty

PropertyValue getProperty(long sessionId,
                          java.lang.String nodeId,
                          java.lang.String propertyId)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAttributes

Attribute[] getAttributes(long sessionId,
                          int projectId)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateAttributes

Attribute[] updateAttributes(long sessionId,
                             int projectId,
                             Attribute[] attributes)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

login

long login(java.util.HashMap loginProperties)
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getProject

Project getProject(long sessionId,
                   java.lang.String projectId)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getChildNodes

TestPlanningNode[] getChildNodes(long id,
                                 int projectId,
                                 int parentNodeId,
                                 NodeFilter filter)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPropertyInfo

PropertyMetaInfo getPropertyInfo(long sessionId,
                                 java.lang.String nodeTypeId,
                                 java.lang.String propertyId)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getProjects

Project[] getProjects(long sessionId)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNode

TestPlanningNode getNode(long sessionId,
                         java.lang.String nodeId)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addNode

int addNode(long id,
            int parentNodeId,
            TestPlanningNode node,
            boolean throwErrorOnDuplicate)
            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateProperties

boolean updateProperties(long sessionId,
                         PropertyValue[] properties)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getTestContainers

NamedEntity[] getTestContainers(long id,
                                int projectId)
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createTestPackage

int createTestPackage(long sessionId,
                      int packageParentNodeId,
                      java.lang.String xmlPackage)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateTestPackage

void updateTestPackage(long sessionId,
                       int packageNodeId,
                       java.lang.String xmlPackage)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

uploadTestPackageResult

void uploadTestPackageResult(long sessionId,
                             int packageNodeId,
                             java.lang.String xmlPackage)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteAttributeOptions

void deleteAttributeOptions(long sessionId,
                            int projectId,
                            java.lang.String attributeName,
                            AttributeOption[] options)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addAttributeOptions

void addAttributeOptions(long sessionId,
                         int projectId,
                         java.lang.String attributeName,
                         AttributeOption[] options)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addAttributes

Attribute[] addAttributes(long sessionId,
                          int projectId,
                          Attribute[] attributes)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteAttributes

void deleteAttributes(long sessionId,
                      int projectId,
                      Attribute[] attributes)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getExecutionResult

TestDefinitionResult[] getExecutionResult(long sessionId,
                                          int executionDefId,
                                          long executionTimestamp,
                                          java.lang.String execServerHostName,
                                          int execServerPort)
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteNode

boolean deleteNode(long id,
                   int nodeId)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateNode

boolean updateNode(long sessionId,
                   TestPlanningNode node)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCurrentProject

Project getCurrentProject(long sessionId)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setCurrentProject

void setCurrentProject(long sessionId,
                       java.lang.String projectId)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

uploadTestPlan

boolean uploadTestPlan(long sessionId,
                       int projectId,
                       java.lang.String content)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addManualTest

int addManualTest(long id,
                  int testContainerId,
                  java.lang.String name,
                  java.lang.String description,
                  ManualTestStep[] steps,
                  NodeParameter[] params)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getManualTestSteps

ManualTestStep[] getManualTestSteps(long sessionId,
                                    int testId)
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteManualTestStep

void deleteManualTestStep(long sessionId,
                          int testId,
                          int stepPos)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addManualTestStep

void addManualTestStep(long sessionId,
                       int testId,
                       ManualTestStep step)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateManualTestStep

void updateManualTestStep(long sessionId,
                          int testId,
                          ManualTestStep step)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCustomStepPropertyNames

CustomStepProperty[] getCustomStepPropertyNames(long id,
                                                int projectId)
                                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addCustomStepProperty

int addCustomStepProperty(long id,
                          int projectId,
                          int sequenceID,
                          java.lang.String propertyName)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteCustomStepProperty

int deleteCustomStepProperty(long id,
                             int projectId,
                             int propertyId)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

deleteProperty

boolean deleteProperty(long sessionId,
                       PropertyValue property)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getExecutionResultURL

java.lang.String getExecutionResultURL(long sessionId,
                                       int executionDefId,
                                       long executionTimestamp,
                                       java.lang.String execServerHostName,
                                       int execServerPort)
                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

queueExecution

long queueExecution(long sessionId,
                    int executionDefId,
                    java.lang.String version,
                    java.lang.String build,
                    java.lang.String execServerHostName,
                    int execServerPort,
                    java.util.HashMap runProperties)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

startExecution

boolean startExecution(long sessionId,
                       int executionDefId,
                       java.lang.String version,
                       java.lang.String build,
                       java.lang.String execServerHostName,
                       int execServerPort)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPropertyIds

java.lang.String[] getPropertyIds(long sessionId)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPropertyIds

java.lang.String[] getPropertyIds(long sessionId,
                                  java.lang.String nodeTypeId,
                                  java.lang.String propertyTypeId)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updatePropertyValue

boolean updatePropertyValue(long sessionId,
                            int nodeId,
                            java.lang.String propertyName,
                            java.lang.String propertyValue)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateProperty

boolean updateProperty(long sessionId,
                       PropertyValue property)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNodeTypeIds

java.lang.String[] getNodeTypeIds(long sessionId)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getNodeIds

java.lang.String[] getNodeIds(long sessionId,
                              PropertyValue property)
                              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getPropertyTypeIds

java.lang.String[] getPropertyTypeIds(long sessionId,
                                      java.lang.String nodeTypeId)
                                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getDataSetForDataSource

DataSet[] getDataSetForDataSource(long sessionId,
                                  int dataSourceId)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getDataSourcesForProject

DataSource[] getDataSourcesForProject(long sessionId,
                                      java.lang.String projectId)
                                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getIntegrationDefaultFolderId

int getIntegrationDefaultFolderId(long sessionId,
                                  int projectId)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setIntegrationDefaultFolder

void setIntegrationDefaultFolder(long sessionId,
                                 int projectId,
                                 int folderId)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


Copyright © 2010. All Rights Reserved.