public interface IMyTaskDAO
| 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
|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginvoid insert(MyTask myTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
myTask - instance of the MyTask object to insertplugin - the Pluginvoid store(MyTask myTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
myTask - the reference of the MyTaskplugin - the Pluginvoid delete(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdMyTask - int identifier of the MyTask to deleteplugin - the PluginMyTask load(int nIdMyTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdMyTask - The identifier of the mytaskplugin - the PluginList<MyTask> selectMyTasksListFromUser(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strUserGuid - the user guidplugin - PluginMyTaskvoid insertUserMyTask(String strUserGuid, int nIdMyTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strUserGuid - the user guidnIdMyTask - the Id of the MyTaskplugin - Pluginvoid deleteUserMyTask(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdMyTask - the Id of the taskplugin - Pluginvoid undoneMyTasks(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strUserGuid - the user guidplugin - Pluginint getNbMyTasks(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strUserGuid - the user guidplugin - PluginCopyright © 2017 City of Paris. All rights reserved.