- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 36 of file Events.java.
◆ 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.
41 ArrayList<ICalendarEvent> events =
new ArrayList<>();
42 if(
"self".equals(args.get(
"target")) && !Application.getApplication().isInRole(
"user:in")) {
43 return Collections.EMPTY_LIST;
45 Instances.cached().byAnnotation(ExternalEvent.class, ICalendarInfo.class).forEach((iCalendar) -> {
46 events.addAll(iCalendar.execute(start, end, args));
The documentation for this class was generated from the following file: