org.apache.continuum.dao
Class DistributedDirectoryPurgeConfigurationDaoImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.DistributedDirectoryPurgeConfigurationDaoImpl
All Implemented Interfaces:
DistributedDirectoryPurgeConfigurationDao

@Repository(value="distributedDirectoryPurgeConfigurationDao")
public class DistributedDirectoryPurgeConfigurationDaoImpl
extends AbstractDao
implements DistributedDirectoryPurgeConfigurationDao

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

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
DistributedDirectoryPurgeConfigurationDaoImpl()
           
 
Method Summary
 DistributedDirectoryPurgeConfiguration addDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
          Adds a new DistributedDirectoryPurgeConfiguration instance.
 List<DistributedDirectoryPurgeConfiguration> getAllDistributedDirectoryPurgeConfigurations()
          Retrieve all DistributedDirectoryPurgeConfiguration instances.
 DistributedDirectoryPurgeConfiguration getDistributedDirectoryPurgeConfiguration(int configurationId)
          Retrieve the DistributedDirectoryPurgeConfiguration instance associated with the input id.
 List<DistributedDirectoryPurgeConfiguration> getDistributedDirectoryPurgeConfigurationsBySchedule(int scheduleId)
          Retrieve all DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId.
 List<DistributedDirectoryPurgeConfiguration> getDistributedDirectoryPurgeConfigurationsByType(String type)
          Retrieve all DistributedDirectoryPurgeConfiguration instances having the specified directory type.
 List<DistributedDirectoryPurgeConfiguration> getEnableDistributedDirectoryPurgeConfigurationsBySchedule(int scheduleId)
          Retrieve all enabled DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId.
 void removeDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
          Removes the DistributedDirectoryPurgeConfiguration instance.
 void updateDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
          Updates the DistributedDirectoryPurgeConfiguration instance.
 
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

DistributedDirectoryPurgeConfigurationDaoImpl

public DistributedDirectoryPurgeConfigurationDaoImpl()
Method Detail

getAllDistributedDirectoryPurgeConfigurations

public List<DistributedDirectoryPurgeConfiguration> getAllDistributedDirectoryPurgeConfigurations()
Description copied from interface: DistributedDirectoryPurgeConfigurationDao
Retrieve all DistributedDirectoryPurgeConfiguration instances.

Specified by:
getAllDistributedDirectoryPurgeConfigurations in interface DistributedDirectoryPurgeConfigurationDao
Returns:
list of all DistributedDirectoryPurgeConfiguration instances

getDistributedDirectoryPurgeConfigurationsBySchedule

public List<DistributedDirectoryPurgeConfiguration> getDistributedDirectoryPurgeConfigurationsBySchedule(int scheduleId)
Description copied from interface: DistributedDirectoryPurgeConfigurationDao
Retrieve all DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId.

Specified by:
getDistributedDirectoryPurgeConfigurationsBySchedule in interface DistributedDirectoryPurgeConfigurationDao
Parameters:
scheduleId - schedule id
Returns:
list of all DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId

getEnableDistributedDirectoryPurgeConfigurationsBySchedule

public List<DistributedDirectoryPurgeConfiguration> getEnableDistributedDirectoryPurgeConfigurationsBySchedule(int scheduleId)
Description copied from interface: DistributedDirectoryPurgeConfigurationDao
Retrieve all enabled DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId.

Specified by:
getEnableDistributedDirectoryPurgeConfigurationsBySchedule in interface DistributedDirectoryPurgeConfigurationDao
Parameters:
scheduleId - schedule id
Returns:
list of all enabled DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId

getDistributedDirectoryPurgeConfigurationsByType

public List<DistributedDirectoryPurgeConfiguration> getDistributedDirectoryPurgeConfigurationsByType(String type)
Description copied from interface: DistributedDirectoryPurgeConfigurationDao
Retrieve all DistributedDirectoryPurgeConfiguration instances having the specified directory type.

Specified by:
getDistributedDirectoryPurgeConfigurationsByType in interface DistributedDirectoryPurgeConfigurationDao
Parameters:
type - directory type
Returns:
list of all DistributedDirectoryPurgeConfiguration instances having the specified directory type

getDistributedDirectoryPurgeConfiguration

public DistributedDirectoryPurgeConfiguration getDistributedDirectoryPurgeConfiguration(int configurationId)
                                                                                 throws ContinuumStoreException
Description copied from interface: DistributedDirectoryPurgeConfigurationDao
Retrieve the DistributedDirectoryPurgeConfiguration instance associated with the input id.

Specified by:
getDistributedDirectoryPurgeConfiguration in interface DistributedDirectoryPurgeConfigurationDao
Parameters:
configurationId - DistributedDirectoryPurgeConfiguration instance id
Returns:
DistributedDirectoryPurgeConfiguration instance
Throws:
ContinuumStoreException - if unable to retrieve an instance associated with the input id

addDistributedDirectoryPurgeConfiguration

public DistributedDirectoryPurgeConfiguration addDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
                                                                                 throws ContinuumStoreException
Description copied from interface: DistributedDirectoryPurgeConfigurationDao
Adds a new DistributedDirectoryPurgeConfiguration instance.

Specified by:
addDistributedDirectoryPurgeConfiguration in interface DistributedDirectoryPurgeConfigurationDao
Parameters:
purgeConfiguration - DistributedDirectoryPurgeConfiguration instance to be added
Returns:
DistributedDirectoryPurgeConfiguration instance that was added
Throws:
ContinuumStoreException - if unable to add the new instance

updateDistributedDirectoryPurgeConfiguration

public void updateDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
                                                  throws ContinuumStoreException
Description copied from interface: DistributedDirectoryPurgeConfigurationDao
Updates the DistributedDirectoryPurgeConfiguration instance.

Specified by:
updateDistributedDirectoryPurgeConfiguration in interface DistributedDirectoryPurgeConfigurationDao
Parameters:
purgeConfiguration - DistributedDirectoryPurgeConfiguration instance to be updated
Throws:
ContinuumStoreException - if unable to update the instance

removeDistributedDirectoryPurgeConfiguration

public void removeDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
                                                  throws ContinuumStoreException
Description copied from interface: DistributedDirectoryPurgeConfigurationDao
Removes the DistributedDirectoryPurgeConfiguration instance.

Specified by:
removeDistributedDirectoryPurgeConfiguration in interface DistributedDirectoryPurgeConfigurationDao
Parameters:
purgeConfiguration - DistributedDirectoryPurgeConfiguration instance to be removed
Throws:
ContinuumStoreException - if unable to remove the instance


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