A C E G I M O Q R S 
All Classes All Packages

A

AddReccurrentProperty - Class in org.xwiki.contrib.moccacalendar.migrations
Migration helper which adds a value of zero to the recurrent property of events.
AddReccurrentProperty() - Constructor for class org.xwiki.contrib.moccacalendar.migrations.AddReccurrentProperty
 
addRecurrentPropertyToEvents(int, int) - Method in class org.xwiki.contrib.moccacalendar.migrations.AddReccurrentProperty
Migrate a number of events as given by the parameters.

C

countAllEvents() - Method in class org.xwiki.contrib.moccacalendar.migrations.AddReccurrentProperty
helper to find out if events are unmigrated.
countMigratedEvents() - Method in class org.xwiki.contrib.moccacalendar.migrations.AddReccurrentProperty
helper to find out if events are unmigrated.
countUnmigratedEventsForRecurrency() - Method in class org.xwiki.contrib.moccacalendar.migrations.MoccaCalendarMigrationScriptService
count the number of unmigrated events from the recurrent event feature.
createModificationDummy(Document, Date) - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Create a dummy modification object to be used as placeholder in edit view.

E

EventInstance - Class in org.xwiki.contrib.moccacalendar
Data container describing an actual event.
EventInstance() - Constructor for class org.xwiki.contrib.moccacalendar.EventInstance
 
EventSource - Interface in org.xwiki.contrib.moccacalendar
 

G

generate(XWikiDocument, Date, Date) - Method in interface org.xwiki.contrib.moccacalendar.RecurrentEventGenerator
given the event document create a list of event instances happening between dateFrom and dateTo.
getAllCalendars() - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Get all calendars.
getAvailableSourceConfigurations() - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Returns a map of all available event source names to their configuration classes.
getAvailableSources() - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Returns a list of all available event source names, except for the default ones.
getBackgroundColor() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Color for the background when displaying this event (as RGB string).
getConfigurationClass() - Method in interface org.xwiki.contrib.moccacalendar.EventSource
The configuration class to use for this event source.
getDescription() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
The longer description of the event, as plain text.
getDescriptionHtml() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
The longer description of the event, as HTML markup text.
getDisplaySheetForEvent(EventInstance) - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Give the full name to a document to be used as a sheet to be used to display this event.
getEndDate() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
The date when the event ends.
getEndDateExclusive() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
A date after the event has ended.
getEventDocRef() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
A reference to the document describing the event.
getEventInstance(Document, Date) - Method in interface org.xwiki.contrib.moccacalendar.EventSource
Return the given document as an EventInstance with the given start date.
getEventInstance(Document, Date) - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Create an event instance for the given date and document.
getEventInstance(Document, Date, String) - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Create an event instance for the given date and document from the given source.
getEvents() - Method in class org.xwiki.contrib.moccacalendar.migrations.AddReccurrentProperty
 
getEvents(Date, Date, String, DocumentReference, boolean) - Method in interface org.xwiki.contrib.moccacalendar.EventSource
Get all events that this source can find for the given constraints.
getFile() - Method in class org.xwiki.contrib.moccacalendar.importJob.ImportJobRequest
Get the content of the given file.
getModifiedEventObjectIndex(Document, Date) - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Find modification data for an event instance, if the event instance has been modified.
getName() - Method in class org.xwiki.contrib.moccacalendar.migrations.AddReccurrentProperty
 
getOriginalStartDate() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
The date when the event would have started if not modified.
getParentRef() - Method in class org.xwiki.contrib.moccacalendar.importJob.ImportJobRequest
Get the reference to the parent calendar.
getSource() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
The informal name of the source this event is coming from.
getStartDate() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
The date when the event starts.
getTextColor() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
The font color to be used to render this event in the calendar overview (as RGB string).
getTitle() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
The title of the event.
getUserReference() - Method in class org.xwiki.contrib.moccacalendar.importJob.ImportJobRequest
Get the reference to the user who requested the import.

I

importCalendarFile(String, byte[]) - Method in interface org.xwiki.contrib.moccacalendar.rest.MoccaCalendarResource
Import a given ical file and create a job that handles the event processing.
ImportJobRequest - Class in org.xwiki.contrib.moccacalendar.importJob
Represents a request to start a import job.
ImportJobRequest() - Constructor for class org.xwiki.contrib.moccacalendar.importJob.ImportJobRequest
Default constructor.
ImportJobRequest(List<String>, byte[], String, DocumentReference) - Constructor for class org.xwiki.contrib.moccacalendar.importJob.ImportJobRequest
Creates a specific request for the ical file import job.
ImportJobStatus - Class in org.xwiki.contrib.moccacalendar.importJob
The status of the import job.
ImportJobStatus(String, ImportJobRequest, ObservationManager, LoggerManager) - Constructor for class org.xwiki.contrib.moccacalendar.importJob.ImportJobStatus
Create a new import job status.
isAllDay() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
A flag if the event last a full day (or several full days).
isAvailable() - Method in interface org.xwiki.contrib.moccacalendar.EventSource
Check if the source is available in the given context.
isDuplicate(String) - Method in class org.xwiki.contrib.moccacalendar.importJob.ImportJobStatus
Check if an event with a given id has already been processed.
isModifiable() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Indicate if this event is modifiable.
isMovable() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Indicate if this event is movable, i.e.
isRecurrent() - Method in class org.xwiki.contrib.moccacalendar.EventInstance
A flag if this event instance is part of a recurrent event or not.

M

migrateEventsForRecurrenty(int, int) - Method in class org.xwiki.contrib.moccacalendar.migrations.MoccaCalendarMigrationScriptService
Migrate some events, as limited by the parameters.
MoccaCalendarMigrationScriptService - Class in org.xwiki.contrib.moccacalendar.migrations
Script service to check for successful migration and add helpers in case something went wrong.
MoccaCalendarMigrationScriptService() - Constructor for class org.xwiki.contrib.moccacalendar.migrations.MoccaCalendarMigrationScriptService
 
MoccaCalendarResource - Interface in org.xwiki.contrib.moccacalendar.rest
Provides the APIs needed by the Mocca Calendar server in order to import an ical file.
MoccaCalendarScriptService - Class in org.xwiki.contrib.moccacalendar.script
Script service to obtain information about calendars and event instances.
MoccaCalendarScriptService() - Constructor for class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
 

O

onEvent(Event, Object, Object) - Method in class org.xwiki.contrib.moccacalendar.migrations.AddReccurrentProperty
 
org.xwiki.contrib.moccacalendar - package org.xwiki.contrib.moccacalendar
 
org.xwiki.contrib.moccacalendar.importJob - package org.xwiki.contrib.moccacalendar.importJob
 
org.xwiki.contrib.moccacalendar.migrations - package org.xwiki.contrib.moccacalendar.migrations
 
org.xwiki.contrib.moccacalendar.rest - package org.xwiki.contrib.moccacalendar.rest
 
org.xwiki.contrib.moccacalendar.script - package org.xwiki.contrib.moccacalendar.script
 

Q

queryEvents(Date, Date, String, String, boolean) - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
queryEvents(Date, Date, String, String, String, boolean) - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Get a list of events matching the date and filter criteria.
queryEvents(Date, Date, List<String>, boolean) - Method in class org.xwiki.contrib.moccacalendar.script.MoccaCalendarScriptService
Gets the union of events on a set of wikis.

R

RecurrentEventGenerator - Interface in org.xwiki.contrib.moccacalendar
A generator that creates actual event instances from a given recurrent event.

S

setAllDay(boolean) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the flag if the event lasts all day.
setBackgroundColor(String) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the background color.
setDescription(String) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the longer description of the event.
setDescriptionHtml(String) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the longer description as HTML.
setEndDate(DateTime) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the end date for the event.
setEndDateExclusive(DateTime) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set a date after the event has ended.
setEventDocRef(DocumentReference) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the reference to the document describing the event.
setModifiable(boolean) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the indicator if this event is modifiable.
setMovable(boolean) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the indicator if this event is movable.
setOriginalStartDate(DateTime) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the date when the event would have started if not modified.
setRecurrent(boolean) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the recurrency flag.
setSource(String) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the name of the source which has created this event.
setStartDate(DateTime) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the start date of the event.
setTextColor(String) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the font color to be used when displaying the event.
setTitle(String) - Method in class org.xwiki.contrib.moccacalendar.EventInstance
Set the title of the event.
storeUID(String) - Method in class org.xwiki.contrib.moccacalendar.importJob.ImportJobStatus
Update the events UID that have already been used.
A C E G I M O Q R S 
All Classes All Packages