added URL to ical

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-01-03 19:53:20 +01:00
parent bb54e6fb24
commit e45164b82c
4 changed files with 14 additions and 10 deletions
@@ -39,9 +39,10 @@ public interface Appointment {
/**
* represent this event as ical entry
* @param calendarIdentifier used to generate a unique id. pass something that is unique, but stable over time, e.g. a hostname
* @param urlTemplate the url to put into the ical, with "{}" being replaced by the appointment id
* @return the ical string
*/
String ical(String calendarIdentifier);
String ical(String calendarIdentifier,String urlTemplate);
/**
* ID of the appointment unique within this system