All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.greenpepper.confluence.rpc.xmlrpc.GreenPepperXmlRpcServerDelegator Maven / Gradle / Ivy

There is a newer version: 4.2.4
Show newest version
/*
 * Copyright (c) 2008 Pyxis Technologies inc.
 *
 * This is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA,
 * or see the FSF site: http://www.fsf.org.
 */
package com.greenpepper.confluence.rpc.xmlrpc;

import java.util.Vector;

import com.greenpepper.confluence.rpc.RpcClientService;
import com.greenpepper.server.rpc.GreenPepperRpcHelper;
import com.greenpepper.server.rpc.xmlrpc.GreenPepperXmlRpcServer;

/**
 * 

GreenPepperXmlRpcServerDelegator class.

* * @author oaouattara * @version $Id: $Id */ public class GreenPepperXmlRpcServerDelegator implements RpcClientService { private GreenPepperXmlRpcServer serviceDelegator; private GreenPepperRpcHelper confluenceServiceDelegator = new ConfluenceXmlRpcGreenPepperServiceImpl(); /** *

Constructor for GreenPepperXmlRpcServerDelegator.

*/ public GreenPepperXmlRpcServerDelegator() { } /** *

setGreenPepperXmlRpcServerService.

* * @param delegator a {@link com.greenpepper.server.rpc.xmlrpc.GreenPepperXmlRpcServer} object. */ public void setGreenPepperXmlRpcServerService(GreenPepperXmlRpcServer delegator) { this.serviceDelegator = delegator; } /** *

testConnection.

* * @return a {@link java.lang.String} object. */ public String testConnection() { return serviceDelegator.testConnection(); } /** {@inheritDoc} */ public String ping(Vector repositoryParams) { return serviceDelegator.ping(repositoryParams); } /** *

getAllEnvironmentTypes.

* * @return a {@link java.util.Vector} object. */ public Vector getAllEnvironmentTypes() { return serviceDelegator.getAllEnvironmentTypes(); } /** {@inheritDoc} */ public Vector getRunner(String name) { return serviceDelegator.getRunner(name); } /** *

getAllRunners.

* * @return a {@link java.util.Vector} object. */ public Vector getAllRunners() { return serviceDelegator.getAllRunners(); } /** {@inheritDoc} */ public String createRunner(Vector runnerParams) { return serviceDelegator.createRunner(runnerParams); } /** {@inheritDoc} */ public String updateRunner(String oldRunnerName, Vector runnerParams) { return serviceDelegator.updateRunner(oldRunnerName, runnerParams); } /** {@inheritDoc} */ public String removeRunner(String name) { return serviceDelegator.removeRunner(name); } /** {@inheritDoc} */ public Vector getRegisteredRepository(Vector repositoryParams) { return serviceDelegator.getRegisteredRepository(repositoryParams); } /** {@inheritDoc} */ public Vector registerRepository(Vector repositoryParams) { return serviceDelegator.registerRepository(repositoryParams); } /** {@inheritDoc} */ public String updateRepositoryRegistration(Vector repositoryParams) { return serviceDelegator.updateRepositoryRegistration(repositoryParams); } /** {@inheritDoc} */ public String removeRepository(String repositoryUid) { return serviceDelegator.removeRepository(repositoryUid); } /** *

getAllProjects.

* * @return a {@link java.util.Vector} object. */ public Vector getAllProjects() { return serviceDelegator.getAllProjects(); } /** *

getAllSpecificationRepositories.

* * @return a {@link java.util.Vector} object. */ public Vector getAllSpecificationRepositories() { return serviceDelegator.getAllSpecificationRepositories(); } /** {@inheritDoc} */ public Vector getSpecificationRepositoriesOfAssociatedProject(Vector repositoryParams) { return serviceDelegator.getSpecificationRepositoriesOfAssociatedProject(repositoryParams); } /** {@inheritDoc} */ public Vector getAllRepositoriesForSystemUnderTest(Vector systemUnderTestParams) { return serviceDelegator.getAllRepositoriesForSystemUnderTest(systemUnderTestParams); } /** {@inheritDoc} */ public Vector getSpecificationRepositoriesForSystemUnderTest(Vector systemUnderTestParams) { return serviceDelegator.getSpecificationRepositoriesForSystemUnderTest(systemUnderTestParams); } /** {@inheritDoc} */ public Vector getRequirementRepositoriesOfAssociatedProject(Vector repositoryParams) { return serviceDelegator.getRequirementRepositoriesOfAssociatedProject(repositoryParams); } /** {@inheritDoc} */ public Vector getSystemUnderTestsOfAssociatedProject(Vector repositoryParams) { return serviceDelegator.getSystemUnderTestsOfAssociatedProject(repositoryParams); } /** {@inheritDoc} */ public Vector getSystemUnderTestsOfProject(String projectName) { return serviceDelegator.getSystemUnderTestsOfProject(projectName); } /** {@inheritDoc} */ public String addSpecificationSystemUnderTest(Vector systemUnderTestParams, Vector specificationParams) { return serviceDelegator.addSpecificationSystemUnderTest(systemUnderTestParams, specificationParams); } /** {@inheritDoc} */ public String removeSpecificationSystemUnderTest(Vector systemUnderTestParams, Vector specificationParams) { return serviceDelegator.removeSpecificationSystemUnderTest(systemUnderTestParams, specificationParams); } /** {@inheritDoc} */ public String doesSpecificationHasReferences(Vector specificationParams) { return serviceDelegator.doesSpecificationHasReferences(specificationParams); } /** {@inheritDoc} */ public Vector getSpecificationReferences(Vector specificationParams) { return serviceDelegator.getSpecificationReferences(specificationParams); } /** {@inheritDoc} */ public String doesRequirementHasReferences(Vector requirementParams) { return serviceDelegator.doesRequirementHasReferences(requirementParams); } /** {@inheritDoc} */ public Vector getRequirementReferences(Vector requirementParams) { return serviceDelegator.getRequirementReferences(requirementParams); } /** {@inheritDoc} */ public Vector getReference(Vector referenceParams) { return serviceDelegator.getReference(referenceParams); } /** {@inheritDoc} */ public Vector getSystemUnderTest(Vector systemUnderTestParams, Vector repositoryParams) { return serviceDelegator.getSystemUnderTest(systemUnderTestParams, repositoryParams); } /** {@inheritDoc} */ public String createSystemUnderTest(Vector systemUnderTestParams, Vector repositoryParams) { return serviceDelegator.createSystemUnderTest(systemUnderTestParams, repositoryParams); } /** {@inheritDoc} */ public String updateSystemUnderTest(String oldSystemUnderTestName, Vector systemUnderTestParams, Vector repositoryParams) { return serviceDelegator.updateSystemUnderTest(oldSystemUnderTestName, systemUnderTestParams, repositoryParams); } /** {@inheritDoc} */ public String removeSystemUnderTest(Vector systemUnderTestParams, Vector repositoryParams) { return serviceDelegator.removeSystemUnderTest(systemUnderTestParams, repositoryParams); } /** {@inheritDoc} */ public String setSystemUnderTestAsDefault(Vector systemUnderTestParams, Vector repositoryParams) { return serviceDelegator.setSystemUnderTestAsDefault(systemUnderTestParams, repositoryParams); } /** {@inheritDoc} */ public String removeRequirement(Vector requirementParams) { return serviceDelegator.removeRequirement(requirementParams); } /** {@inheritDoc} */ public Vector getSpecification(Vector specificationParams) { return serviceDelegator.getSpecification(specificationParams); } /** {@inheritDoc} */ public Vector getSpecifications(Vector systemUnderTestParams, Vector repositoryParams) { return serviceDelegator.getSpecifications(systemUnderTestParams, repositoryParams); } /** {@inheritDoc} */ public Vector getListOfSpecificationLocations(String repositoryUID, String systemUnderTestName) { return serviceDelegator.getListOfSpecificationLocations(repositoryUID, systemUnderTestName); } /** {@inheritDoc} */ public Vector createSpecification(Vector specificationParams) { return serviceDelegator.createSpecification(specificationParams); } /** {@inheritDoc} */ public String updateSpecification(Vector oldSpecificationParams, Vector newSpecificationParams) { return serviceDelegator.updateSpecification(oldSpecificationParams, newSpecificationParams); } /** {@inheritDoc} */ public String removeSpecification(Vector specificationParams) { return serviceDelegator.removeSpecification(specificationParams); } /** {@inheritDoc} */ public String createReference(Vector referenceParams) { return serviceDelegator.createReference(referenceParams); } /** {@inheritDoc} */ public Vector updateReference(Vector oldReferenceParams, Vector newReferenceParams) { return serviceDelegator.updateReference(oldReferenceParams, newReferenceParams); } /** {@inheritDoc} */ public String removeReference(Vector referenceParams) { return serviceDelegator.removeReference(referenceParams); } /** {@inheritDoc} */ public Vector runSpecification(Vector systemUnderTestParams, Vector specificationParams, boolean implementedVersion, String locale) { return serviceDelegator.runSpecification(systemUnderTestParams, specificationParams, implementedVersion, locale); } /** {@inheritDoc} */ public Vector runReference(Vector referenceParams, String locale) { return serviceDelegator.runReference(referenceParams, locale); } /** {@inheritDoc} */ public Vector getRequirementSummary(Vector requirementParams) { return serviceDelegator.getRequirementSummary(requirementParams); } /** {@inheritDoc} */ public Vector getSpecificationHierarchy(Vector repositoryParams, Vector sutParams) { return serviceDelegator.getSpecificationHierarchy(repositoryParams, sutParams); } /** {@inheritDoc} */ public String getRenderedSpecification(String username, String password, Vector args) { return confluenceServiceDelegator.getRenderedSpecification(username, password, args); } /** {@inheritDoc} */ public Vector getSpecificationHierarchy(String username, String password, Vector args) { return confluenceServiceDelegator.getSpecificationHierarchy(username, password, args); } /** {@inheritDoc} */ public String setSpecificationAsImplemented(String username, String password, Vector args) { return confluenceServiceDelegator.setSpecificationAsImplemented(username, password, args); } /** {@inheritDoc} */ public String saveExecutionResult(String username, String password, Vector args) { return confluenceServiceDelegator.saveExecutionResult(username, password, args); } }