com.uwyn.rife.scheduler.taskoptionmanagers
Class DatabaseTaskoptions

java.lang.Object
  extended by com.uwyn.rife.database.DbQueryManager
      extended by com.uwyn.rife.scheduler.taskoptionmanagers.DatabaseTaskoptions
All Implemented Interfaces:
TaskoptionManager, Cloneable

public abstract class DatabaseTaskoptions
extends DbQueryManager
implements TaskoptionManager


Nested Class Summary
protected  class DatabaseTaskoptions.ProcessTaskoption
           
 
Constructor Summary
protected DatabaseTaskoptions(Datasource datasource)
           
 
Method Summary
protected  boolean _addTaskoption(Insert addTaskoption, DbPreparedStatementHandler handler, Taskoption taskoption)
           
protected  Taskoption _getTaskoption(Select getTaskoption, DatabaseTaskoptions.ProcessTaskoption processTaskoption, int taskId, String name)
           
protected  Collection<Taskoption> _getTaskoptions(Select getTaskoptions, DatabaseTaskoptions.ProcessTaskoption processTaskoption, int taskId)
           
protected  boolean _install(CreateTable createTableTaskoption)
           
protected  boolean _remove(DropTable dropTableTaskoption)
           
protected  boolean _removeTaskoption(Delete removeTaskoption, int taskId, String name)
           
protected  boolean _removeTaskoption(Delete removeTaskoption, Taskoption taskoption)
           
protected  boolean _updateTaskoption(Update updateTaskoption, DbPreparedStatementHandler handler, Taskoption taskoption)
           
 Scheduler getScheduler()
           
abstract  boolean install()
           
abstract  boolean remove()
           
 void setScheduler(Scheduler scheduler)
           
 
Methods inherited from class com.uwyn.rife.database.DbQueryManager
clone, executeFetchAll, executeFetchAll, executeFetchAllBeans, executeFetchAllBeans, executeFetchFirst, executeFetchFirst, executeFetchFirstBean, executeFetchFirstBean, executeGetFirstBoolean, executeGetFirstBoolean, executeGetFirstByte, executeGetFirstByte, executeGetFirstBytes, executeGetFirstBytes, executeGetFirstDate, executeGetFirstDate, executeGetFirstDate, executeGetFirstDate, executeGetFirstDouble, executeGetFirstDouble, executeGetFirstFloat, executeGetFirstFloat, executeGetFirstInt, executeGetFirstInt, executeGetFirstLong, executeGetFirstLong, executeGetFirstShort, executeGetFirstShort, executeGetFirstString, executeGetFirstString, executeGetFirstTime, executeGetFirstTime, executeGetFirstTime, executeGetFirstTime, executeGetFirstTimestamp, executeGetFirstTimestamp, executeGetFirstTimestamp, executeGetFirstTimestamp, executeHasResultRows, executeHasResultRows, executeQuery, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUseFirstAsciiStream, executeUseFirstAsciiStream, executeUseFirstBinaryStream, executeUseFirstBinaryStream, executeUseFirstCharacterStream, executeUseFirstCharacterStream, fetch, fetch, fetchAll, getConnection, getDatasource, inTransaction, reserveConnection
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.uwyn.rife.scheduler.TaskoptionManager
addTaskoption, getTaskoption, getTaskoptions, removeTaskoption, removeTaskoption, updateTaskoption
 

Constructor Detail

DatabaseTaskoptions

protected DatabaseTaskoptions(Datasource datasource)
Method Detail

setScheduler

public void setScheduler(Scheduler scheduler)
Specified by:
setScheduler in interface TaskoptionManager

getScheduler

public Scheduler getScheduler()
Specified by:
getScheduler in interface TaskoptionManager

install

public abstract boolean install()
                         throws TaskoptionManagerException
Throws:
TaskoptionManagerException

remove

public abstract boolean remove()
                        throws TaskoptionManagerException
Throws:
TaskoptionManagerException

_install

protected boolean _install(CreateTable createTableTaskoption)
                    throws TaskoptionManagerException
Throws:
TaskoptionManagerException

_remove

protected boolean _remove(DropTable dropTableTaskoption)
                   throws TaskoptionManagerException
Throws:
TaskoptionManagerException

_addTaskoption

protected boolean _addTaskoption(Insert addTaskoption,
                                 DbPreparedStatementHandler handler,
                                 Taskoption taskoption)
                          throws TaskoptionManagerException
Throws:
TaskoptionManagerException

_updateTaskoption

protected boolean _updateTaskoption(Update updateTaskoption,
                                    DbPreparedStatementHandler handler,
                                    Taskoption taskoption)
                             throws TaskoptionManagerException
Throws:
TaskoptionManagerException

_getTaskoption

protected Taskoption _getTaskoption(Select getTaskoption,
                                    DatabaseTaskoptions.ProcessTaskoption processTaskoption,
                                    int taskId,
                                    String name)
                             throws TaskoptionManagerException
Throws:
TaskoptionManagerException

_getTaskoptions

protected Collection<Taskoption> _getTaskoptions(Select getTaskoptions,
                                                 DatabaseTaskoptions.ProcessTaskoption processTaskoption,
                                                 int taskId)
                                          throws TaskoptionManagerException
Throws:
TaskoptionManagerException

_removeTaskoption

protected boolean _removeTaskoption(Delete removeTaskoption,
                                    Taskoption taskoption)
                             throws TaskoptionManagerException
Throws:
TaskoptionManagerException

_removeTaskoption

protected boolean _removeTaskoption(Delete removeTaskoption,
                                    int taskId,
                                    String name)
                             throws TaskoptionManagerException
Throws:
TaskoptionManagerException


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.