org.jcrontab.data
Class CrontabEntryDAO

java.lang.Object
  extended byorg.jcrontab.data.CrontabEntryDAO

public class CrontabEntryDAO
extends Object

This DAO Gives all the methods necesary to build CrontabEntries This class is an abstraction to make esaier the integration of new DataSources that help to access CrontabEntries in new ways

Version:
$Revision: 1.18 $
Author:
$Author: iolalla $

Method Summary
 CrontabEntryBean find(CrontabEntryBean ceb)
          searches the CrontabEntryBean from the DataSource
 CrontabEntryBean[] findAll()
          Gets all the CrontabEntryBean from the DataSource
static CrontabEntryDAO getInstance()
          This method returns the singleton is very important to grant That only a Thread accesses at a time
 void remove(CrontabEntryBean[] list)
          removes CrontabEntryBean from the DataSource
 void store(CrontabEntryBean bean)
          stores CrontabEntryBean in the DataSource
 void store(CrontabEntryBean[] list)
          stores CrontabEntryBean in the DataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CrontabEntryDAO getInstance()
This method returns the singleton is very important to grant That only a Thread accesses at a time


findAll

public CrontabEntryBean[] findAll()
                           throws Exception
Gets all the CrontabEntryBean from the DataSource

Returns:
CrontabEntryBean[]
Throws:
Exception

find

public CrontabEntryBean find(CrontabEntryBean ceb)
                      throws Exception
searches the CrontabEntryBean from the DataSource

Returns:
CrontabEntryBean
Throws:
Exception

store

public void store(CrontabEntryBean[] list)
           throws Exception
stores CrontabEntryBean in the DataSource

Throws:
Exception

store

public void store(CrontabEntryBean bean)
           throws Exception
stores CrontabEntryBean in the DataSource

Throws:
Exception

remove

public void remove(CrontabEntryBean[] list)
            throws Exception
removes CrontabEntryBean from the DataSource

Throws:
Exception