continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r691786 [1/2] - in /continuum/trunk/continuum-xmlrpc: continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ continuum-xmlrpc-server/src/main/jav...
Date Wed, 03 Sep 2008 21:31:56 GMT
Author: olamy
Date: Wed Sep  3 14:31:55 2008
New Revision: 691786

URL: http://svn.apache.org/viewvc?rev=691786&view=rev
Log:
[CONTINUUM-1827] XMPRPC Basic Compliance ( Call continuum XPMRPC Service from other language
like Php )
Submitted by Cuellar Gregory


Modified:
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java?rev=691786&r1=691785&r2=691786&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java
Wed Sep  3 14:31:55 2008
@@ -20,6 +20,7 @@
  */
 
 import java.util.List;
+import java.util.Map;
 
 import org.apache.maven.continuum.xmlrpc.project.AddingResult;
 import org.apache.maven.continuum.xmlrpc.project.BuildDefinition;
@@ -30,6 +31,7 @@
 import org.apache.maven.continuum.xmlrpc.project.Project;
 import org.apache.maven.continuum.xmlrpc.project.ProjectGroup;
 import org.apache.maven.continuum.xmlrpc.project.ProjectGroupSummary;
+import org.apache.maven.continuum.xmlrpc.project.ProjectNotifier;
 import org.apache.maven.continuum.xmlrpc.project.ProjectSummary;
 import org.apache.maven.continuum.xmlrpc.project.Schedule;
 import org.apache.maven.continuum.xmlrpc.system.Installation;
@@ -58,6 +60,17 @@
     List<ProjectSummary> getProjects( int projectGroupId )
         throws Exception;
 
+    
+   /**
+    * Same method but compatible with standard XMLRPC
+    * 
+    * @param projectGroupId The project group Id
+    * @return List of {@link ProjectSummary} as RPC value
+    * @throws Exception
+    */
+   List<Object> getProjectsRPC(int projectGroupId)throws Exception;   
+    
+    
     /**
      * Get a project.
      *
@@ -69,6 +82,15 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @param projectId the project id
+     * @return The project summary as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> getProjectSummaryRPC(int projectId)throws Exception;   
+    
+    /**
      * Get a project with all details.
      *
      * @param projectId The project id
@@ -79,6 +101,15 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @param projectId the project id
+     * @return The project as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> getProjectWithAllDetailsRPC(int projectId)throws Exception;
  
+    
+    /**
      * Remove a project.
      *
      * @param projectId The project id
@@ -96,11 +127,37 @@
     ProjectSummary updateProject( ProjectSummary project )
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @param project The project to update
+     * @return The project as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> updateProjectRPC(Map<String,Object> project)throws Exception;
     // ----------------------------------------------------------------------
     // Projects Groups
     // ----------------------------------------------------------------------
 
     /**
+     * Get a project groups.
+     * 
+     * @param projectGroupId the id
+     * @return project group
+     * @throws Exception
+     */
+    ProjectGroup getProjectGroup(int projectGroupId) throws Exception;
+    
+    /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @param projectGroupId the id
+     * @return project group as RPC value
+     * @throws Exception
+     */
+    Map<String, Object> getProjectGroupRPC(int projectGroupId) throws Exception;
+    
+    /**
      * Get all project groups.
      *
      * @return All project groups
@@ -110,6 +167,14 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @return List of {@link ProjectGroupSummary} as RPC value
+     * @throws Exception
+     */
+    List<Object> getAllProjectGroupsRPC()throws Exception;   
+    
+    /**
      * Get all project groups with all details (project summaries, notifiers, build definitions).
      *
      * @return All project groups
@@ -119,6 +184,14 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @return List of {@link ProjectGroup} as RPC value
+     * @throws Exception
+     */
+    List<Object> getAllProjectGroupsWithAllDetailsRPC()throws Exception;   
+    
+    /**
      * Get all project groups with all details.
      *
      * @return All project groups
@@ -139,6 +212,15 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @param projectGroupId The project group id
+     * @return The project group summary as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> getProjectGroupSummaryRPC(int projectGroupId)throws Exception;
  
+    
+    /**
      * Get a project group with all details.
      *
      * @param projectGroupId The project group id
@@ -149,6 +231,15 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @param projectGroupId The project group id
+     * @return The project group as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> getProjectGroupWithProjectsRPC(int projectGroupId)throws Exception;
  
+    
+    /**
      * Remove a project group.
      *
      * @param projectGroupId The project group id
@@ -167,6 +258,15 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     * 
+     * @param projectGroup The project group to update
+     * @return The project group as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> updateProjectGroupRPC(Map<String,Object> projectGroup)throws
Exception;   
+    
+    /**
      * Add a project Group.
      *
      * @param groupName   The project group name
@@ -177,7 +277,48 @@
      */
     ProjectGroupSummary addProjectGroup( String groupName, String groupId, String description
)
         throws Exception;
-
+    
+    int removeBuildDefinitionFromProjectGroup(int projectGroupId, int buildDefinitionId)
throws Exception;
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param groupName   The project group name
+     * @param groupId     The project group id
+     * @param description The project group description
+     * @return the project group summary of the created project group as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> addProjectGroupRPC( String groupName, String groupId, String
description )
+        throws Exception;
+    
+    ProjectNotifier getNotifier(int projectid, int notifierId) throws Exception;
+  
+    Map<String, Object> getNotifierRPC(int projectid, int notifierId) throws Exception;
+    
+    ProjectNotifier getGroupNotifier(int projectgroupid, int notifierId) throws Exception;
+    
+    Map<String, Object> getGroupNotifierRPC(int projectgroupid, int notifierId) throws
Exception;
+    
+    ProjectNotifier updateGroupNotifier(int projectgroupid, ProjectNotifier newNotifier)
throws Exception;
+    
+    Map<String, Object> updateGroupNotifierRPC(int projectgroupid, Map<String, Object>
newNotifier) throws Exception;
+    
+    ProjectNotifier updateNotifier(int projectid, ProjectNotifier newNotifier) throws Exception;
+    
+    Map<String, Object> updateNotifierRPC(int projectid, Map<String, Object>
newNotifier) throws Exception;
+    
+    int removeGroupNotifier(int projectgroupid, int notifierId) throws Exception;
+    
+    int removeNotifier(int projectid, int notifierId) throws Exception;
+    
+    ProjectNotifier addNotifier(int projectid, ProjectNotifier newNotifier) throws Exception;
+    
+    ProjectNotifier addGroupNotifier(int projectgroupid, ProjectNotifier newNotifier) throws
Exception;
+    
+    Map<String, Object> addNotifierRPC(int projectid, Map<String, Object> newNotifier)
throws Exception;
+    
+    Map<String, Object> addGroupNotifierRPC(int projectgroupid, Map<String, Object>
newNotifier) throws Exception;
+    
     // ----------------------------------------------------------------------
     // Build Definitions
     // ----------------------------------------------------------------------
@@ -193,6 +334,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectId The project id
+     * @return The build definitions list as RPC value
+     * @throws Exception
+     */
+    List<Object> getBuildDefinitionsForProjectRPC( int projectId )
+        throws Exception;
+    
+    /**
      * Get the build definitions list of the project group.
      *
      * @param projectGroupId The project group id
@@ -203,6 +354,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectGroupId The project group id
+     * @return The build definitions list as RPC value
+     * @throws Exception
+     */
+    List<Object> getBuildDefinitionsForProjectGroupRPC( int projectGroupId )
+        throws Exception;
+    
+    /**
      * Update a project build definition.
      *
      * @param projectId The project id
@@ -214,6 +375,17 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectId The project id
+     * @param buildDef  The build defintion to update
+     * @return the updated build definition as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> updateBuildDefinitionForProjectRPC( int projectId, Map<String,Object>
buildDef )
+        throws Exception;
+
+    /**
      * Update a project group build definition.
      *
      * @param projectGroupId The project group id
@@ -225,6 +397,17 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectGroupId The project group id
+     * @param buildDef  The build defintion to update
+     * @return the updated build definition as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> updateBuildDefinitionForProjectGroupRPC( int projectGroupId,
Map<String,Object> buildDef )
+        throws Exception;
+    
+    /**
      * Add a project build definition.
      *
      * @param projectId The project id
@@ -236,6 +419,17 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectId The project id
+     * @param buildDef  The build defintion to update
+     * @return the added build definition as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> addBuildDefinitionToProjectRPC( int projectId, Map<String,Object>
buildDef )
+        throws Exception;
+    
+    /**
      * Add a project group buildDefinition.
      *
      * @param projectGroupId The project group id
@@ -247,6 +441,17 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectGroupId The project group id
+     * @param buildDef  The build defintion to update
+     * @return the added build definition as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> addBuildDefinitionToProjectGroupRPC( int projectGroupId, Map<String,Object>
buildDef )
+        throws Exception;
+    
+    /**
      * Get the build definition templates list.
      *
      * @return The build definitions templates list
@@ -255,6 +460,14 @@
     List<BuildDefinitionTemplate> getBuildDefinitionTemplates()
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @return The build definitions templates list as RPC value
+     * @throws Exception
+     */
+    List<Object> getBuildDefinitionTemplatesRPC()
+        throws Exception;
     // ----------------------------------------------------------------------
     // Building
     // ----------------------------------------------------------------------
@@ -330,6 +543,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectId The project id
+     * @return The build result as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> getLatestBuildResultRPC( int projectId )
+        throws Exception;
+    
+    /**
      * Returns the build result.
      *
      * @param projectId The project id
@@ -341,6 +564,17 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectId The project id
+     * @param buildId   The build id
+     * @return The build result as RPC value
+     * @throws Exception
+     */
+    Map<String,Object> getBuildResultRPC( int projectId, int buildId )
+        throws Exception;
+    
+    /**
      * Returns the project build result summary list.
      *
      * @param projectId The project id
@@ -351,6 +585,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param projectId The project id
+     * @return The build result list as RPC value
+     * @throws Exception
+     */
+    List<Object> getBuildResultsForProjectRPC( int projectId )
+        throws Exception;
+    
+    /**
      * Remove the project build result.
      *
      * @param br The project build result
@@ -361,6 +605,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param br The project build result
+     * @return 0
+     * @throws Exception
+     */
+    int removeBuildResultRPC( Map<String,Object> br )
+        throws Exception;
+    
+    /**
      * Returns the build output.
      *
      * @param projectId The project id
@@ -386,6 +640,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param url The POM url
+     * @return The result of the action with the list of projects created as RPC value
+     * @throws Exception
+     */
+    Map<String,Object>  addMavenTwoProjectRPC( String url )
+        throws Exception;
+        
+    /**
      * Add a maven 2.x project from an url.
      *
      * @param url            The POM url
@@ -396,6 +660,17 @@
     AddingResult addMavenTwoProject( String url, int projectGroupId )
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param url The POM url
+     * @param projectGroupId The id of the group where projects will be stored
+     * @return The result of the action with the list of projects created as RPC value
+     * @throws Exception
+     */
+    Map<String,Object>  addMavenTwoProjectRPC( String url, int projectGroupId )
+        throws Exception;
+
     // ----------------------------------------------------------------------
     // Maven 1.x projects
     // ----------------------------------------------------------------------
@@ -411,6 +686,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param url The POM url
+     * @return The result of the action with the list of projects created as RPC value
+     * @throws Exception
+     */
+    Map<String,Object>  addMavenOneProjectRPC( String url )
+        throws Exception;
+
+    /**
      * Add a maven 1.x project from an url.
      *
      * @param url            The POM url
@@ -421,6 +706,17 @@
     AddingResult addMavenOneProject( String url, int projectGroupId )
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param url The POM url
+     * @param projectGroupId The id of the group where projects will be stored
+     * @return The result of the action with the list of projects created as RPC value
+     * @throws Exception
+     */
+    Map<String,Object>  addMavenOneProjectRPC( String url, int projectGroupId )
+        throws Exception;
+    
     // ----------------------------------------------------------------------
     // Maven ANT projects
     // ----------------------------------------------------------------------
@@ -436,6 +732,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param project The project to add. name, version and scm informations are required
+     * @return The project populated with the id as RPC value
+     * @throws Exception
+     */
+    Map<String,Object>  addAntProjectRPC( Map<String,Object> project)
+        throws Exception;
+    
+    /**
      * Add an ANT project in the specified group.
      *
      * @param project        The project to add. name, version and scm informations are required
@@ -446,6 +752,17 @@
     ProjectSummary addAntProject( ProjectSummary project, int projectGroupId )
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param project        The project to add. name, version and scm informations are required
+     * @param projectGroupId The id of the group where projects will be stored
+     * @return The project populated with the id as RPC value
+     * @throws Exception
+     */
+    Map<String,Object>  addAntProjectRPC( Map<String,Object> project, int projectGroupId
)
+        throws Exception;
+    
     // ----------------------------------------------------------------------
     // Maven Shell projects
     // ----------------------------------------------------------------------
@@ -461,6 +778,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param project The project to add. name, version and scm informations are required
+     * @return The project populated with the id as RPC value
+     * @throws Exception
+     */
+    Map<String,Object>  addShellProjectRPC( Map<String,Object> project )
+        throws Exception;
+    
+    /**
      * Add an shell project in the specified group.
      *
      * @param project        The project to add. name, version and scm informations are required
@@ -471,6 +798,17 @@
     ProjectSummary addShellProject( ProjectSummary project, int projectGroupId )
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param project The project to add. name, version and scm informations are required
+     * @param projectGroupId The id of the group where projects will be stored
+     * @return The project populated with the id as RPC value
+     * @throws Exception
+     */
+    Map<String,Object>  addShellProjectRPC( Map<String,Object> project, int projectGroupId
)
+        throws Exception;
+    
     // ----------------------------------------------------------------------
     // ADMIN TASKS
     // ----------------------------------------------------------------------
@@ -489,6 +827,15 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @return The schedule list as RPC value.
+     * @throws Exception
+     */
+    List<Object> getSchedulesRPC()
+        throws Exception;
+    
+    /**
      * Return the schedule defined by this id.
      *
      * @param scheduleId The schedule id
@@ -499,6 +846,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param scheduleId The schedule id
+     * @return The schedule as RPC value.
+     * @throws Exception
+     */
+    Map<String,Object> getScheduleRPC(int scheduleId)
+        throws Exception;
+    
+    /**
      * Add the schedule.
      *
      * @param schedule The schedule
@@ -509,6 +866,16 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param schedule The schedule
+     * @return The schedule as RPC value.
+     * @throws Exception
+     */
+    Map<String,Object> addScheduleRPC( Map<String,Object> schedule )
+        throws Exception;
+
+    /**
      * Update the schedule.
      *
      * @param schedule The schedule
@@ -518,6 +885,16 @@
     Schedule updateSchedule( Schedule schedule )
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param schedule The schedule
+     * @return The schedule as RPC value.
+     * @throws Exception
+     */
+    Map<String,Object> updateScheduleRPC( Map<String,Object> schedule )
+        throws Exception;
+    
     // ----------------------------------------------------------------------
     // Profiles
     // ----------------------------------------------------------------------
@@ -532,6 +909,15 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @return The profiles list as RPC value.
+     * @throws Exception
+     */
+    List<Object> getProfilesRPC()
+        throws Exception;
+    
+    /**
      * Return the profile defined by this id.
      *
      * @param profileId The profile id
@@ -541,6 +927,31 @@
     Profile getProfile( int profileId )
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param profileId The profile id
+     * @return The profile.
+     * @throws Exception
+     */
+    Map<String,Object> getProfileRPC( int profileId )
+        throws Exception;
+    
+    Profile addProfile(Profile profile)
+        throws Exception;
+    
+    int updateProfile(Profile profile)
+        throws Exception;
+    
+    int deleteProfile(int profileId)
+        throws Exception;
+    
+    Map<String,Object> addProfileRPC(Map<String,Object> profile)
+        throws Exception;
+   
+    int updateProfileRPC(Map<String,Object> profile)
+        throws Exception;
+   
     // ----------------------------------------------------------------------
     // Installations
     // ----------------------------------------------------------------------
@@ -555,6 +966,15 @@
         throws Exception;
 
     /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @return The installations list.
+     * @throws Exception
+     */
+    List<Object> getInstallationsRPC()
+        throws Exception;
+    
+    /**
      * Return the installation defined by this id.
      *
      * @param installationId The installation id
@@ -564,12 +984,40 @@
     Installation getInstallation( int installationId )
         throws Exception;
 
+    /**
+     * Same method but compatible with standard XMLRPC
+     *
+     * @param installationId The installation id
+     * @return The installation.
+     * @throws Exception
+     */
+    Map<String,Object> getInstallationRPC( int installationId )
+        throws Exception;
+    
+    Installation addInstallation(Installation installation)
+        throws Exception;
+    
+    int updateInstallation(Installation installation)
+        throws Exception;
+    
+    int deleteInstallation(int installationId)
+        throws Exception;
+
+    Map<String,Object> addInstallationRPC(Map<String,Object> installation)
+        throws Exception;
+    
+    int updateInstallationRPC(Map<String,Object> installation)
+        throws Exception;
+    
     // ----------------------------------------------------------------------
     // SystemConfiguration
     // ----------------------------------------------------------------------
 
     SystemConfiguration getSystemConfiguration()
         throws Exception;
+
+    Map<String,Object> getSystemConfigurationRPC()
+       throws Exception;
     
     // ----------------------------------------------------------------------
     // Queue

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java?rev=691786&r1=691785&r2=691786&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java
Wed Sep  3 14:31:55 2008
@@ -30,6 +30,7 @@
 import org.apache.maven.continuum.xmlrpc.project.Project;
 import org.apache.maven.continuum.xmlrpc.project.ProjectGroup;
 import org.apache.maven.continuum.xmlrpc.project.ProjectGroupSummary;
+import org.apache.maven.continuum.xmlrpc.project.ProjectNotifier;
 import org.apache.maven.continuum.xmlrpc.project.ProjectSummary;
 import org.apache.maven.continuum.xmlrpc.project.Schedule;
 import org.apache.maven.continuum.xmlrpc.system.Installation;
@@ -43,6 +44,7 @@
 import java.net.URL;
 import java.util.Hashtable;
 import java.util.List;
+import java.util.Map;
 
 /**
  * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
@@ -266,6 +268,12 @@
         return continuum.updateBuildDefinitionForProjectGroup( projectGroupId, buildDef );
     }
 
+    public int removeBuildDefinitionFromProjectGroup( int projectGroupId, int buildDefinitionId
)
+        throws Exception
+    {
+        return continuum.removeBuildDefinitionFromProjectGroup( projectGroupId, buildDefinitionId
);
+    }
+
     public BuildDefinition addBuildDefinitionToProject( int projectId, BuildDefinition buildDef
)
         throws Exception
     {
@@ -516,5 +524,396 @@
     {
         return continuum.isProjectInBuildingQueue( projectId );
     }
-        
+
+    public Map<String, Object> addAntProjectRPC( Map<String, Object> project
)
+        throws Exception
+    {
+        return continuum.addAntProjectRPC( project );
+    }
+
+    public Map<String, Object> addAntProjectRPC( Map<String, Object> project,
int projectGroupId )
+        throws Exception
+    {
+        return continuum.addAntProjectRPC( project, projectGroupId );
+    }
+
+    public Map<String, Object> addBuildDefinitionToProjectGroupRPC( int projectGroupId,
+                                                                    Map<String, Object>
buildDef )
+        throws Exception
+    {
+        return continuum.addBuildDefinitionToProjectGroupRPC( projectGroupId, buildDef );
+    }
+
+    public Map<String, Object> addBuildDefinitionToProjectRPC( int projectId,
+                                                               Map<String, Object>
buildDef )
+        throws Exception
+    {
+        return continuum.addBuildDefinitionToProjectRPC( projectId, buildDef );
+    }
+
+    public Map<String, Object> addMavenOneProjectRPC( String url )
+        throws Exception
+    {
+        return continuum.addMavenOneProjectRPC( url );
+    }
+
+    public Map<String, Object> addMavenOneProjectRPC( String url, int projectGroupId
)
+        throws Exception
+    {
+        return continuum.addMavenOneProjectRPC( url, projectGroupId );
+    }
+
+    public Map<String, Object> addMavenTwoProjectRPC( String url )
+        throws Exception
+    {
+        return continuum.addMavenTwoProjectRPC( url );
+    }
+
+    public Map<String, Object> addMavenTwoProjectRPC( String url, int projectGroupId
)
+        throws Exception
+    {
+        return continuum.addMavenTwoProjectRPC( url, projectGroupId );
+    }
+
+    public Map<String, Object> addProjectGroupRPC( String groupName,
+                                                   String groupId,
+                                                   String description )
+        throws Exception
+    {
+        return continuum.addProjectGroupRPC( groupName, groupId, description );
+    }
+
+    public Map<String, Object> addScheduleRPC( Map<String, Object> schedule )
+        throws Exception
+    {
+        return continuum.addScheduleRPC( schedule );
+    }
+
+    public Map<String, Object> addShellProjectRPC( Map<String, Object> project,
int projectGroupId )
+        throws Exception
+    {
+        return continuum.addShellProjectRPC( project, projectGroupId );
+    }
+
+    public Map<String, Object> addShellProjectRPC( Map<String, Object> project
)
+        throws Exception
+    {
+        return continuum.addShellProjectRPC( project );
+    }
+
+    public List<Object> getAllProjectGroupsRPC()
+        throws Exception
+    {
+        return continuum.getAllProjectGroupsRPC();
+    }
+
+    public List<Object> getAllProjectGroupsWithAllDetailsRPC()
+        throws Exception
+    {
+        return continuum.getAllProjectGroupsWithAllDetailsRPC();
+    }
+
+    public List<Object> getBuildDefinitionTemplatesRPC()
+        throws Exception
+    {
+        return continuum.getBuildDefinitionTemplatesRPC();
+    }
+
+    public List<Object> getBuildDefinitionsForProjectGroupRPC( int projectGroupId )
+        throws Exception
+    {
+        return continuum.getBuildDefinitionsForProjectGroupRPC( projectGroupId );
+    }
+
+    public List<Object> getBuildDefinitionsForProjectRPC( int projectId )
+        throws Exception
+    {
+        return continuum.getBuildDefinitionsForProjectRPC( projectId );
+    }
+
+    public Map<String, Object> getBuildResultRPC( int projectId, int buildId )
+        throws Exception
+    {
+        return continuum.getBuildResultRPC( projectId, buildId );
+    }
+
+    public List<Object> getBuildResultsForProjectRPC( int projectId )
+        throws Exception
+    {
+        return continuum.getBuildResultsForProjectRPC( projectId );
+    }
+
+    public Map<String, Object> getInstallationRPC( int installationId )
+        throws Exception
+    {
+        return continuum.getInstallationRPC( installationId );
+    }
+
+    public List<Object> getInstallationsRPC()
+        throws Exception
+    {
+        return continuum.getInstallationsRPC();
+    }
+
+    public Map<String, Object> getLatestBuildResultRPC( int projectId )
+        throws Exception
+    {
+        return continuum.getLatestBuildResultRPC( projectId );
+    }
+
+    public Map<String, Object> getProfileRPC( int profileId )
+        throws Exception
+    {
+        return continuum.getProfileRPC( profileId );
+    }
+
+    public List<Object> getProfilesRPC()
+        throws Exception
+    {
+        return continuum.getProfilesRPC();
+    }
+
+    public Map<String, Object> getProjectGroupSummaryRPC( int projectGroupId )
+        throws Exception
+    {
+        return continuum.getProjectGroupSummaryRPC( projectGroupId );
+    }
+
+    public Map<String, Object> getProjectGroupWithProjectsRPC( int projectGroupId )
+        throws Exception
+    {
+        return continuum.getProjectGroupWithProjectsRPC( projectGroupId );
+    }
+
+    public Map<String, Object> updateProjectGroupRPC( Map<String, Object> projectGroup
)
+        throws Exception
+    {
+        return continuum.updateProjectGroupRPC( projectGroup );
+    }
+
+    public Map<String, Object> getProjectSummaryRPC( int projectId )
+        throws Exception
+    {
+        return continuum.getProjectSummaryRPC( projectId );
+    }
+
+    public Map<String, Object> getProjectWithAllDetailsRPC( int projectId )
+        throws Exception
+    {
+        return continuum.getProjectWithAllDetailsRPC( projectId );
+    }
+
+    public List<Object> getProjectsRPC( int projectGroupId )
+        throws Exception
+    {
+        return continuum.getProjectsRPC( projectGroupId );
+    }
+
+    public Map<String, Object> getScheduleRPC( int scheduleId )
+        throws Exception
+    {
+        return continuum.getScheduleRPC( scheduleId );
+    }
+
+    public List<Object> getSchedulesRPC()
+        throws Exception
+    {
+        return continuum.getSchedulesRPC();
+    }
+
+    public Map<String, Object> getSystemConfigurationRPC()
+        throws Exception
+    {
+        return continuum.getSystemConfigurationRPC();
+    }
+
+    public int removeBuildResultRPC( Map<String, Object> br )
+        throws Exception
+    {
+        return continuum.removeBuildResultRPC( br );
+    }
+
+    public Map<String, Object> updateBuildDefinitionForProjectGroupRPC( int projectGroupId,
+                                                                        Map<String, Object>
buildDef )
+        throws Exception
+    {
+        return continuum.updateBuildDefinitionForProjectGroupRPC( projectGroupId, buildDef
);
+    }
+
+    public Map<String, Object> updateBuildDefinitionForProjectRPC( int projectId,
+                                                                   Map<String, Object>
buildDef )
+        throws Exception
+    {
+        return continuum.updateBuildDefinitionForProjectRPC( projectId, buildDef );
+    }
+
+    public Map<String, Object> updateProjectRPC( Map<String, Object> project
)
+        throws Exception
+    {
+        return continuum.updateProjectRPC( project );
+    }
+
+    public Map<String, Object> updateScheduleRPC( Map<String, Object> schedule
)
+        throws Exception
+    {
+        return continuum.updateScheduleRPC( schedule );
+    }
+
+    public ProjectGroup getProjectGroup( int projectGroupId )
+        throws Exception
+    {
+        return continuum.getProjectGroup( projectGroupId );
+    }
+
+    public Map<String, Object> getProjectGroupRPC( int projectGroupId )
+        throws Exception
+    {
+        return continuum.getProjectGroupRPC( projectGroupId );
+    }
+
+    public ProjectNotifier getGroupNotifier( int projectgroupid, int notifierId )
+        throws Exception
+    {
+        return continuum.getGroupNotifier( projectgroupid, notifierId );
+    }
+
+    public Map<String, Object> getGroupNotifierRPC( int projectgroupid, int notifierId
)
+        throws Exception
+    {
+        return continuum.getGroupNotifierRPC( projectgroupid, notifierId );
+    }
+
+    public ProjectNotifier getNotifier( int projectid, int notifierId )
+        throws Exception
+    {
+        return continuum.getNotifier( projectid, notifierId );
+    }
+
+    public Map<String, Object> getNotifierRPC( int projectid, int notifierId )
+        throws Exception
+    {
+        return continuum.getNotifierRPC( projectid, notifierId );
+    }
+
+    public ProjectNotifier updateGroupNotifier( int projectgroupid, ProjectNotifier newNotifier
)
+        throws Exception
+    {
+        return continuum.updateGroupNotifier( projectgroupid, newNotifier );
+    }
+
+    public Map<String, Object> updateGroupNotifierRPC( int projectgroupid,
+                                                       Map<String, Object> newNotifier
)
+        throws Exception
+    {
+        return continuum.updateGroupNotifierRPC( projectgroupid, newNotifier );
+    }
+
+    public ProjectNotifier updateNotifier( int projectid, ProjectNotifier newNotifier )
+        throws Exception
+    {
+        return continuum.updateNotifier( projectid, newNotifier );
+    }
+
+    public Map<String, Object> updateNotifierRPC( int projectid, Map<String, Object>
newNotifier )
+        throws Exception
+    {
+        return continuum.updateNotifierRPC( projectid, newNotifier );
+    }
+
+    public int removeGroupNotifier( int projectgroupid, int notifierId )
+        throws Exception
+    {
+        return continuum.removeGroupNotifier( projectgroupid, notifierId );
+    }
+
+    public int removeNotifier( int projectid, int notifierId )
+        throws Exception
+    {
+        return continuum.removeNotifier( projectid, notifierId );
+    }
+
+    public ProjectNotifier addGroupNotifier( int projectgroupid, ProjectNotifier newNotifier
)
+        throws Exception
+    {
+        return continuum.addGroupNotifier( projectgroupid, newNotifier );
+    }
+
+    public Map<String, Object> addGroupNotifierRPC( int projectgroupid,
+                                                    Map<String, Object> newNotifier
)
+        throws Exception
+    {
+        return continuum.addGroupNotifierRPC( projectgroupid, newNotifier );
+    }
+
+    public ProjectNotifier addNotifier( int projectid, ProjectNotifier newNotifier )
+        throws Exception
+    {
+        return continuum.addNotifier( projectid, newNotifier );
+    }
+
+    public Map<String, Object> addNotifierRPC( int projectid, Map<String, Object>
newNotifier )
+        throws Exception
+    {
+        return continuum.addNotifierRPC( projectid, newNotifier );
+    }
+
+    public Installation addInstallation( Installation installation )
+        throws Exception
+    {
+        return continuum.addInstallation( installation );
+    }
+
+    public Map<String, Object> addInstallationRPC( Map<String, Object> installation
)
+        throws Exception
+    {
+        return continuum.addInstallationRPC( installation );
+    }
+
+    public Profile addProfile( Profile profile )
+        throws Exception
+    {
+        return continuum.addProfile( profile );
+    }
+
+    public Map<String, Object> addProfileRPC( Map<String, Object> profile )
+        throws Exception
+    {
+        return continuum.addProfileRPC( profile );
+    }
+
+    public int deleteInstallation( int installationId )
+        throws Exception
+    {
+        return continuum.deleteInstallation( installationId );
+    }
+
+    public int deleteProfile( int profileId )
+        throws Exception
+    {
+        return continuum.deleteProfile( profileId );
+    }
+
+    public int updateInstallation( Installation installation )
+        throws Exception
+    {
+        return continuum.updateInstallation( installation );
+    }
+
+    public int updateInstallationRPC( Map<String, Object> installation )
+        throws Exception
+    {
+        return continuum.updateInstallationRPC( installation );
+    }
+
+    public int updateProfile( Profile profile )
+        throws Exception
+    {
+        return continuum.updateProfile( profile );
+    }
+
+    public int updateProfileRPC( Map<String, Object> profile )
+        throws Exception
+    {
+        return continuum.updateProfileRPC( profile );
+    }
 }



Mime
View raw message