BrightSide Workbench Full Report + Source Code
org.turro.action.Events Class Reference

Static Public Member Functions

static Collection< ICalendarEventgetPublicEvents (Date start, Date end, HashMap< String, String > args)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 36 of file Events.java.

Member Function Documentation

◆ getPublicEvents()

static Collection<ICalendarEvent> org.turro.action.Events.getPublicEvents ( Date  start,
Date  end,
HashMap< String, String >  args 
)
static

Definition at line 40 of file Events.java.

40  {
41  ArrayList<ICalendarEvent> events = new ArrayList<>();
42  if("self".equals(args.get("target")) && !Application.getApplication().isInRole("user:in")) {
43  return Collections.EMPTY_LIST;
44  }
45  Instances.cached().byAnnotation(ExternalEvent.class, ICalendarInfo.class).forEach((iCalendar) -> {
46  events.addAll(iCalendar.execute(start, end, args));
47  });
48  return events;
49  }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: