|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mytasks.business.MyTaskDAO
public final class MyTaskDAO
MyTaskDAO
| Constructor Summary | |
|---|---|
MyTaskDAO()
|
|
| Method Summary | |
|---|---|
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(java.lang.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(java.lang.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 |
java.util.List<MyTask> |
selectMyTasksListFromUser(java.lang.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(java.lang.String strUserGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Change every tasks to undone from the given user guid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MyTaskDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IMyTaskDAOplugin - The Plugin
public void insert(MyTask myTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMyTaskDAOmyTask - instance of the MyTask object to insertplugin - the Plugin
public MyTask load(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMyTaskDAOnIdMyTask - The identifier of the mytaskplugin - the Plugin
public void delete(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMyTaskDAOnIdMyTask - int identifier of the MyTask to deleteplugin - the Plugin
public void store(MyTask myTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMyTaskDAOmyTask - the reference of the MyTaskplugin - the Plugin
public java.util.List<MyTask> selectMyTasksListFromUser(java.lang.String strUserGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyTasksListFromUser in interface IMyTaskDAOstrUserGuid - the user guidplugin - Plugin
MyTask
public void insertUserMyTask(java.lang.String strUserGuid,
int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertUserMyTask in interface IMyTaskDAOstrUserGuid - the user guidnIdMyTask - the Id of the MyTaskplugin - Plugin
public void deleteUserMyTask(int nIdMyTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteUserMyTask in interface IMyTaskDAOnIdMyTask - the Id of the taskplugin - Plugin
public void undoneMyTasks(java.lang.String strUserGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
undoneMyTasks in interface IMyTaskDAOstrUserGuid - the user guidplugin - Plugin
public int getNbMyTasks(java.lang.String strUserGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
getNbMyTasks in interface IMyTaskDAOstrUserGuid - the user guidplugin - Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||