org.sakaiproject.sitestats.impl.event
Class EventRegistryServiceImpl

java.lang.Object
  extended by org.sakaiproject.sitestats.impl.event.EventRegistryServiceImpl
All Implemented Interfaces:
Observer, EventRegistry, EventRegistryService

public class EventRegistryServiceImpl
extends Object
implements EventRegistry, EventRegistryService, Observer


Field Summary
 
Fields inherited from interface org.sakaiproject.sitestats.api.event.EventRegistryService
NOTIF_EVENT_REGISTRY_EXPIRED
 
Constructor Summary
EventRegistryServiceImpl()
           
 
Method Summary
 List<String> getAnonymousEventIds()
           
 EventFactory getEventFactory()
           
 List<String> getEventIds()
           
 Map<String,ToolInfo> getEventIdToolMap()
           
 String getEventName(String eventId)
           
 List<ToolInfo> getEventRegistry()
           
 List<ToolInfo> getEventRegistry(String siteId, boolean onlyAvailableInSite)
           
 List<String> getServerEventIds()
           
 ToolFactory getToolFactory()
           
 String getToolIcon(String toolId)
           
 String getToolName(String toolId)
           
 void init()
           
 boolean isEventRegistryExpired()
           
 void setCheckLocalEventNamesFirst(boolean checkLocalEventNamesFirst)
           
 void setEntityBrokerEventRegistry(EntityBrokerEventRegistry ebEventRegistry)
           
 void setFileEventRegistry(FileEventRegistry fileEventRegistry)
           
 void setMemoryService(org.sakaiproject.memory.api.MemoryService memoryService)
           
 void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)
           
 void setServerEventIds(List<String> eventIds)
           
 void setSiteService(org.sakaiproject.site.api.SiteService siteService)
           
 void setToolManager(org.sakaiproject.tool.api.ToolManager toolManager)
           
 void update(Observable obs, Object obj)
          Process event registry expired notifications
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventRegistryServiceImpl

public EventRegistryServiceImpl()
Method Detail

setSiteService

public void setSiteService(org.sakaiproject.site.api.SiteService siteService)

setToolManager

public void setToolManager(org.sakaiproject.tool.api.ToolManager toolManager)

setMemoryService

public void setMemoryService(org.sakaiproject.memory.api.MemoryService memoryService)

setServerConfigurationService

public void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)

setFileEventRegistry

public void setFileEventRegistry(FileEventRegistry fileEventRegistry)

setEntityBrokerEventRegistry

public void setEntityBrokerEventRegistry(EntityBrokerEventRegistry ebEventRegistry)

setCheckLocalEventNamesFirst

public void setCheckLocalEventNamesFirst(boolean checkLocalEventNamesFirst)

init

public void init()

getEventIds

public List<String> getEventIds()
Specified by:
getEventIds in interface EventRegistryService

getAnonymousEventIds

public List<String> getAnonymousEventIds()
Specified by:
getAnonymousEventIds in interface EventRegistryService

getEventRegistry

public List<ToolInfo> getEventRegistry()
Specified by:
getEventRegistry in interface EventRegistry
Specified by:
getEventRegistry in interface EventRegistryService

getEventRegistry

public List<ToolInfo> getEventRegistry(String siteId,
                                       boolean onlyAvailableInSite)
Specified by:
getEventRegistry in interface EventRegistryService

isEventRegistryExpired

public boolean isEventRegistryExpired()
Specified by:
isEventRegistryExpired in interface EventRegistry

getEventName

public String getEventName(String eventId)
Specified by:
getEventName in interface EventRegistry
Specified by:
getEventName in interface EventRegistryService

getToolName

public String getToolName(String toolId)
Specified by:
getToolName in interface EventRegistryService

getToolIcon

public String getToolIcon(String toolId)
Specified by:
getToolIcon in interface EventRegistryService

getEventIdToolMap

public Map<String,ToolInfo> getEventIdToolMap()
Specified by:
getEventIdToolMap in interface EventRegistryService

getToolFactory

public ToolFactory getToolFactory()
Specified by:
getToolFactory in interface EventRegistryService

getEventFactory

public EventFactory getEventFactory()
Specified by:
getEventFactory in interface EventRegistryService

update

public void update(Observable obs,
                   Object obj)
Process event registry expired notifications

Specified by:
update in interface Observer

getServerEventIds

public List<String> getServerEventIds()
Specified by:
getServerEventIds in interface EventRegistryService

setServerEventIds

public void setServerEventIds(List<String> eventIds)


Copyright © 2006-2012 Universidade Fernando Pessoa. All Rights Reserved.