public class AsyncTaskDAODbFacadeImpl extends BaseDAODbFacade implements AsyncTaskDAO
AsyncTaskDAODbFacadeImpl
provides an implementation of AsyncTaskDAO
using code refactored from
DbFacade
.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
AsyncTaskDAODbFacadeImpl() |
Modifier and Type | Method and Description |
---|---|
async_tasks |
get(Guid id)
Retrieves the task with the specified id.
|
List<async_tasks> |
getAll()
Retrieves all tasks.
|
void |
remove(Guid id)
Removes the task with the specified id.
|
void |
save(async_tasks task)
Saves the specified task.
|
void |
update(async_tasks task)
Updates the specified task.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public async_tasks get(Guid id)
AsyncTaskDAO
get
in interface AsyncTaskDAO
id
- the task idpublic List<async_tasks> getAll()
AsyncTaskDAO
getAll
in interface AsyncTaskDAO
public void save(async_tasks task)
AsyncTaskDAO
save
in interface AsyncTaskDAO
task
- the taskpublic void update(async_tasks task)
AsyncTaskDAO
update
in interface AsyncTaskDAO
task
- the taskpublic void remove(Guid id)
AsyncTaskDAO
remove
in interface AsyncTaskDAO
Copyright © 2012. All Rights Reserved.