public final class MyTaskDAO extends Object implements IMyTaskDAO
| Constructor and Description |
|---|
MyTaskDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteUserMyTask(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
getNbMyTasks(String strUserGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the nb of tasks from a given user guid
|
void |
insert(MyTask myTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
void |
insertUserMyTask(String strUserGuid,
int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
MyTask |
load(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<MyTask> |
selectMyTasksListFromUser(String strUserGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of MyTask from a given user guid
|
void |
store(MyTask myTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
undoneMyTasks(String strUserGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Change every tasks to undone from the given user guid
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IMyTaskDAOplugin - The Pluginpublic void insert(MyTask myTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMyTaskDAOmyTask - instance of the MyTask object to insertplugin - the Pluginpublic MyTask load(int nIdMyTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMyTaskDAOnIdMyTask - The identifier of the mytaskplugin - the Pluginpublic void delete(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMyTaskDAOnIdMyTask - int identifier of the MyTask to deleteplugin - the Pluginpublic void store(MyTask myTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMyTaskDAOmyTask - the reference of the MyTaskplugin - the Pluginpublic List<MyTask> selectMyTasksListFromUser(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyTasksListFromUser in interface IMyTaskDAOstrUserGuid - the user guidplugin - PluginMyTaskpublic void insertUserMyTask(String strUserGuid, int nIdMyTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertUserMyTask in interface IMyTaskDAOstrUserGuid - the user guidnIdMyTask - the Id of the MyTaskplugin - Pluginpublic void deleteUserMyTask(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteUserMyTask in interface IMyTaskDAOnIdMyTask - the Id of the taskplugin - Pluginpublic void undoneMyTasks(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
undoneMyTasks in interface IMyTaskDAOstrUserGuid - the user guidplugin - Pluginpublic int getNbMyTasks(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getNbMyTasks in interface IMyTaskDAOstrUserGuid - the user guidplugin - PluginCopyright © 2017 City of Paris. All rights reserved.