|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mytasks.business.MyTaskHome
public final class MyTaskHome
MyTasksHome
| Method Summary | |
|---|---|
static MyTask |
create(MyTask myTask)
Create an instance of the MyTask class |
static void |
createUserMyTask(java.lang.String strUserGuid,
int nIdMyTask)
Insert a new record in the table |
static MyTask |
findByPrimaryKey(int nIdMyTask)
Returns an instance of a MyTask whose identifier is specified in parameter |
static int |
getNbMyTasks(java.lang.String strUserGuid)
Get the nb of tasks from a given user guid |
static int |
newPrimaryKey()
Generates a new primary key |
static void |
remove(int nIdMyTask)
Remove the widget whose identifier is specified in parameter |
static void |
removeUserMyTask(int nIdMyTask)
Delete a record from the table |
static java.util.List<MyTask> |
selectMyTasksListFromUser(java.lang.String strUserGuid)
Load the list of MyTask from a given user guid |
static void |
undoneMyTasks(java.lang.String strUserGuid)
Change every tasks to undone from the given user guid |
static MyTask |
update(MyTask myTask)
Update of the widget which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int newPrimaryKey()
public static MyTask create(MyTask myTask)
myTask - The instance of the MyTask which contains the informations to store
public static MyTask update(MyTask myTask)
myTask - The instance of the MyTask which contains the data to store
public static void remove(int nIdMyTask)
nIdMyTask - The Id of the taskpublic static MyTask findByPrimaryKey(int nIdMyTask)
nIdMyTask - The MyTask primary key
public static java.util.List<MyTask> selectMyTasksListFromUser(java.lang.String strUserGuid)
strUserGuid - the user guid
MyTask
public static void createUserMyTask(java.lang.String strUserGuid,
int nIdMyTask)
strUserGuid - the user guidnIdMyTask - the Id of the MyTaskpublic static void removeUserMyTask(int nIdMyTask)
nIdMyTask - the Id of the taskpublic static void undoneMyTasks(java.lang.String strUserGuid)
strUserGuid - the user guidpublic static int getNbMyTasks(java.lang.String strUserGuid)
strUserGuid - the user guid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||