Package org.silverpeas.core.calendar
Interface CalendarResourcePathProvider
-
- All Known Implementing Classes:
DefaultCalendarResourcePathProvider
public interface CalendarResourcePathProvider
ProvidesResourcePath
about object handled by Calendar API.- Author:
- silveryocha
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CalendarResourcePathProvider
get()
<T extends Contribution>
Optional<ResourcePath<T>>getResourcePathOf(CalendarEvent calendarEvent)
Gets a calendar component path without taking care about right accesses.<T extends Contribution>
Optional<ResourcePath<T>>getResourcePathOf(CalendarEventOccurrence occurrence)
Gets a calendar component path without taking care about right accesses.
-
-
-
Method Detail
-
get
static CalendarResourcePathProvider get()
-
getResourcePathOf
<T extends Contribution> Optional<ResourcePath<T>> getResourcePathOf(CalendarEvent calendarEvent)
Gets a calendar component path without taking care about right accesses.- Type Parameters:
T
- the type the contribution.- Parameters:
calendarEvent
- aCalendarEvent
instance.- Returns:
- the optional
ResourcePath
instance.
-
getResourcePathOf
<T extends Contribution> Optional<ResourcePath<T>> getResourcePathOf(CalendarEventOccurrence occurrence)
Gets a calendar component path without taking care about right accesses.- Type Parameters:
T
- the type the contribution.- Parameters:
occurrence
- aCalendarEventOccurrence
instance.- Returns:
- the optional
ResourcePath
instance.
-
-