org.apache.continuum.dao
Class ScheduleDaoImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.ScheduleDaoImpl
All Implemented Interfaces:
ScheduleDao

@Repository(value="scheduleDao")
public class ScheduleDaoImpl
extends AbstractDao
implements ScheduleDao

Version:
$Id: ScheduleDaoImpl.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
ScheduleDaoImpl()
           
 
Method Summary
 Schedule addSchedule(Schedule schedule)
           
 List<Schedule> getAllSchedulesByName()
           
 Schedule getSchedule(int scheduleId)
           
 Schedule getScheduleByName(String name)
           
 void removeSchedule(Schedule schedule)
           
 Schedule storeSchedule(Schedule schedule)
           
 void updateSchedule(Schedule schedule)
           
 
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

ScheduleDaoImpl

public ScheduleDaoImpl()
Method Detail

getAllSchedulesByName

public List<Schedule> getAllSchedulesByName()
Specified by:
getAllSchedulesByName in interface ScheduleDao

addSchedule

public Schedule addSchedule(Schedule schedule)
Specified by:
addSchedule in interface ScheduleDao

getScheduleByName

public Schedule getScheduleByName(String name)
                           throws ContinuumStoreException
Specified by:
getScheduleByName in interface ScheduleDao
Throws:
ContinuumStoreException

storeSchedule

public Schedule storeSchedule(Schedule schedule)
                       throws ContinuumStoreException
Specified by:
storeSchedule in interface ScheduleDao
Throws:
ContinuumStoreException

updateSchedule

public void updateSchedule(Schedule schedule)
                    throws ContinuumStoreException
Specified by:
updateSchedule in interface ScheduleDao
Throws:
ContinuumStoreException

removeSchedule

public void removeSchedule(Schedule schedule)
Specified by:
removeSchedule in interface ScheduleDao

getSchedule

public Schedule getSchedule(int scheduleId)
                     throws ContinuumStoreException
Specified by:
getSchedule in interface ScheduleDao
Throws:
ContinuumStoreException


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