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 2006/12/29 00:01:29 UTC
svn commit: r490864 -
/maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java
Author: rinku
Date: Thu Dec 28 15:01:29 2006
New Revision: 490864
URL: http://svn.apache.org/viewvc?view=rev&rev=490864
Log:
o updated current ContinuumStore to use 'long' ids, as model is updated.
Modified:
maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java
Modified: maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java?view=diff&rev=490864&r1=490863&r2=490864
==============================================================================
--- maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java (original)
+++ maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/store/ContinuumStore.java Thu Dec 28 15:01:29 2006
@@ -97,7 +97,7 @@
BuildDefinition getDefaultBuildDefinitionForProjectGroup( GroupProjectKey groupProjectKey )
throws ContinuumStoreException, ContinuumObjectNotFoundException;
- BuildDefinition getBuildDefinition( int buildDefinitionId )
+ BuildDefinition getBuildDefinition( long buildDefinitionId )
throws ContinuumStoreException, ContinuumObjectNotFoundException;
void removeBuildDefinition( BuildDefinition buildDefinition )
@@ -215,13 +215,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 )
@@ -264,7 +264,7 @@
Project getProjectWithCheckoutResult( GroupProjectKey groupProjectKey )
throws ContinuumObjectNotFoundException, ContinuumStoreException;
- BuildResult getBuildResult( int buildId )
+ BuildResult getBuildResult( long buildId )
throws ContinuumObjectNotFoundException, ContinuumStoreException;
void removeProject( Project project );
@@ -334,10 +334,10 @@
Project getProjectWithAllDetails( GroupProjectKey groupProjectKey )
throws ContinuumObjectNotFoundException, ContinuumStoreException;
- Schedule getSchedule( int scheduleId )
+ Schedule getSchedule( long scheduleId )
throws ContinuumObjectNotFoundException, ContinuumStoreException;
- Profile getProfile( int profileId )
+ Profile getProfile( long profileId )
throws ContinuumObjectNotFoundException, ContinuumStoreException;
/**
@@ -442,7 +442,7 @@
* @return List of all the {@link BuildResult} instances for the specified
* project and a build number.
*/
- List getBuildResultByBuildNumber( GroupProjectKey groupProjectKey, int buildNumber );
+ List getBuildResultByBuildNumber( GroupProjectKey groupProjectKey, long buildNumber );
Map getBuildResultsInSuccess();