Ektron.Cms.Framework.Calendar.WebEventManager

Webevent Manager class

Properties
ApiMode Gets or sets the current API access mode. If set to Admin, the API runs with the permissions of an administrator.
ContentLanguage Gets or sets the current content language.
InPreviewMode Gets or sets the current Preview Mode. Returns true if the site is in site preview mode.
RequestInformation Gets the current Request Information.
SitePath Gets the site path.
UserId Gets or sets the currently logged in user ID.
WebEventManagerService Webevent manager service
Method Description
WebEventManager constructor
WebEventManager(ApiAccessMode) constructor
Add(WebEventData) Adds a new WebEvent object to Cms. The WebEvent.Id property will be populated with the new WebEvent's Id.
Update(WebEventData) Updates an existing WebEventData object in Cms.
Delete(Int64) Deletes a WebEvent from the Cms.
CreateVariance(Int64,DateTime) Creates a WebEventData object representing variance event for the supplied recurring event id. The WebEventData object has not been saved yet and should be passed to Add() when ready for saving.
CreateVariance(Int64,DateTime,DateTime) reates a WebEventData object representing variance event for the supplied recurring event id. The WebEventData object has not been saved yet and should be passed to Add() when ready for saving.
CancelOccurrence(Int64,DateTime) Cancels an occurence of a recurring event.
GetItem(Int64) Gets the fully populated EventData object for the supplied eventId.
GetList(Int64) Returns list of eventdata items for the calendar. This will only return the actual event items and not the occurrences of the event.
GetList(Int64,DateTime,DateTime) Returns list of eventdata items for the calendar. This will only return the actual event items and not the occurrences of the event.
GetList(WebEventCriteria) Returns a list of WebEvents based upon the supplied criteria.
GetNonVariantEventList(Int64) Returns list of original eventdata items for the calendar. For recurring events, this will only return the actual event items and not the occurrences or variants of recurring events.
GetNonVariantEventList(Int64,DateTime,DateTime) Returns list of original eventdata items for the calendar. For recurring events, this will only return the actual event items and not the occurrences or variants of recurring events.
GetVarianceEventList(Int64) Returns an EventVarianceDictionary containing all the variances for the supplied calendar in the given time frame.
GetVarianceEventList(Int64,DateTime,DateTime) Returns an EventVarianceDictionary containing all the variances for the supplied calendar in the given time frame.
GetEventOccurrenceList(Int64,DateTime,DateTime) Returns a list of events for the calendar that occur during the supplied time period. This will return all event occurrences including individual occurrences for recurring events.
GetEventOccurrenceList(Int64,DateTime,DateTime,List<Int64>) Returns a list of events for the calendar that occur during the supplied time period. This will return all event occurrences including individual occurrences for recurring events.