|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.continuum.dao.AbstractDao
org.apache.continuum.dao.BuildDefinitionDaoImpl
@Repository(value="buildDefinitionDao") public class BuildDefinitionDaoImpl
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
BuildDefinitionDaoImpl()
|
|
| Method Summary | |
|---|---|
BuildDefinition |
addBuildDefinition(BuildDefinition buildDefinition)
|
List<BuildDefinition> |
getAllBuildDefinitions()
|
List<BuildDefinition> |
getAllTemplates()
|
BuildDefinition |
getBuildDefinition(int buildDefinitionId)
|
List<BuildDefinition> |
getBuildDefinitionsBySchedule(int scheduleId)
|
BuildDefinition |
getDefaultBuildDefinition(int projectId)
returns the default build definition of the project, if the project doesn't have on declared the default of the project group will be returned this should be the most common usage of the default build definition accessing methods |
BuildDefinition |
getDefaultBuildDefinitionForProject(int projectId)
returns the default build definition of the project, if the project doesn't have on declared the default of the project group will be returned this should be the most common usage of the default build definition accessing methods |
BuildDefinition |
getDefaultBuildDefinitionForProject(Project project)
returns the default build definition for the project without consulting the project group |
Map<Integer,Integer> |
getDefaultBuildDefinitions()
Returns the default build definition of all projects. |
List<BuildDefinition> |
getDefaultBuildDefinitionsForProjectGroup(int projectGroupId)
returns the default build definitions for the project group and there should always be at least one declared. |
List<BuildDefinition> |
getDefaultBuildDefinitionsForProjectGroup(ProjectGroup projectGroup)
returns the default build definitions for the project group and there should always be at least one declared. |
void |
removeBuildDefinition(BuildDefinition buildDefinition)
|
BuildDefinition |
storeBuildDefinition(BuildDefinition buildDefinition)
|
| Methods inherited from class org.apache.continuum.dao.AbstractDao |
|---|
addObject, attachAndDelete, getAllObjectsDetached, getAllObjectsDetached, getAllObjectsDetached, getAllObjectsDetached, getContinuumPersistenceManagerFactory, getObjectById, getObjectById, getObjectFromQuery, getPersistenceManager, makePersistent, removeObject, rollback, updateObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildDefinitionDaoImpl()
| Method Detail |
|---|
public BuildDefinition getBuildDefinition(int buildDefinitionId)
throws ContinuumStoreException
getBuildDefinition in interface BuildDefinitionDaoContinuumStoreException
public void removeBuildDefinition(BuildDefinition buildDefinition)
throws ContinuumStoreException
removeBuildDefinition in interface BuildDefinitionDaoContinuumStoreException
public BuildDefinition storeBuildDefinition(BuildDefinition buildDefinition)
throws ContinuumStoreException
storeBuildDefinition in interface BuildDefinitionDaoContinuumStoreException
public BuildDefinition addBuildDefinition(BuildDefinition buildDefinition)
throws ContinuumStoreException
addBuildDefinition in interface BuildDefinitionDaoContinuumStoreException
public List<BuildDefinition> getAllBuildDefinitions()
throws ContinuumStoreException
getAllBuildDefinitions in interface BuildDefinitionDaoContinuumStoreExceptionpublic Map<Integer,Integer> getDefaultBuildDefinitions()
BuildDefinitionDao
getDefaultBuildDefinitions in interface BuildDefinitionDao
public List<BuildDefinition> getDefaultBuildDefinitionsForProjectGroup(int projectGroupId)
throws ContinuumStoreException
BuildDefinitionDao
getDefaultBuildDefinitionsForProjectGroup in interface BuildDefinitionDaoprojectGroupId - The project group id
ContinuumStoreException - if the build definitions list can't be obtain
public List<BuildDefinition> getDefaultBuildDefinitionsForProjectGroup(ProjectGroup projectGroup)
throws ContinuumStoreException
BuildDefinitionDao
getDefaultBuildDefinitionsForProjectGroup in interface BuildDefinitionDaoprojectGroup - The project group
ContinuumStoreException - if the build definitions list can't be obtain
public BuildDefinition getDefaultBuildDefinitionForProject(int projectId)
throws ContinuumStoreException
BuildDefinitionDao
getDefaultBuildDefinitionForProject in interface BuildDefinitionDaoContinuumStoreException
ContinuumObjectNotFoundException
public BuildDefinition getDefaultBuildDefinitionForProject(Project project)
throws ContinuumStoreException
BuildDefinitionDao
getDefaultBuildDefinitionForProject in interface BuildDefinitionDaoContinuumStoreException
ContinuumObjectNotFoundException
public BuildDefinition getDefaultBuildDefinition(int projectId)
throws ContinuumStoreException
BuildDefinitionDao
getDefaultBuildDefinition in interface BuildDefinitionDaoContinuumStoreException
ContinuumObjectNotFoundException
public List<BuildDefinition> getAllTemplates()
throws ContinuumStoreException
getAllTemplates in interface BuildDefinitionDaoContinuumStoreExceptionpublic List<BuildDefinition> getBuildDefinitionsBySchedule(int scheduleId)
getBuildDefinitionsBySchedule in interface BuildDefinitionDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||