org.apache.continuum.dao
Class DaoUtilsImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.DaoUtilsImpl
All Implemented Interfaces:
DaoUtils

@Repository(value="daoUtils")
public class DaoUtilsImpl
extends AbstractDao
implements DaoUtils

Version:
$Id: DaoUtilsImpl.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Emmanuel Venisse

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
DaoUtilsImpl()
           
 
Method Summary
 void closeStore()
           
 void eraseDatabase()
           
 Map<Integer,Object> getAggregatedProjectIdsAndBuildDefinitionIdsBySchedule(int scheduleId)
          get the combined list of projectId and build definitions, including the ones inherited by their project group
 Map<Integer,Object> getProjectGroupIdsAndBuildDefinitionsIdsBySchedule(int scheduleId)
           
 Map<Integer,Object> getProjectIdsAndBuildDefinitionsIdsBySchedule(int scheduleId)
           
 
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

DaoUtilsImpl

public DaoUtilsImpl()
Method Detail

closeStore

public void closeStore()
Specified by:
closeStore in interface DaoUtils

eraseDatabase

public void eraseDatabase()
Specified by:
eraseDatabase in interface DaoUtils

getAggregatedProjectIdsAndBuildDefinitionIdsBySchedule

public Map<Integer,Object> getAggregatedProjectIdsAndBuildDefinitionIdsBySchedule(int scheduleId)
                                                                           throws ContinuumStoreException
get the combined list of projectId and build definitions, including the ones inherited by their project group

Specified by:
getAggregatedProjectIdsAndBuildDefinitionIdsBySchedule in interface DaoUtils
Parameters:
scheduleId -
Returns:
Throws:
ContinuumStoreException

getProjectIdsAndBuildDefinitionsIdsBySchedule

public Map<Integer,Object> getProjectIdsAndBuildDefinitionsIdsBySchedule(int scheduleId)
                                                                  throws ContinuumStoreException
Specified by:
getProjectIdsAndBuildDefinitionsIdsBySchedule in interface DaoUtils
Parameters:
scheduleId -
Returns:
Throws:
ContinuumStoreException

getProjectGroupIdsAndBuildDefinitionsIdsBySchedule

public Map<Integer,Object> getProjectGroupIdsAndBuildDefinitionsIdsBySchedule(int scheduleId)
                                                                       throws ContinuumStoreException
Specified by:
getProjectGroupIdsAndBuildDefinitionsIdsBySchedule in interface DaoUtils
Parameters:
scheduleId -
Returns:
Throws:
ContinuumStoreException


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