Class CalendarResourceURIs
- java.lang.Object
-
- org.silverpeas.core.webapi.calendar.CalendarResourceURIs
-
-
Constructor Summary
Constructors Constructor Description CalendarResourceURIs()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CalendarResourceURIs
get()
URI
ofCalendar(Calendar calendar)
Centralizes the build of a calendar URI.URI
ofOccurrence(CalendarEventOccurrence occurrence)
Centralizes the build of a occurrence URI.URI
ofOccurrencePermalink(CalendarEventOccurrence occurrence)
Centralizes the build of an occurrence permalink URI.URI
ofOccurrenceView(CalendarEventOccurrence occurrence)
Centralizes the build of a occurrence view page URI.
-
-
-
Method Detail
-
get
public static CalendarResourceURIs get()
-
ofCalendar
public URI ofCalendar(Calendar calendar)
Centralizes the build of a calendar URI.- Parameters:
calendar
- the aimed calendar.- Returns:
- the URI of specified calendar.
-
ofOccurrence
public URI ofOccurrence(CalendarEventOccurrence occurrence)
Centralizes the build of a occurrence URI.- Parameters:
occurrence
- the aimed occurrence.- Returns:
- the URI of specified occurrence.
-
ofOccurrencePermalink
public URI ofOccurrencePermalink(CalendarEventOccurrence occurrence)
Centralizes the build of an occurrence permalink URI.- Parameters:
occurrence
- te aimed occurrence.- Returns:
- the permalink URI of specified occurrence.
-
ofOccurrenceView
public URI ofOccurrenceView(CalendarEventOccurrence occurrence)
Centralizes the build of a occurrence view page URI.- Parameters:
occurrence
- the aimed occurrence.- Returns:
- the URI of specified occurrence.
-
-