org.apache.continuum.dao
Class RepositoryPurgeConfigurationDaoImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.RepositoryPurgeConfigurationDaoImpl
All Implemented Interfaces:
RepositoryPurgeConfigurationDao

@Repository(value="repositoryPurgeConfigurationDao")
public class RepositoryPurgeConfigurationDaoImpl
extends AbstractDao
implements RepositoryPurgeConfigurationDao

Version:
$Id: RepositoryPurgeConfigurationDaoImpl.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
RepositoryPurgeConfigurationDaoImpl()
           
 
Method Summary
 RepositoryPurgeConfiguration addRepositoryPurgeConfiguration(RepositoryPurgeConfiguration purgeConfiguration)
           
 List<RepositoryPurgeConfiguration> getAllRepositoryPurgeConfigurations()
           
 List<RepositoryPurgeConfiguration> getEnableRepositoryPurgeConfigurationsBySchedule(int scheduleId)
           
 RepositoryPurgeConfiguration getRepositoryPurgeConfiguration(int configurationId)
           
 List<RepositoryPurgeConfiguration> getRepositoryPurgeConfigurationsByLocalRepository(int repositoryId)
           
 List<RepositoryPurgeConfiguration> getRepositoryPurgeConfigurationsBySchedule(int scheduleId)
           
 void removeRepositoryPurgeConfiguration(RepositoryPurgeConfiguration purgeConfiguration)
           
 void updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration purgeConfiguration)
           
 
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

RepositoryPurgeConfigurationDaoImpl

public RepositoryPurgeConfigurationDaoImpl()
Method Detail

getAllRepositoryPurgeConfigurations

public List<RepositoryPurgeConfiguration> getAllRepositoryPurgeConfigurations()
Specified by:
getAllRepositoryPurgeConfigurations in interface RepositoryPurgeConfigurationDao

getRepositoryPurgeConfigurationsBySchedule

public List<RepositoryPurgeConfiguration> getRepositoryPurgeConfigurationsBySchedule(int scheduleId)
Specified by:
getRepositoryPurgeConfigurationsBySchedule in interface RepositoryPurgeConfigurationDao

getEnableRepositoryPurgeConfigurationsBySchedule

public List<RepositoryPurgeConfiguration> getEnableRepositoryPurgeConfigurationsBySchedule(int scheduleId)
Specified by:
getEnableRepositoryPurgeConfigurationsBySchedule in interface RepositoryPurgeConfigurationDao

getRepositoryPurgeConfigurationsByLocalRepository

public List<RepositoryPurgeConfiguration> getRepositoryPurgeConfigurationsByLocalRepository(int repositoryId)
Specified by:
getRepositoryPurgeConfigurationsByLocalRepository in interface RepositoryPurgeConfigurationDao

getRepositoryPurgeConfiguration

public RepositoryPurgeConfiguration getRepositoryPurgeConfiguration(int configurationId)
                                                             throws ContinuumStoreException
Specified by:
getRepositoryPurgeConfiguration in interface RepositoryPurgeConfigurationDao
Throws:
ContinuumStoreException

addRepositoryPurgeConfiguration

public RepositoryPurgeConfiguration addRepositoryPurgeConfiguration(RepositoryPurgeConfiguration purgeConfiguration)
                                                             throws ContinuumStoreException
Specified by:
addRepositoryPurgeConfiguration in interface RepositoryPurgeConfigurationDao
Throws:
ContinuumStoreException

updateRepositoryPurgeConfiguration

public void updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration purgeConfiguration)
                                        throws ContinuumStoreException
Specified by:
updateRepositoryPurgeConfiguration in interface RepositoryPurgeConfigurationDao
Throws:
ContinuumStoreException

removeRepositoryPurgeConfiguration

public void removeRepositoryPurgeConfiguration(RepositoryPurgeConfiguration purgeConfiguration)
                                        throws ContinuumStoreException
Specified by:
removeRepositoryPurgeConfiguration in interface RepositoryPurgeConfigurationDao
Throws:
ContinuumStoreException


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