Uses of Class
org.silverpeas.core.calendar.CalendarEventOccurrence
-
Packages that use CalendarEventOccurrence Package Description org.silverpeas.core.calendar Provides the Calendar and Event Planning Engine.org.silverpeas.core.calendar.ical4j org.silverpeas.core.calendar.icalendar Provides the services dedicated to the export and the import ofCalendarEvent
instances into and from iCalendar sources.org.silverpeas.core.calendar.notification org.silverpeas.core.calendar.notification.user org.silverpeas.core.calendar.repository org.silverpeas.core.calendar.view Provides a set of useful different views on the occurrences of calendar events in order to easily handle them by some specific properties.org.silverpeas.core.web.calendar org.silverpeas.core.web.calendar.socialnetwork org.silverpeas.core.webapi.calendar org.silverpeas.web.usercalendar.services -
-
Uses of CalendarEventOccurrence in org.silverpeas.core.calendar
Fields in org.silverpeas.core.calendar with type parameters of type CalendarEventOccurrence Modifier and Type Field Description static Comparator<CalendarEventOccurrence>
CalendarEventOccurrence. COMPARATOR_BY_DATE_ASC
static Comparator<CalendarEventOccurrence>
CalendarEventOccurrence. COMPARATOR_BY_DATE_DESC
static Comparator<CalendarEventOccurrence>
CalendarEventOccurrence. COMPARATOR_BY_ORIGINAL_DATE_ASC
Methods in org.silverpeas.core.calendar that return CalendarEventOccurrence Modifier and Type Method Description CalendarEventOccurrence
CalendarEventOccurrenceBuilder. build()
CalendarEventOccurrence
CalendarEventOccurrenceGenerator. generateNextOccurrenceOf(CalendarEvent event, ZonedDateTime since)
Generates the next occurrence of the specified event since the given date time.Methods in org.silverpeas.core.calendar that return types with arguments of type CalendarEventOccurrence Modifier and Type Method Description OperationResult<CalendarEvent,CalendarEventOccurrence>
PlannableOnCalendar. delete()
Deletes this planned object from the calendar it belongs to.default List<CalendarEventOccurrence>
CalendarEventOccurrenceGenerator. generateOccurrencesIn(CalendarTimeWindow timeWindow)
Generates the actual occurrences of the calendar events that occur in the specified window of time.List<CalendarEventOccurrence>
CalendarEventOccurrenceGenerator. generateOccurrencesOf(List<CalendarEvent> events, Period inPeriod)
Generates the actual occurrences of the specified events and that occur in the period of time.static Optional<CalendarEventOccurrence>
CalendarEventOccurrence. getBy(CalendarEvent event, Temporal occurrenceStartDate)
Gets optionally an event occurrence from the specified data.static Optional<CalendarEventOccurrence>
CalendarEventOccurrence. getById(String id)
Gets optionally an event occurrence by its identifier.List<CalendarEventOccurrence>
CalendarTimeWindow. getEventOccurrences()
Gets the list of occurrences of events that occur in this window of time, once the filtering applied.List<CalendarEventOccurrence>
CalendarEvent. getPersistedOccurrences()
Gets all the occurrences linked to this event and explicitly persisted into persistence context.OperationResult<CalendarEvent,CalendarEventOccurrence>
PlannableOnCalendar. update()
Updates this planned object in the underlying calendar it belongs to.Methods in org.silverpeas.core.calendar with parameters of type CalendarEventOccurrence Modifier and Type Method Description CalendarEvent.EventOperationResult
CalendarEvent. deleteOnly(CalendarEventOccurrence occurrence)
Deletes only the specified occurrence of this event.CalendarEvent.EventOperationResult
CalendarEvent. deleteSince(CalendarEventOccurrence occurrence)
Deletes for this event all the occurrences since and including the specified one.static CalendarComponentPath
CalendarComponentPath. getPath(CalendarEventOccurrence occurrence)
Gets a calendar component path without taking care about right accesses.<T extends Contribution>
Optional<ResourcePath<T>>CalendarResourcePathProvider. getResourcePathOf(CalendarEventOccurrence occurrence)
Gets a calendar component path without taking care about right accesses.Optional<CalendarComponentPath>
DefaultCalendarResourcePathProvider. getResourcePathOf(CalendarEventOccurrence occurrence)
boolean
CalendarEventOccurrence. isBefore(CalendarEventOccurrence occurrence)
Is this occurrence actually occurs before the specified occurrence?boolean
CalendarEventOccurrence. isModifiedSince(CalendarEventOccurrence previous)
Is the properties of this event occurrence was modified since its last specified state?CalendarEvent.EventOperationResult
CalendarEventOccurrence. updateFrom(CalendarEventOccurrence occurrence)
Updates this occurrence with the state of the specified occurrence.CalendarEvent.EventOperationResult
CalendarEvent. updateOnly(CalendarEventOccurrence occurrence)
Updates only the specified occurrence among the occurrences of this event.CalendarEvent.EventOperationResult
CalendarEvent. updateSince(CalendarEventOccurrence occurrence)
Updates all the occurrences of this event since and including the specified occurrence with the modifications to this event. -
Uses of CalendarEventOccurrence in org.silverpeas.core.calendar.ical4j
Methods in org.silverpeas.core.calendar.ical4j that return CalendarEventOccurrence Modifier and Type Method Description CalendarEventOccurrence
ICal4JCalendarEventOccurrenceGenerator. generateNextOccurrenceOf(CalendarEvent event, ZonedDateTime since)
Methods in org.silverpeas.core.calendar.ical4j that return types with arguments of type CalendarEventOccurrence Modifier and Type Method Description List<CalendarEventOccurrence>
ICal4JCalendarEventOccurrenceGenerator. generateOccurrencesOf(List<CalendarEvent> events, Period inPeriod)
Method parameters in org.silverpeas.core.calendar.ical4j with type arguments of type CalendarEventOccurrence Modifier and Type Method Description void
ICal4JImporter. imports(ImportDescriptor descriptor, Consumer<Stream<org.apache.commons.lang3.tuple.Pair<CalendarEvent,List<CalendarEventOccurrence>>>> consumer)
-
Uses of CalendarEventOccurrence in org.silverpeas.core.calendar.icalendar
Method parameters in org.silverpeas.core.calendar.icalendar with type arguments of type CalendarEventOccurrence Modifier and Type Method Description void
ICalendarImporter. imports(ImportDescriptor descriptor, Consumer<Stream<org.apache.commons.lang3.tuple.Pair<CalendarEvent,List<CalendarEventOccurrence>>>> consumer)
Imports the events serialized in the iCal format from the input stream provided by the descriptor and passes the import stream to the specified consumer. -
Uses of CalendarEventOccurrence in org.silverpeas.core.calendar.notification
Methods in org.silverpeas.core.calendar.notification with parameters of type CalendarEventOccurrence Modifier and Type Method Description protected CalendarEventOccurrenceLifeCycleEvent
CalendarEventOccurrenceLifeCycleEventNotifier. createResourceEventFrom(ResourceEvent.Type type, CalendarEventOccurrence... resource)
void
CalendarEventOccurrenceLifeCycleEventNotifier. notifyEventOn(ResourceEvent.Type type, LifeCycleEventSubType subType, CalendarEventOccurrence... occurrences)
Constructors in org.silverpeas.core.calendar.notification with parameters of type CalendarEventOccurrence Constructor Description CalendarEventOccurrenceLifeCycleEvent(ResourceEvent.Type type, LifeCycleEventSubType subType, @NotNull CalendarEventOccurrence... occurrences)
Constructs a new lifecycle event with the specified type and that implies the specifiedCalendarEventOccurrence
instances, each of them representing a different state in the lifecycle of one or several occurrences of an event. -
Uses of CalendarEventOccurrence in org.silverpeas.core.calendar.notification.user
Constructors in org.silverpeas.core.calendar.notification.user with parameters of type CalendarEventOccurrence Constructor Description CalendarEventOccurrenceNotifyUserNotificationBuilder(CalendarEventOccurrence occurrence, User user)
-
Uses of CalendarEventOccurrence in org.silverpeas.core.calendar.repository
Methods in org.silverpeas.core.calendar.repository that return types with arguments of type CalendarEventOccurrence Modifier and Type Method Description List<CalendarEventOccurrence>
CalendarEventOccurrenceRepository. getAll(Collection<CalendarEvent> events, Period period)
Gets all the persisted occurrences of the specified events occurring in the specified period of time.List<CalendarEventOccurrence>
DefaultCalendarEventOccurrenceRepository. getAll(Collection<CalendarEvent> events, Period period)
List<CalendarEventOccurrence>
CalendarEventOccurrenceRepository. getAllByEvent(CalendarEvent event)
Gets all the persisted occurrences of the specified event.List<CalendarEventOccurrence>
DefaultCalendarEventOccurrenceRepository. getAllByEvent(CalendarEvent event)
List<CalendarEventOccurrence>
CalendarEventOccurrenceRepository. getAllSince(CalendarEventOccurrence occurrence)
Gets all the persisted occurrences of a given event since and including the specified one.List<CalendarEventOccurrence>
DefaultCalendarEventOccurrenceRepository. getAllSince(CalendarEventOccurrence occurrence)
Methods in org.silverpeas.core.calendar.repository with parameters of type CalendarEventOccurrence Modifier and Type Method Description List<CalendarEventOccurrence>
CalendarEventOccurrenceRepository. getAllSince(CalendarEventOccurrence occurrence)
Gets all the persisted occurrences of a given event since and including the specified one.List<CalendarEventOccurrence>
DefaultCalendarEventOccurrenceRepository. getAllSince(CalendarEventOccurrence occurrence)
-
Uses of CalendarEventOccurrence in org.silverpeas.core.calendar.view
Methods in org.silverpeas.core.calendar.view that return types with arguments of type CalendarEventOccurrence Modifier and Type Method Description Map<String,List<CalendarEventOccurrence>>
CalendarEventInternalParticipationView. apply(List<CalendarEventOccurrence> occurrences)
Map<T,List<CalendarEventOccurrence>>
CalendarEventView. apply(List<CalendarEventOccurrence> occurrences)
Applies this view on the specified list of calendar event occurrences.Method parameters in org.silverpeas.core.calendar.view with type arguments of type CalendarEventOccurrence Modifier and Type Method Description Map<String,List<CalendarEventOccurrence>>
CalendarEventInternalParticipationView. apply(List<CalendarEventOccurrence> occurrences)
Map<T,List<CalendarEventOccurrence>>
CalendarEventView. apply(List<CalendarEventOccurrence> occurrences)
Applies this view on the specified list of calendar event occurrences. -
Uses of CalendarEventOccurrence in org.silverpeas.core.web.calendar
Methods in org.silverpeas.core.web.calendar that return CalendarEventOccurrence Modifier and Type Method Description CalendarEventOccurrence
AbstractCalendarWebRequestContext. getCalendarEventOccurrenceById()
Gets the event occurrence corresponding to the identifier contained into request asoccurrenceId
parameter name. -
Uses of CalendarEventOccurrence in org.silverpeas.core.web.calendar.socialnetwork
Methods in org.silverpeas.core.web.calendar.socialnetwork that return CalendarEventOccurrence Modifier and Type Method Description CalendarEventOccurrence
CalendarEventOccurrenceSocialInformation. getOccurrence()
Constructors in org.silverpeas.core.web.calendar.socialnetwork with parameters of type CalendarEventOccurrence Constructor Description CalendarEventOccurrenceSocialInformation(CalendarEventOccurrence occurrence, OffsetDateTime now, String requesterId, ZoneId userZoneId, String userOwnerId)
Creates aSocialInformation
instance corresponding to aCalendarEventOccurrence
one. -
Uses of CalendarEventOccurrence in org.silverpeas.core.webapi.calendar
Methods in org.silverpeas.core.webapi.calendar that return CalendarEventOccurrence Modifier and Type Method Description CalendarEventOccurrence
CalendarWebManager. getFirstCalendarEventOccurrenceFromEventId(String eventId)
Gets the first occurrence of an event from the identifier of an event.Methods in org.silverpeas.core.webapi.calendar that return types with arguments of type CalendarEventOccurrence Modifier and Type Method Description protected Map<String,List<CalendarEventOccurrence>>
CalendarWebManager. getAllEventOccurrencesByUserIds(org.apache.commons.lang3.tuple.Pair<List<String>,User> currentUserAndComponentInstanceId, LocalDate startDate, LocalDate endDate, Collection<User> users)
Gets all event occurrences associated to users and contained a time window specified by the start and end date times.
Attendees which have answered negatively about their presence are not taken into account.List<CalendarEventOccurrence>
CalendarWebManager. getEventOccurrencesOf(LocalDate startDate, LocalDate endDate, List<Calendar> calendars)
Gets the event occurrences associated to a calendar and contained a time window specified by the start and end datetime.
The occurrences are sorted from the lowest to the highest date.List<CalendarEventOccurrence>
CalendarWebManager. getEventOccurrencesOf(LocalDate startDate, LocalDate endDate, List<Calendar> calendars, User currentRequester)
Gets the event occurrences associated to a calendar and contained a time window specified by the start and end datetime.
The occurrences are sorted from the lowest to the highest date.Stream<CalendarEventOccurrence>
CalendarWebManager. getNextEventOccurrences(List<String> componentIds, Set<String> calendarIdsToExclude, Set<User> usersToInclude, Set<String> calendarIdsToInclude, ZoneId zoneId, Integer limit)
Gets the next event occurrences from now.Methods in org.silverpeas.core.webapi.calendar with parameters of type CalendarEventOccurrence Modifier and Type Method Description CalendarEventAttendeeEntity
CalendarResource. asAttendeeWebEntity(CalendarEventOccurrence occurrence, Attendee attendee)
Converts the calendar event attendee into its corresponding web entity.CalendarEventOccurrenceEntity
CalendarResource. asOccurrenceWebEntity(CalendarEventOccurrence occurrence)
Converts the calendar event occurrence into its corresponding web entity.protected CalendarEventOccurrenceEntity
CalendarEventOccurrenceEntity. decorate(CalendarEventOccurrence calendarEventOccurrence, String componentInstanceId, ZoneId zoneId, boolean isEditionMode)
protected CalendarEvent
CalendarWebManager. deleteOccurrence(CalendarEventOccurrence occurrence, OccurrenceEventActionMethodType deleteMethodType, ZoneId zoneId)
Deletes occurrences of an event from the given occurrence.
This method handles also a common behavior the UI must have between each way an event is deleted (from a controller, a WEB service...)static CalendarEventOccurrenceEntity
CalendarEventOccurrenceEntity. fromOccurrence(CalendarEventOccurrence occurrence, String componentInstanceId, ZoneId zoneId, boolean isEditionMode)
URI
CalendarResourceURIs. ofOccurrence(CalendarEventOccurrence occurrence)
Centralizes the build of a occurrence URI.URI
CalendarResourceURIs. ofOccurrencePermalink(CalendarEventOccurrence occurrence)
Centralizes the build of an occurrence permalink URI.URI
CalendarResourceURIs. ofOccurrenceView(CalendarEventOccurrence occurrence)
Centralizes the build of a occurrence view page URI.protected List<CalendarEvent>
CalendarWebManager. saveOccurrence(CalendarEventOccurrence occurrence, OccurrenceEventActionMethodType updateMethodType, ZoneId zoneId)
Saves an event occurrence.
This method handles also a common behavior the UI must have between each way an event is saved (from a controller, a WEB service...)protected CalendarEvent
CalendarWebManager. updateOccurrenceAttendeeParticipation(CalendarEventOccurrence occurrence, String attendeeId, Attendee.ParticipationStatus participationStatus, OccurrenceEventActionMethodType answerMethodType, ZoneId zoneId)
Updates the participation of an attendee of an event or on an occurrence of an event from the given data.
This method handles also a common behavior the UI must have between each way an event is deleted (from a controller, a WEB service...)Method parameters in org.silverpeas.core.webapi.calendar with type arguments of type CalendarEventOccurrence Modifier and Type Method Description List<CalendarEventOccurrenceEntity>
CalendarResource. asOccurrenceWebEntities(Collection<CalendarEventOccurrence> occurrences)
Converts the list of calendar event occurrence into list of calendar event occurrence web entities. -
Uses of CalendarEventOccurrence in org.silverpeas.web.usercalendar.services
Methods in org.silverpeas.web.usercalendar.services that return types with arguments of type CalendarEventOccurrence Modifier and Type Method Description List<CalendarEventOccurrence>
UserCalendarWebManager. getEventOccurrencesOf(LocalDate startDate, LocalDate endDate, List<Calendar> calendars, User currentRequester)
-