org.jcrontab.data
Class CrontabEntryDAO

java.lang.Object
  |
  +--org.jcrontab.data.CrontabEntryDAO

public class CrontabEntryDAO
extends java.lang.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.16 $
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 java.lang.Exception
Gets all the CrontabEntryBean from the DataSource

Returns:
CrontabEntryBean[]
Throws:
java.lang.Exception

find

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

Returns:
CrontabEntryBean
Throws:
java.lang.Exception

store

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

Throws:
java.lang.Exception

store

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

Throws:
java.lang.Exception

remove

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

Throws:
java.lang.Exception