|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.mytasks.service.MyTasksService
public final class MyTasksService
MyTasksService
| Method Summary | |
|---|---|
void |
doAddMyTask(MyTask myTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
Do add a MyTask |
void |
doDeleteCompletedMyTasks(fr.paris.lutece.portal.service.security.LuteceUser user)
Do update the mytasks status |
void |
doRemoveMyTask(int nIdMyTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
Do remove a MyTask |
void |
doUpdateMyTask(MyTask myTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
Do update a MyTask |
void |
doUpdateMyTasksStatus(java.lang.String[] listIdsMyTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
Do update the mytasks status |
static MyTasksService |
getInstance()
Get the instance of MyTasksService |
MyTask |
getMyTask(int nIdMyTask)
Get a MyTask from a given id mytask |
java.util.List<MyTask> |
getMyTasksList(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the list of MyTasks from a given LuteceUser |
java.lang.String |
getName()
|
int |
getNbMyTasks(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the nb of tasks from a given user |
void |
init()
Init service |
| Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService |
|---|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, resetCache |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getName()
public static MyTasksService getInstance()
MyTasksService
MyTasksServicepublic void init()
public java.util.List<MyTask> getMyTasksList(fr.paris.lutece.portal.service.security.LuteceUser user)
user - the LuteceUser
MyTaskpublic MyTask getMyTask(int nIdMyTask)
MyTask from a given id mytask
nIdMyTask - the id mytask
MyTask
public void doAddMyTask(MyTask myTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
MyTask
myTask - a MyTaskuser - a LuteceUser
public void doUpdateMyTask(MyTask myTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
MyTask
myTask - a MyTaskuser - a LuteceUser
public void doRemoveMyTask(int nIdMyTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
MyTask
nIdMyTask - the id my taskuser - a LuteceUser
public void doUpdateMyTasksStatus(java.lang.String[] listIdsMyTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
listIdsMyTask - the list of ids mytaskuser - a LuteceUserpublic void doDeleteCompletedMyTasks(fr.paris.lutece.portal.service.security.LuteceUser user)
user - a LuteceUserpublic int getNbMyTasks(fr.paris.lutece.portal.service.security.LuteceUser user)
user - the LuteceUser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||