You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ri...@apache.org on 2007/01/19 10:45:18 UTC

svn commit: r497758 - /maven/continuum/branches/id-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java

Author: rinku
Date: Fri Jan 19 01:45:17 2007
New Revision: 497758

URL: http://svn.apache.org/viewvc?view=rev&rev=497758
Log:
o  More ID updates to Store API and impl.

Modified:
    maven/continuum/branches/id-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java

Modified: maven/continuum/branches/id-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java?view=diff&rev=497758&r1=497757&r2=497758
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java (original)
+++ maven/continuum/branches/id-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java Fri Jan 19 01:45:17 2007
@@ -62,7 +62,7 @@
      * @throws ContinuumObjectNotFoundException
      *
      */
-    BuildDefinition getDefaultBuildDefinition( int projectId )
+    BuildDefinition getDefaultBuildDefinition( long projectId )
         throws ContinuumStoreException, ContinuumObjectNotFoundException;
 
     /**
@@ -74,7 +74,7 @@
      * @throws ContinuumObjectNotFoundException
      *
      */
-    BuildDefinition getDefaultBuildDefinitionForProject( int projectId )
+    BuildDefinition getDefaultBuildDefinitionForProject( long projectId )
         throws ContinuumStoreException, ContinuumObjectNotFoundException;
 
     /**
@@ -89,7 +89,7 @@
     BuildDefinition getDefaultBuildDefinitionForProjectGroup( long projectGroupId )
         throws ContinuumStoreException, ContinuumObjectNotFoundException;
 
-    BuildDefinition getBuildDefinition( int buildDefinitionId )
+    BuildDefinition getBuildDefinition( long buildDefinitionId )
         throws ContinuumStoreException, ContinuumObjectNotFoundException;
 
     void removeBuildDefinition( BuildDefinition buildDefinition )
@@ -103,7 +103,7 @@
     ProjectGroup getProjectGroup( long projectGroupId )
         throws ContinuumStoreException, ContinuumObjectNotFoundException;
 
-    public ProjectGroup getProjectGroupByProjectId( int projectId )
+    public ProjectGroup getProjectGroupByProjectId( long projectId )
         throws ContinuumObjectNotFoundException;
 
     void updateProjectGroup( ProjectGroup group )
@@ -117,7 +117,7 @@
 
     List getAllProjectsByNameWithDependencies();
 
-    public List getProjectsWithDependenciesByGroupId( int projectGroupId );
+    public List getProjectsWithDependenciesByGroupId( long projectGroupId );
 
     List getAllProjectsByNameWithBuildDetails();
 
@@ -150,13 +150,13 @@
     Project getProjectByName( String name )
         throws ContinuumStoreException;
 
-    Map getProjectIdsAndBuildDefinitionsIdsBySchedule( int scheduleId )
+    Map getProjectIdsAndBuildDefinitionsIdsBySchedule( long scheduleId )
         throws ContinuumStoreException;
 
-    Map getProjectGroupIdsAndBuildDefinitionsIdsBySchedule( int scheduleId )
+    Map getProjectGroupIdsAndBuildDefinitionsIdsBySchedule( long scheduleId )
         throws ContinuumStoreException;
 
-    public Map getAggregatedProjectIdsAndBuildDefinitionIdsBySchedule( int scheduleId )
+    public Map getAggregatedProjectIdsAndBuildDefinitionIdsBySchedule( long scheduleId )
         throws ContinuumStoreException;
 
     void updateProject( Project project )
@@ -188,7 +188,7 @@
     ProjectGroup getProjectGroupWithBuildDetails( long projectGroupId )
         throws ContinuumObjectNotFoundException, ContinuumStoreException;
 
-    List getProjectsInGroup( int projectGroupId )
+    List getProjectsInGroup( long projectGroupId )
         throws ContinuumObjectNotFoundException, ContinuumStoreException;
 
     ProjectGroup getProjectGroupWithProjects( long projectGroupId )
@@ -216,15 +216,15 @@
     ProjectGroup getProjectGroupByGroupIdWithProjects( String groupId )
         throws ContinuumStoreException, ContinuumObjectNotFoundException;
 
-    BuildResult getLatestBuildResultForProject( int projectId );
+    BuildResult getLatestBuildResultForProject( long projectId );
 
-    List getBuildResultsInSuccessForProject( int projectId, long fromDate );
+    List getBuildResultsInSuccessForProject( long projectId, long fromDate );
 
-    List getBuildResultsForProject( int projectId, long fromDate );
+    List getBuildResultsForProject( long projectId, long fromDate );
 
     Map getLatestBuildResults();
 
-    List getBuildResultByBuildNumber( int projectId, int buildNumber );
+    List getBuildResultByBuildNumber( long projectId, long buildNumber );
 
     Map getBuildResultsInSuccess();
 
@@ -234,7 +234,7 @@
     void updateBuildResult( BuildResult build )
         throws ContinuumStoreException;
 
-    Project getProjectWithBuildDetails( int projectId )
+    Project getProjectWithBuildDetails( long projectId )
         throws ContinuumObjectNotFoundException, ContinuumStoreException;
 
     SystemConfiguration addSystemConfiguration( SystemConfiguration systemConf );