org.apache.continuum.dao
Class BuildQueueDaoImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.BuildQueueDaoImpl
All Implemented Interfaces:
BuildQueueDao

@Repository(value="buildQueueDao")
public class BuildQueueDaoImpl
extends AbstractDao
implements BuildQueueDao

Author:
Maria Odea Ching

Field Summary
 
Fields inherited from class org.apache.continuum.dao.AbstractDao
BUILD_RESULT_WITH_DETAILS_FETCH_GROUP, BUILD_TEMPLATE_BUILD_DEFINITIONS, PROJECT_ALL_DETAILS_FETCH_GROUP, PROJECT_BUILD_DETAILS_FETCH_GROUP, PROJECT_DEPENDENCIES_FETCH_GROUP, PROJECT_WITH_BUILDS_FETCH_GROUP, PROJECT_WITH_CHECKOUT_RESULT_FETCH_GROUP, PROJECTGROUP_PROJECTS_FETCH_GROUP
 
Constructor Summary
BuildQueueDaoImpl()
           
 
Method Summary
 BuildQueue addBuildQueue(BuildQueue buildQueue)
           
 List<BuildQueue> getAllBuildQueues()
           
 BuildQueue getBuildQueue(int buildQueueId)
           
 BuildQueue getBuildQueueByName(String name)
           
 void removeBuildQueue(BuildQueue buildQueue)
           
 BuildQueue storeBuildQueue(BuildQueue buildQueue)
           
 
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

BuildQueueDaoImpl

public BuildQueueDaoImpl()
Method Detail

addBuildQueue

public BuildQueue addBuildQueue(BuildQueue buildQueue)
                         throws ContinuumStoreException
Specified by:
addBuildQueue in interface BuildQueueDao
Throws:
ContinuumStoreException

getAllBuildQueues

public List<BuildQueue> getAllBuildQueues()
                                   throws ContinuumStoreException
Specified by:
getAllBuildQueues in interface BuildQueueDao
Throws:
ContinuumStoreException

getBuildQueue

public BuildQueue getBuildQueue(int buildQueueId)
                         throws ContinuumStoreException
Specified by:
getBuildQueue in interface BuildQueueDao
Throws:
ContinuumStoreException

getBuildQueueByName

public BuildQueue getBuildQueueByName(String name)
                               throws ContinuumStoreException
Specified by:
getBuildQueueByName in interface BuildQueueDao
Throws:
ContinuumStoreException

removeBuildQueue

public void removeBuildQueue(BuildQueue buildQueue)
                      throws ContinuumStoreException
Specified by:
removeBuildQueue in interface BuildQueueDao
Throws:
ContinuumStoreException

storeBuildQueue

public BuildQueue storeBuildQueue(BuildQueue buildQueue)
                           throws ContinuumStoreException
Specified by:
storeBuildQueue in interface BuildQueueDao
Throws:
ContinuumStoreException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.