org.apache.continuum.dao
Class BuildDefinitionTemplateDaoImpl
java.lang.Object
org.apache.continuum.dao.AbstractDao
org.apache.continuum.dao.BuildDefinitionTemplateDaoImpl
- All Implemented Interfaces:
- BuildDefinitionTemplateDao
@Repository(value="buildDefinitionTemplateDao")
public class BuildDefinitionTemplateDaoImpl
- extends AbstractDao
- implements BuildDefinitionTemplateDao
- Version:
- $Id: BuildDefinitionTemplateDaoImpl.java 1372260 2012-08-13 04:29:09Z brett $
- Author:
- Emmanuel Venisse
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 |
BuildDefinitionTemplateDaoImpl
public BuildDefinitionTemplateDaoImpl()
getAllBuildDefinitionTemplate
public List<BuildDefinitionTemplate> getAllBuildDefinitionTemplate()
throws ContinuumStoreException
- Specified by:
getAllBuildDefinitionTemplate
in interface BuildDefinitionTemplateDao
- Throws:
ContinuumStoreException
getContinuumBuildDefinitionTemplates
public List<BuildDefinitionTemplate> getContinuumBuildDefinitionTemplates()
throws ContinuumStoreException
- Specified by:
getContinuumBuildDefinitionTemplates
in interface BuildDefinitionTemplateDao
- Throws:
ContinuumStoreException
getBuildDefinitionTemplate
public BuildDefinitionTemplate getBuildDefinitionTemplate(int id)
throws ContinuumStoreException
- Specified by:
getBuildDefinitionTemplate
in interface BuildDefinitionTemplateDao
- Throws:
ContinuumStoreException
addBuildDefinitionTemplate
public BuildDefinitionTemplate addBuildDefinitionTemplate(BuildDefinitionTemplate buildDefinitionTemplate)
throws ContinuumStoreException
- Specified by:
addBuildDefinitionTemplate
in interface BuildDefinitionTemplateDao
- Throws:
ContinuumStoreException
updateBuildDefinitionTemplate
public BuildDefinitionTemplate updateBuildDefinitionTemplate(BuildDefinitionTemplate buildDefinitionTemplate)
throws ContinuumStoreException
- Specified by:
updateBuildDefinitionTemplate
in interface BuildDefinitionTemplateDao
- Throws:
ContinuumStoreException
removeBuildDefinitionTemplate
public void removeBuildDefinitionTemplate(BuildDefinitionTemplate buildDefinitionTemplate)
throws ContinuumStoreException
- Specified by:
removeBuildDefinitionTemplate
in interface BuildDefinitionTemplateDao
- Throws:
ContinuumStoreException
getBuildDefinitionTemplatesWithType
public List<BuildDefinitionTemplate> getBuildDefinitionTemplatesWithType(String type)
throws ContinuumStoreException
- Specified by:
getBuildDefinitionTemplatesWithType
in interface BuildDefinitionTemplateDao
- Throws:
ContinuumStoreException
getContinuumBuildDefinitionTemplateWithType
public BuildDefinitionTemplate getContinuumBuildDefinitionTemplateWithType(String type)
throws ContinuumStoreException
- Specified by:
getContinuumBuildDefinitionTemplateWithType
in interface BuildDefinitionTemplateDao
- Returns:
- BuildDefinitionTemplate null if not found
- Throws:
ContinuumStoreException
getContinuumDefaultdDefinitions
public List<BuildDefinitionTemplate> getContinuumDefaultdDefinitions()
throws ContinuumStoreException
- Description copied from interface:
BuildDefinitionTemplateDao
- the list returned will contains only continuumDefaults
BuildDefinition
- Specified by:
getContinuumDefaultdDefinitions
in interface BuildDefinitionTemplateDao
- Returns:
- List
- Throws:
ContinuumStoreException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.