public final class MyTasksService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
| Modifier and Type | Method and Description |
|---|---|
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(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 |
List<MyTask> |
getMyTasksList(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the list of MyTasks from a given LuteceUser
|
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
|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCachepublic String getName()
public static MyTasksService getInstance()
MyTasksServiceMyTasksServicepublic void init()
public List<MyTask> getMyTasksList(fr.paris.lutece.portal.service.security.LuteceUser user)
user - the LuteceUserMyTaskpublic MyTask getMyTask(int nIdMyTask)
MyTask from a given id mytasknIdMyTask - the id mytaskMyTaskpublic void doAddMyTask(MyTask myTask, fr.paris.lutece.portal.service.security.LuteceUser user)
MyTaskmyTask - a MyTaskuser - a LuteceUserpublic void doUpdateMyTask(MyTask myTask, fr.paris.lutece.portal.service.security.LuteceUser user)
MyTaskmyTask - a MyTaskuser - a LuteceUserpublic void doRemoveMyTask(int nIdMyTask,
fr.paris.lutece.portal.service.security.LuteceUser user)
MyTasknIdMyTask - the id my taskuser - a LuteceUserpublic void doUpdateMyTasksStatus(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 LuteceUserCopyright © 2017 City of Paris. All rights reserved.