Event
Access path: PublicAPI.Portal.CalendarEventMethods
Name | Description | |
---|---|---|
CalendarEventBuilder |
Помощник для создания события календаря
| |
CalendarEventPeriodicalBuilder |
Помощник для создания переодического события календаря
| |
CheckEvents(DateTime, DateTime, Schedule) |
Check, if there are overlapping events in the calendar
| |
CheckEvents(DateTime, DateTime, User) |
Check, if the user has overlapping events
| |
Count |
Returns the total number of objects of this type
| |
Count(IEntityFilter) |
Get Total Number of Objects by Filter
| |
Create |
Create New Entity (without a Database entry)
| |
Create(IEnumerable User , DateTime, DateTime, String) |
Creates an event for personal calendars to the users list
| |
Create(IEnumerable User , DateTime, DateTime, String, String) |
Creates an event for personal calendars to the users list
| |
Create(IEnumerable User , IEnumerable Schedule , DateTime, DateTime, String, String) |
Creates an user group event for the general calendar
| |
Create(IEnumerable User , DateTime, DateTime, String, String, String) |
Creates an event for personal calendars to the users list
| |
Create(IEnumerable User , IEnumerable Schedule , DateTime, DateTime, String, String, String) |
Creates an user group event for the general calendar
| |
CreateReminder(User, CalendarEvent, DateTime) |
Create a reminder for a calendar event
| |
CreateReminder(User, CalendarEvent, TimeSpan) |
Create a reminder for a calendar event
| |
Delete(CalendarEvent) |
Delete Object
| |
Delete(CalendarEvent, Boolean) |
Delete the event
| |
Filter |
Creates an assistant for working with the "Event" object filter
| |
Find(FetchOptions) |
Find objects according to fetch options
| |
Find(String) |
Find objects according to the filter in the EQL language
| |
Find(IEntityFilter, FetchOptions) |
Fing objects according to fetch options and filter
| |
FindByIdArray |
Find All Objects by Array IDs
| |
GetCalendarItems |
Get all the calendar objects
| |
IsDirty |
Check, if there are unsaved changes in the object
| |
IsNew |
Check, if the object is new (not saved in the database)
| |
Load(Guid) |
Load by UID. If not found, an exception is invoked
| |
Load(Int64) |
Load Event by ID
| |
LoadOrCreate(Guid) |
Load by ID. If not found, the new object is returned
| |
LoadOrCreate(Int64) |
Load by ID. If not found, the new object is returned
| |
LoadOrNull(Guid) |
Load Event by UID
| |
LoadOrNull(Int64) |
Load Event by ID
| |
Refresh |
Refresh (read over) Object from Database
| |
Save |
Save Object to Database
|
Properties
Name | Description | |
---|---|---|
Permissions |
Permissions
| |
TypeUid |
Returns the unique object identifier "Event"
|
Remarks
Examples
Create a calendar event for a user list
//event place var place = "Место для события"; //event subject var theme = "Event Subject"; //описание события var desc = "Event Description"; //create an event var calendarEvent = PublicAPI.Portal.CalendarEvent.Create(context.UserList, DateTime.Now, DateTime.Now.AddDays(3), theme, place, desc);
Create a calendar event reminder
var myReminder = PublicAPI.Portal.CalendarEvent.CreateReminder(context.User, calendarEvent, DateTime.Now.AddDays(2).AddHours(3));
See Also