org.apache.continuum.dao
Class DirectoryPurgeConfigurationDaoImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.DirectoryPurgeConfigurationDaoImpl
All Implemented Interfaces:
DirectoryPurgeConfigurationDao

@Repository(value="directoryPurgeConfigurationDao")
public class DirectoryPurgeConfigurationDaoImpl
extends AbstractDao
implements DirectoryPurgeConfigurationDao

Version:
$Id: DirectoryPurgeConfigurationDaoImpl.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
DirectoryPurgeConfigurationDaoImpl()
           
 
Method Summary
 DirectoryPurgeConfiguration addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration purgeConfiguration)
           
 List<DirectoryPurgeConfiguration> getAllDirectoryPurgeConfigurations()
           
 DirectoryPurgeConfiguration getDirectoryPurgeConfiguration(int configurationId)
           
 List<DirectoryPurgeConfiguration> getDirectoryPurgeConfigurationsByLocation(String location)
           
 List<DirectoryPurgeConfiguration> getDirectoryPurgeConfigurationsBySchedule(int scheduleId)
           
 List<DirectoryPurgeConfiguration> getDirectoryPurgeConfigurationsByType(String type)
           
 List<DirectoryPurgeConfiguration> getEnableDirectoryPurgeConfigurationsBySchedule(int scheduleId)
           
 void removeDirectoryPurgeConfiguration(DirectoryPurgeConfiguration purgeConfiguration)
           
 void updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration 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

DirectoryPurgeConfigurationDaoImpl

public DirectoryPurgeConfigurationDaoImpl()
Method Detail

getAllDirectoryPurgeConfigurations

public List<DirectoryPurgeConfiguration> getAllDirectoryPurgeConfigurations()
Specified by:
getAllDirectoryPurgeConfigurations in interface DirectoryPurgeConfigurationDao

getDirectoryPurgeConfigurationsBySchedule

public List<DirectoryPurgeConfiguration> getDirectoryPurgeConfigurationsBySchedule(int scheduleId)
Specified by:
getDirectoryPurgeConfigurationsBySchedule in interface DirectoryPurgeConfigurationDao

getEnableDirectoryPurgeConfigurationsBySchedule

public List<DirectoryPurgeConfiguration> getEnableDirectoryPurgeConfigurationsBySchedule(int scheduleId)
Specified by:
getEnableDirectoryPurgeConfigurationsBySchedule in interface DirectoryPurgeConfigurationDao

getDirectoryPurgeConfigurationsByLocation

public List<DirectoryPurgeConfiguration> getDirectoryPurgeConfigurationsByLocation(String location)
Specified by:
getDirectoryPurgeConfigurationsByLocation in interface DirectoryPurgeConfigurationDao

getDirectoryPurgeConfigurationsByType

public List<DirectoryPurgeConfiguration> getDirectoryPurgeConfigurationsByType(String type)
Specified by:
getDirectoryPurgeConfigurationsByType in interface DirectoryPurgeConfigurationDao

getDirectoryPurgeConfiguration

public DirectoryPurgeConfiguration getDirectoryPurgeConfiguration(int configurationId)
                                                           throws ContinuumStoreException
Specified by:
getDirectoryPurgeConfiguration in interface DirectoryPurgeConfigurationDao
Throws:
ContinuumStoreException

addDirectoryPurgeConfiguration

public DirectoryPurgeConfiguration addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration purgeConfiguration)
                                                           throws ContinuumStoreException
Specified by:
addDirectoryPurgeConfiguration in interface DirectoryPurgeConfigurationDao
Throws:
ContinuumStoreException

updateDirectoryPurgeConfiguration

public void updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration purgeConfiguration)
                                       throws ContinuumStoreException
Specified by:
updateDirectoryPurgeConfiguration in interface DirectoryPurgeConfigurationDao
Throws:
ContinuumStoreException

removeDirectoryPurgeConfiguration

public void removeDirectoryPurgeConfiguration(DirectoryPurgeConfiguration purgeConfiguration)
                                       throws ContinuumStoreException
Specified by:
removeDirectoryPurgeConfiguration in interface DirectoryPurgeConfigurationDao
Throws:
ContinuumStoreException


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