|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.sitestats.impl.event.EventUtil
public class EventUtil
| Constructor Summary | |
|---|---|
EventUtil()
|
|
| Method Summary | |
|---|---|
static List<ToolInfo> |
addMissingAdditionalToolIds(List<ToolInfo> eventRegistrySubset,
List<ToolInfo> fullEventRegistry)
Add missing events not in list (eg, list from Preferences) but present on the full Event Registry. |
static List<ToolInfo> |
addToEventRegistry(List<ToolInfo> additions,
boolean replaceEventsForTool,
List<ToolInfo> eventRegistry)
Add custom additions to Event Registry. |
static List<ToolInfo> |
getIntersectionWithAvailableToolsInSakaiInstallation(org.sakaiproject.tool.api.ToolManager M_tm,
List<ToolInfo> eventRegistrySubset)
Intersect an event registry with tools available in (whole) Sakai installation. |
static List<ToolInfo> |
getIntersectionWithAvailableToolsInSite(org.sakaiproject.site.api.SiteService M_ss,
List<ToolInfo> eventRegistrySubset,
String siteId)
Intersect an event registry subset with tools available in site. |
static List<ToolInfo> |
getUnionWithAllDefaultToolEvents(List<ToolInfo> eventRegistrySubset,
List<ToolInfo> fullEventRegistry)
Union between a given event registry with the full Event Registry. |
static List<ToolInfo> |
removeFromEventRegistry(List<ToolInfo> removals,
List<ToolInfo> eventRegistry)
Remove specified custom additions from Event Registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventUtil()
| Method Detail |
|---|
public static List<ToolInfo> addMissingAdditionalToolIds(List<ToolInfo> eventRegistrySubset,
List<ToolInfo> fullEventRegistry)
list - n Event Registry subset
public static List<ToolInfo> getIntersectionWithAvailableToolsInSite(org.sakaiproject.site.api.SiteService M_ss,
List<ToolInfo> eventRegistrySubset,
String siteId)
eventRegistrySubset - An Event Registry subset to intersect with.siteId - The id of the site.
public static List<ToolInfo> getIntersectionWithAvailableToolsInSakaiInstallation(org.sakaiproject.tool.api.ToolManager M_tm,
List<ToolInfo> eventRegistrySubset)
eventRegistrySubset - The Event Registry to intersect with.siteId - The id of the site.
public static List<ToolInfo> getUnionWithAllDefaultToolEvents(List<ToolInfo> eventRegistrySubset,
List<ToolInfo> fullEventRegistry)
eventRegistrySubset - The Event Registry to union with.fullEventRegistry - The full Event Registry.siteId - The id of the site.
public static List<ToolInfo> addToEventRegistry(List<ToolInfo> additions,
boolean replaceEventsForTool,
List<ToolInfo> eventRegistry)
additions - Custom Event Registry additions.replaceEventsForTool - If tool exists in full Event Registry, replace its events with the ones in additions.eventRegistry - The full Event Registry.
public static List<ToolInfo> removeFromEventRegistry(List<ToolInfo> removals,
List<ToolInfo> eventRegistry)
additions - Custom Event Registry removals.eventRegistry - The full Event Registry.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||