Class DatabaseTaskOptions
java.lang.Object
rife.database.DbQueryManager
rife.scheduler.taskoptionmanagers.DatabaseTaskOptions
- All Implemented Interfaces:
Cloneable
,TaskOptionManager
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
_removeTaskOption
(Delete removeTaskOption, int taskId, String name) protected boolean
_removeTaskOption
(Delete removeTaskOption, TaskOption taskoption) protected boolean
_updateTaskOption
(Update updateTaskOption, DbPreparedStatementHandler handler, TaskOption taskoption) Retrieves the scheduler of this task option manager.abstract boolean
install()
protected boolean
install_
(CreateTable createTableTaskOption) abstract boolean
remove()
protected boolean
void
setScheduler
(Scheduler scheduler) Sets the scheduler that uses this task option manager.Methods inherited from class rife.database.DbQueryManager
clone, executeFetchAll, executeFetchAll, executeFetchAll, executeFetchAll, executeFetchAllBeans, executeFetchAllBeans, executeFetchFirst, executeFetchFirst, 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, executeResultQuery, executeUpdate, executeUpdate, executeUpdate, executeUseFirstAsciiStream, executeUseFirstAsciiStream, executeUseFirstBinaryStream, executeUseFirstBinaryStream, executeUseFirstCharacterStream, executeUseFirstCharacterStream, fetch, fetch, fetch, fetchAll, fetchAll, getConnection, getDatasource, inTransaction, inTransaction, reserveConnection
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface rife.scheduler.TaskOptionManager
addTaskOption, getTaskOption, getTaskOptions, removeTaskOption, removeTaskOption, updateTaskOption
-
Constructor Details
-
DatabaseTaskOptions
-
-
Method Details
-
setScheduler
Description copied from interface:TaskOptionManager
Sets the scheduler that uses this task option manager.- Specified by:
setScheduler
in interfaceTaskOptionManager
- Parameters:
scheduler
- this task option manager's scheduler
-
getScheduler
Description copied from interface:TaskOptionManager
Retrieves the scheduler of this task option manager.- Specified by:
getScheduler
in interfaceTaskOptionManager
- Returns:
- this task option manager's scheduler; or
null
if the scheduler hasn't been set
-
install
- Throws:
TaskOptionManagerException
-
remove
- Throws:
TaskOptionManagerException
-
install_
- Throws:
TaskOptionManagerException
-
remove_
- 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
-