com.borland.sctm.ws.planning
Class PlanningServiceProxy
java.lang.Object
com.borland.sctm.ws.planning.PlanningServiceProxy
- All Implemented Interfaces:
- PlanningService, java.rmi.Remote
public class PlanningServiceProxy
- extends java.lang.Object
- implements PlanningService
|
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)
|
java.lang.String |
getEndpoint()
|
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)
|
PlanningService |
getPlanningService()
|
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 |
setEndpoint(java.lang.String endpoint)
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanningServiceProxy
public PlanningServiceProxy()
PlanningServiceProxy
public PlanningServiceProxy(java.lang.String endpoint)
getEndpoint
public java.lang.String getEndpoint()
setEndpoint
public void setEndpoint(java.lang.String endpoint)
getPlanningService
public PlanningService getPlanningService()
getProperty
public PropertyValue getProperty(long sessionId,
java.lang.String nodeId,
java.lang.String propertyId)
throws java.rmi.RemoteException
- Specified by:
getProperty in interface PlanningService
- Throws:
java.rmi.RemoteException
getAttributes
public Attribute[] getAttributes(long sessionId,
int projectId)
throws java.rmi.RemoteException
- Specified by:
getAttributes in interface PlanningService
- Throws:
java.rmi.RemoteException
updateAttributes
public Attribute[] updateAttributes(long sessionId,
int projectId,
Attribute[] attributes)
throws java.rmi.RemoteException
- Specified by:
updateAttributes in interface PlanningService
- Throws:
java.rmi.RemoteException
login
public long login(java.util.HashMap loginProperties)
throws java.rmi.RemoteException
- Specified by:
login in interface PlanningService
- Throws:
java.rmi.RemoteException
getProject
public Project getProject(long sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
- Specified by:
getProject in interface PlanningService
- Throws:
java.rmi.RemoteException
getChildNodes
public TestPlanningNode[] getChildNodes(long id,
int projectId,
int parentNodeId,
NodeFilter filter)
throws java.rmi.RemoteException
- Specified by:
getChildNodes in interface PlanningService
- Throws:
java.rmi.RemoteException
getPropertyInfo
public PropertyMetaInfo getPropertyInfo(long sessionId,
java.lang.String nodeTypeId,
java.lang.String propertyId)
throws java.rmi.RemoteException
- Specified by:
getPropertyInfo in interface PlanningService
- Throws:
java.rmi.RemoteException
getProjects
public Project[] getProjects(long sessionId)
throws java.rmi.RemoteException
- Specified by:
getProjects in interface PlanningService
- Throws:
java.rmi.RemoteException
getNode
public TestPlanningNode getNode(long sessionId,
java.lang.String nodeId)
throws java.rmi.RemoteException
- Specified by:
getNode in interface PlanningService
- Throws:
java.rmi.RemoteException
addNode
public int addNode(long id,
int parentNodeId,
TestPlanningNode node,
boolean throwErrorOnDuplicate)
throws java.rmi.RemoteException
- Specified by:
addNode in interface PlanningService
- Throws:
java.rmi.RemoteException
updateProperties
public boolean updateProperties(long sessionId,
PropertyValue[] properties)
throws java.rmi.RemoteException
- Specified by:
updateProperties in interface PlanningService
- Throws:
java.rmi.RemoteException
getTestContainers
public NamedEntity[] getTestContainers(long id,
int projectId)
throws java.rmi.RemoteException
- Specified by:
getTestContainers in interface PlanningService
- Throws:
java.rmi.RemoteException
createTestPackage
public int createTestPackage(long sessionId,
int packageParentNodeId,
java.lang.String xmlPackage)
throws java.rmi.RemoteException
- Specified by:
createTestPackage in interface PlanningService
- Throws:
java.rmi.RemoteException
updateTestPackage
public void updateTestPackage(long sessionId,
int packageNodeId,
java.lang.String xmlPackage)
throws java.rmi.RemoteException
- Specified by:
updateTestPackage in interface PlanningService
- Throws:
java.rmi.RemoteException
uploadTestPackageResult
public void uploadTestPackageResult(long sessionId,
int packageNodeId,
java.lang.String xmlPackage)
throws java.rmi.RemoteException
- Specified by:
uploadTestPackageResult in interface PlanningService
- Throws:
java.rmi.RemoteException
deleteAttributeOptions
public void deleteAttributeOptions(long sessionId,
int projectId,
java.lang.String attributeName,
AttributeOption[] options)
throws java.rmi.RemoteException
- Specified by:
deleteAttributeOptions in interface PlanningService
- Throws:
java.rmi.RemoteException
addAttributeOptions
public void addAttributeOptions(long sessionId,
int projectId,
java.lang.String attributeName,
AttributeOption[] options)
throws java.rmi.RemoteException
- Specified by:
addAttributeOptions in interface PlanningService
- Throws:
java.rmi.RemoteException
addAttributes
public Attribute[] addAttributes(long sessionId,
int projectId,
Attribute[] attributes)
throws java.rmi.RemoteException
- Specified by:
addAttributes in interface PlanningService
- Throws:
java.rmi.RemoteException
deleteAttributes
public void deleteAttributes(long sessionId,
int projectId,
Attribute[] attributes)
throws java.rmi.RemoteException
- Specified by:
deleteAttributes in interface PlanningService
- Throws:
java.rmi.RemoteException
getExecutionResult
public TestDefinitionResult[] getExecutionResult(long sessionId,
int executionDefId,
long executionTimestamp,
java.lang.String execServerHostName,
int execServerPort)
throws java.rmi.RemoteException
- Specified by:
getExecutionResult in interface PlanningService
- Throws:
java.rmi.RemoteException
deleteNode
public boolean deleteNode(long id,
int nodeId)
throws java.rmi.RemoteException
- Specified by:
deleteNode in interface PlanningService
- Throws:
java.rmi.RemoteException
updateNode
public boolean updateNode(long sessionId,
TestPlanningNode node)
throws java.rmi.RemoteException
- Specified by:
updateNode in interface PlanningService
- Throws:
java.rmi.RemoteException
getCurrentProject
public Project getCurrentProject(long sessionId)
throws java.rmi.RemoteException
- Specified by:
getCurrentProject in interface PlanningService
- Throws:
java.rmi.RemoteException
setCurrentProject
public void setCurrentProject(long sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
- Specified by:
setCurrentProject in interface PlanningService
- Throws:
java.rmi.RemoteException
uploadTestPlan
public boolean uploadTestPlan(long sessionId,
int projectId,
java.lang.String content)
throws java.rmi.RemoteException
- Specified by:
uploadTestPlan in interface PlanningService
- Throws:
java.rmi.RemoteException
addManualTest
public int addManualTest(long id,
int testContainerId,
java.lang.String name,
java.lang.String description,
ManualTestStep[] steps,
NodeParameter[] params)
throws java.rmi.RemoteException
- Specified by:
addManualTest in interface PlanningService
- Throws:
java.rmi.RemoteException
getManualTestSteps
public ManualTestStep[] getManualTestSteps(long sessionId,
int testId)
throws java.rmi.RemoteException
- Specified by:
getManualTestSteps in interface PlanningService
- Throws:
java.rmi.RemoteException
deleteManualTestStep
public void deleteManualTestStep(long sessionId,
int testId,
int stepPos)
throws java.rmi.RemoteException
- Specified by:
deleteManualTestStep in interface PlanningService
- Throws:
java.rmi.RemoteException
addManualTestStep
public void addManualTestStep(long sessionId,
int testId,
ManualTestStep step)
throws java.rmi.RemoteException
- Specified by:
addManualTestStep in interface PlanningService
- Throws:
java.rmi.RemoteException
updateManualTestStep
public void updateManualTestStep(long sessionId,
int testId,
ManualTestStep step)
throws java.rmi.RemoteException
- Specified by:
updateManualTestStep in interface PlanningService
- Throws:
java.rmi.RemoteException
getCustomStepPropertyNames
public CustomStepProperty[] getCustomStepPropertyNames(long id,
int projectId)
throws java.rmi.RemoteException
- Specified by:
getCustomStepPropertyNames in interface PlanningService
- Throws:
java.rmi.RemoteException
addCustomStepProperty
public int addCustomStepProperty(long id,
int projectId,
int sequenceID,
java.lang.String propertyName)
throws java.rmi.RemoteException
- Specified by:
addCustomStepProperty in interface PlanningService
- Throws:
java.rmi.RemoteException
deleteCustomStepProperty
public int deleteCustomStepProperty(long id,
int projectId,
int propertyId)
throws java.rmi.RemoteException
- Specified by:
deleteCustomStepProperty in interface PlanningService
- Throws:
java.rmi.RemoteException
deleteProperty
public boolean deleteProperty(long sessionId,
PropertyValue property)
throws java.rmi.RemoteException
- Specified by:
deleteProperty in interface PlanningService
- Throws:
java.rmi.RemoteException
getExecutionResultURL
public java.lang.String getExecutionResultURL(long sessionId,
int executionDefId,
long executionTimestamp,
java.lang.String execServerHostName,
int execServerPort)
throws java.rmi.RemoteException
- Specified by:
getExecutionResultURL in interface PlanningService
- Throws:
java.rmi.RemoteException
queueExecution
public 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
- Specified by:
queueExecution in interface PlanningService
- Throws:
java.rmi.RemoteException
startExecution
public boolean startExecution(long sessionId,
int executionDefId,
java.lang.String version,
java.lang.String build,
java.lang.String execServerHostName,
int execServerPort)
throws java.rmi.RemoteException
- Specified by:
startExecution in interface PlanningService
- Throws:
java.rmi.RemoteException
getPropertyIds
public java.lang.String[] getPropertyIds(long sessionId)
throws java.rmi.RemoteException
- Specified by:
getPropertyIds in interface PlanningService
- Throws:
java.rmi.RemoteException
getPropertyIds
public java.lang.String[] getPropertyIds(long sessionId,
java.lang.String nodeTypeId,
java.lang.String propertyTypeId)
throws java.rmi.RemoteException
- Specified by:
getPropertyIds in interface PlanningService
- Throws:
java.rmi.RemoteException
updatePropertyValue
public boolean updatePropertyValue(long sessionId,
int nodeId,
java.lang.String propertyName,
java.lang.String propertyValue)
throws java.rmi.RemoteException
- Specified by:
updatePropertyValue in interface PlanningService
- Throws:
java.rmi.RemoteException
updateProperty
public boolean updateProperty(long sessionId,
PropertyValue property)
throws java.rmi.RemoteException
- Specified by:
updateProperty in interface PlanningService
- Throws:
java.rmi.RemoteException
getNodeTypeIds
public java.lang.String[] getNodeTypeIds(long sessionId)
throws java.rmi.RemoteException
- Specified by:
getNodeTypeIds in interface PlanningService
- Throws:
java.rmi.RemoteException
getNodeIds
public java.lang.String[] getNodeIds(long sessionId,
PropertyValue property)
throws java.rmi.RemoteException
- Specified by:
getNodeIds in interface PlanningService
- Throws:
java.rmi.RemoteException
getPropertyTypeIds
public java.lang.String[] getPropertyTypeIds(long sessionId,
java.lang.String nodeTypeId)
throws java.rmi.RemoteException
- Specified by:
getPropertyTypeIds in interface PlanningService
- Throws:
java.rmi.RemoteException
getDataSetForDataSource
public DataSet[] getDataSetForDataSource(long sessionId,
int dataSourceId)
throws java.rmi.RemoteException
- Specified by:
getDataSetForDataSource in interface PlanningService
- Throws:
java.rmi.RemoteException
getDataSourcesForProject
public DataSource[] getDataSourcesForProject(long sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
- Specified by:
getDataSourcesForProject in interface PlanningService
- Throws:
java.rmi.RemoteException
getIntegrationDefaultFolderId
public int getIntegrationDefaultFolderId(long sessionId,
int projectId)
throws java.rmi.RemoteException
- Specified by:
getIntegrationDefaultFolderId in interface PlanningService
- Throws:
java.rmi.RemoteException
setIntegrationDefaultFolder
public void setIntegrationDefaultFolder(long sessionId,
int projectId,
int folderId)
throws java.rmi.RemoteException
- Specified by:
setIntegrationDefaultFolder in interface PlanningService
- Throws:
java.rmi.RemoteException
Copyright © 2010. All Rights Reserved.