|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.calendar.service.CalendarService
public class CalendarService
CalendarService
| Constructor Summary | |
|---|---|
CalendarService()
Creates a new instance of CalendarService |
|
| Method Summary | |
|---|---|
void |
doCreateAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an agenda and reset the caches. |
void |
doModifyAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modify an agenda and reset the caches. |
void |
doRemoveAgenda(int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an agenda and reset the caches. |
java.util.List<java.lang.Integer> |
getAgendaIds()
Return the list of agenda IDs |
AgendaResource |
getAgendaResource(int nAgendaId)
Returns the agenda |
AgendaResource |
getAgendaResource(java.lang.String strAgendaKeyName)
Get the agenda |
java.util.List<AgendaResource> |
getAgendaResources(fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of agenda resources. |
java.util.List<AgendaResource> |
getAgendaResources(javax.servlet.http.HttpServletRequest request)
Get the list of agendas. |
int |
getCacheSize()
Get the cache size |
java.util.Map<java.lang.String,java.lang.String> |
getCalendarParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the calendar default parameters |
MultiAgenda |
getMultiAgenda(javax.servlet.http.HttpServletRequest request)
Get the multiAgenda. |
java.lang.String |
getName()
Get the service name |
void |
removeCache()
Reset the cache |
void |
removeCache(int nAgendaId)
Reset the cache from the given agenda ID |
void |
removeCache(java.lang.String strAgendaId)
Reset the cache from the given agenda ID |
void |
resetCache()
Reset cache |
void |
setCalendarCacheKeyService(fr.paris.lutece.portal.service.cache.ICacheKeyService cacheKeyService)
Set the agenda cache key service |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalendarService()
| Method Detail |
|---|
public java.lang.String getName()
public void setCalendarCacheKeyService(fr.paris.lutece.portal.service.cache.ICacheKeyService cacheKeyService)
cacheKeyService - the cache key servicepublic AgendaResource getAgendaResource(java.lang.String strAgendaKeyName)
strAgendaKeyName - the agenda key name
public AgendaResource getAgendaResource(int nAgendaId)
nAgendaId - the ID agenda
public java.util.List<java.lang.Integer> getAgendaIds()
public MultiAgenda getMultiAgenda(javax.servlet.http.HttpServletRequest request)
request - HttpServletRequest
public java.util.List<AgendaResource> getAgendaResources(javax.servlet.http.HttpServletRequest request)
request - HttpServletRequest
public java.util.List<AgendaResource> getAgendaResources(fr.paris.lutece.portal.business.user.AdminUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
user - the AdminUserplugin - Plugin
public java.util.Map<java.lang.String,java.lang.String> getCalendarParameters(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - Plugin
public void doCreateAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
agenda - the AgendaResourceplugin - Plugin
public void doModifyAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
agenda - AgendaResourceplugin - Plugin
public void doRemoveAgenda(int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nAgendaId - the agenda IDplugin - Pluginpublic void resetCache()
public void removeCache(java.lang.String strAgendaId)
strAgendaId - the agenda IDpublic void removeCache(int nAgendaId)
nAgendaId - the agenda IDpublic void removeCache()
public int getCacheSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||