Uses of Class
org.silverpeas.core.calendar.Calendar
-
Packages that use Calendar Package Description org.silverpeas.core.calendar Provides the Calendar and Event Planning Engine.org.silverpeas.core.calendar.notification org.silverpeas.core.calendar.repository org.silverpeas.core.calendar.subscription org.silverpeas.core.web.calendar org.silverpeas.core.web.calendar.subscription.bean org.silverpeas.core.webapi.calendar org.silverpeas.web.usercalendar.services -
-
Uses of Calendar in org.silverpeas.core.calendar
Methods in org.silverpeas.core.calendar that return Calendar Modifier and Type Method Description static Calendar
Calendar. getById(String id)
Gets a calendar by its identifier.Calendar
CalendarComponent. getCalendar()
Gets the calendar to which this component is related.Calendar
CalendarEvent. getCalendar()
Gets the calendar to which this event is related.Calendar
ICalendarEventSynchronization.CalendarBatchSynchronizationErrorEvent. getCalendar()
Calendar
PlannableOnCalendar. getCalendar()
Gets the calendar into which this plannable object is finally planned.Calendar
CalendarReference. getEntity()
static Calendar
Calendar. newMainCalendar(SilverpeasComponentInstance instance)
Creates for the specified component instance a new main calendar with the given title.Methods in org.silverpeas.core.calendar that return types with arguments of type Calendar Modifier and Type Method Description static List<Calendar>
Calendar. getByComponentInstanceIds(Collection<String> instanceIds)
Gets the calendars represented by the specified component instances.List<Calendar>
CalendarEventFilter. getCalendars()
Gets a list of calendars on which the events to filter must be planned.Optional<Calendar>
ComponentInstanceCalendars. getMainCalendar()
Gets the main calendar linked to a component instance.static List<Calendar>
Calendar. getSynchronizedCalendars()
Gets all the synchronized calendars in Silverpeas.Methods in org.silverpeas.core.calendar with parameters of type Calendar Modifier and Type Method Description static CalendarReference
CalendarReference. fromCalendar(Calendar calendar)
static CalendarEvent
CalendarEvent. getByExternalId(Calendar calendar, String externalId)
Gets a calendar event by its external identifier and the calendar it belongs.static CalendarPath
CalendarPath. getPath(Calendar calendar)
Gets the path of the specified calendar instance.ICalendarImportResult
ICalendarEventImportProcessor. importInto(Calendar calendar, InputStream inputStream)
Imports into the specified calendar in Silverpeas the events encoded in the iCalendar format coming from the specified input stream.ICalendarImportResult
ICalendarEventImportProcessor. importInto(Calendar calendar, Reader reader)
Imports into the specified calendar in Silverpeas the events encoded in the iCalendar format coming from the specified io reader.protected ICalendarImportResult
ICalendarEventImportProcessor. importInto(Calendar calendar, ImportDescriptor descriptor)
Imports into the specified calendar in Silverpeas the events encoded in the iCalendar format with the specified descriptor of import.CalendarEventFilter
CalendarEventFilter. onCalendar(Calendar... calendars)
Filters on the specified calendars.CalendarEvent
CalendarEvent. planOn(Calendar calendar)
PlannableOnCalendar
PlannableOnCalendar. planOn(Calendar aCalendar)
Saves this plannable object into the specified calendar.void
CalendarComponent. setCalendar(Calendar calendar)
Sets a calendar to this component.protected void
CalendarEvent. setCalendar(Calendar calendar)
Sets a new calendar to this event.ICalendarImportResult
ICalendarEventSynchronization. synchronize(Calendar calendar)
Synchronizes the specified calendar in Silverpeas with the calendar events coming from its external counterpart (its origin).Method parameters in org.silverpeas.core.calendar with type arguments of type Calendar Modifier and Type Method Description CalendarEventFilter
CalendarEventFilter. onCalendar(List<Calendar> calendars)
Filters on the specified calendars. -
Uses of Calendar in org.silverpeas.core.calendar.notification
Methods in org.silverpeas.core.calendar.notification with parameters of type Calendar Modifier and Type Method Description protected CalendarLifeCycleEvent
CalendarLifeCycleEventNotifier. createResourceEventFrom(ResourceEvent.Type type, Calendar... resource)
Constructors in org.silverpeas.core.calendar.notification with parameters of type Calendar Constructor Description CalendarLifeCycleEvent(ResourceEvent.Type type, @NotNull Calendar... calendar)
Constructs a new lifecycle event with the specified type and that implies the specifiedCalendar
instances, each of them representing a different state in the lifecycle of the calendar. -
Uses of Calendar in org.silverpeas.core.calendar.repository
Methods in org.silverpeas.core.calendar.repository that return types with arguments of type Calendar Modifier and Type Method Description List<Calendar>
CalendarRepository. getAllSynchronized()
Gets all the calendars in Silverpeas synchronized with an external one.List<Calendar>
DefaultCalendarRepository. getAllSynchronized()
List<Calendar>
CalendarRepository. getByComponentInstanceId(String componentInstanceId)
Gets the calendars represented by the specified component instance.List<Calendar>
DefaultCalendarRepository. getByComponentInstanceId(String componentInstanceId)
List<Calendar>
CalendarRepository. getByComponentInstanceIds(Collection<String> componentInstanceIds)
Gets the calendars represented by the specified component instances.List<Calendar>
DefaultCalendarRepository. getByComponentInstanceIds(Collection<String> componentInstanceIds)
Methods in org.silverpeas.core.calendar.repository with parameters of type Calendar Modifier and Type Method Description void
CalendarEventRepository. deleteAll(Calendar calendar)
Deletes all the events that belongs to the specified calendar.void
DefaultCalendarEventRepository. deleteAll(Calendar calendar)
CalendarEvent
CalendarEventRepository. getByExternalId(Calendar calendar, String externalId)
Gets an event by its external identifier which is unique into context of a calendar.CalendarEvent
DefaultCalendarEventRepository. getByExternalId(Calendar calendar, String externalId)
CalendarEvent
CalendarEventRepository. moveToCalendar(CalendarEvent event, Calendar target)
Moves the given event from specified calendar to the one theCalendarEvent
instance refers.CalendarEvent
DefaultCalendarEventRepository. moveToCalendar(CalendarEvent event, Calendar target)
long
CalendarEventRepository. size(Calendar calendar)
Gets size in events in the repository for the specified calendar.long
DefaultCalendarEventRepository. size(Calendar calendar)
Method parameters in org.silverpeas.core.calendar.repository with type arguments of type Calendar Modifier and Type Method Description void
DefaultCalendarRepository. delete(List<Calendar> calendars)
-
Uses of Calendar in org.silverpeas.core.calendar.subscription
Methods in org.silverpeas.core.calendar.subscription with parameters of type Calendar Modifier and Type Method Description static CalendarSubscriptionResource
CalendarSubscriptionResource. from(Calendar calendar)
A way to get an instance of a forum subscription resource.protected SubscriptionResource
SubscriptionCalendarEventListener. getSubscriptionResource(Calendar resource)
protected boolean
SubscriptionCalendarEventListener. isSubscriptionEnabled(Calendar resource)
-
Uses of Calendar in org.silverpeas.core.web.calendar
Methods in org.silverpeas.core.web.calendar that return Calendar Modifier and Type Method Description Calendar
AbstractCalendarWebRequestContext. getMainCalendar()
Gets the main calendar. -
Uses of Calendar in org.silverpeas.core.web.calendar.subscription.bean
Constructors in org.silverpeas.core.web.calendar.subscription.bean with parameters of type Calendar Constructor Description CalendarSubscriptionBean(Subscription subscription, Calendar calendar, SilverpeasComponentInstance component, String language)
-
Uses of Calendar in org.silverpeas.core.webapi.calendar
Methods in org.silverpeas.core.webapi.calendar that return Calendar Modifier and Type Method Description Calendar
CalendarEntity. merge(Calendar calendar)
Merges into given calendar instance the data from the entity.
System data are not merged (id, creation date, update date, ...)protected Calendar
CalendarWebManager. saveCalendar(Calendar calendar)
Saves the given calendar.
This method handles also a common behavior the UI must have between each way a calendar is saved (from a controller, a WEB service...)Methods in org.silverpeas.core.webapi.calendar that return types with arguments of type Calendar Modifier and Type Method Description List<Calendar>
CalendarWebManager. getCalendarsHandledBy(String componentInstanceId)
Gets all calendars handled by a component instance.List<Calendar>
CalendarWebManager. getCalendarsHandledBy(Collection<String> componentInstanceIds)
Gets all calendars handled by component instances.Methods in org.silverpeas.core.webapi.calendar with parameters of type Calendar Modifier and Type Method Description CalendarEntity
CalendarResource. asWebEntity(Calendar calendar)
Converts the calendar into its corresponding web entity.CalendarEvent
CalendarWebManager. createEvent(Calendar calendar, CalendarEvent event, String volatileEventId)
Creates an event from the given calendar and event data.
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 <T extends CalendarEntity>
TCalendarEntity. decorate(Calendar calendar)
protected void
CalendarWebManager. deleteCalendar(Calendar calendar)
Deletes the given calendar.
This method handles also a common behavior the UI must have between each way a calendar is deleted (from a controller, a WEB service...)protected void
CalendarWebManager. exportCalendarAsICalendarFormat(Calendar calendar, ExportDescriptor descriptor)
Exports the given calendar into ICalendar format.static CalendarEntity
CalendarEntity. fromCalendar(Calendar calendar)
protected void
CalendarWebManager. importEventsAsICalendarFormat(Calendar calendar, InputStream inputStream)
Imports the calendar events into the specified calendar from the specified input stream.Calendar
CalendarEntity. merge(Calendar calendar)
Merges into given calendar instance the data from the entity.
System data are not merged (id, creation date, update date, ...)URI
CalendarResourceURIs. ofCalendar(Calendar calendar)
Centralizes the build of a calendar URI.protected Calendar
CalendarWebManager. saveCalendar(Calendar calendar)
Saves the given calendar.
This method handles also a common behavior the UI must have between each way a calendar is saved (from a controller, a WEB service...)protected void
CalendarWebManager. synchronizeCalendar(Calendar calendar)
Synchronizes the given calendar.Method parameters in org.silverpeas.core.webapi.calendar with type arguments of type Calendar Modifier and Type Method Description List<CalendarEntity>
CalendarResource. asWebEntities(Collection<Calendar> calendars)
Converts the list of calendar into list of calendar web entities.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. -
Uses of Calendar in org.silverpeas.web.usercalendar.services
Method parameters in org.silverpeas.web.usercalendar.services with type arguments of type Calendar Modifier and Type Method Description List<CalendarEventOccurrence>
UserCalendarWebManager. getEventOccurrencesOf(LocalDate startDate, LocalDate endDate, List<Calendar> calendars, User currentRequester)
-