org.apache.continuum.dao
Interface DistributedDirectoryPurgeConfigurationDao

All Known Implementing Classes:
DistributedDirectoryPurgeConfigurationDaoImpl

public interface DistributedDirectoryPurgeConfigurationDao

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

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.
 

Method Detail

getAllDistributedDirectoryPurgeConfigurations

List<DistributedDirectoryPurgeConfiguration> getAllDistributedDirectoryPurgeConfigurations()
Retrieve all DistributedDirectoryPurgeConfiguration instances.

Returns:
list of all DistributedDirectoryPurgeConfiguration instances

getDistributedDirectoryPurgeConfigurationsBySchedule

List<DistributedDirectoryPurgeConfiguration> getDistributedDirectoryPurgeConfigurationsBySchedule(int scheduleId)
Retrieve all DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId.

Parameters:
scheduleId - schedule id
Returns:
list of all DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId

getEnableDistributedDirectoryPurgeConfigurationsBySchedule

List<DistributedDirectoryPurgeConfiguration> getEnableDistributedDirectoryPurgeConfigurationsBySchedule(int scheduleId)
Retrieve all enabled DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId.

Parameters:
scheduleId - schedule id
Returns:
list of all enabled DistributedDirectoryPurgeConfiguration instances associated with the input scheduleId

getDistributedDirectoryPurgeConfigurationsByType

List<DistributedDirectoryPurgeConfiguration> getDistributedDirectoryPurgeConfigurationsByType(String type)
Retrieve all DistributedDirectoryPurgeConfiguration instances having the specified directory type.

Parameters:
type - directory type
Returns:
list of all DistributedDirectoryPurgeConfiguration instances having the specified directory type

getDistributedDirectoryPurgeConfiguration

DistributedDirectoryPurgeConfiguration getDistributedDirectoryPurgeConfiguration(int configurationId)
                                                                                 throws ContinuumStoreException
Retrieve the DistributedDirectoryPurgeConfiguration instance associated with the input id.

Parameters:
configurationId - DistributedDirectoryPurgeConfiguration instance id
Returns:
DistributedDirectoryPurgeConfiguration instance
Throws:
ContinuumStoreException - if unable to retrieve an instance associated with the input id

addDistributedDirectoryPurgeConfiguration

DistributedDirectoryPurgeConfiguration addDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
                                                                                 throws ContinuumStoreException
Adds a new DistributedDirectoryPurgeConfiguration instance.

Parameters:
purgeConfiguration - DistributedDirectoryPurgeConfiguration instance to be added
Returns:
DistributedDirectoryPurgeConfiguration instance that was added
Throws:
ContinuumStoreException - if unable to add the new instance

updateDistributedDirectoryPurgeConfiguration

void updateDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
                                                  throws ContinuumStoreException
Updates the DistributedDirectoryPurgeConfiguration instance.

Parameters:
purgeConfiguration - DistributedDirectoryPurgeConfiguration instance to be updated
Throws:
ContinuumStoreException - if unable to update the instance

removeDistributedDirectoryPurgeConfiguration

void removeDistributedDirectoryPurgeConfiguration(DistributedDirectoryPurgeConfiguration purgeConfiguration)
                                                  throws ContinuumStoreException
Removes the DistributedDirectoryPurgeConfiguration instance.

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.