Show / Hide Table of Contents

Interface IBookingManager

Namespace: SuperOffice.CRM.Entities
Assembly: SoDataBase.dll
Syntax
public interface IBookingManager

Methods

AcceptAppointmentAsync(AppointmentRow, CancellationToken)

Declaration
Task AcceptAppointmentAsync(AppointmentRow appointment, CancellationToken cancellationToken = default)
Parameters
Type Name Description
AppointmentRow appointment
CancellationToken cancellationToken
Returns
Type Description
Task

AcceptRejectedAppointmentAsync(AppointmentRow, CancellationToken)

Declaration
Task AcceptRejectedAppointmentAsync(AppointmentRow appointmentRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
AppointmentRow appointmentRow
CancellationToken cancellationToken
Returns
Type Description
Task

AssignToAsync(AppointmentRow, ParticipantInfo, CancellationToken)

Declaration
Task AssignToAsync(AppointmentRow row, ParticipantInfo participant, CancellationToken cancellationToken = default)
Parameters
Type Name Description
AppointmentRow row
ParticipantInfo participant
CancellationToken cancellationToken
Returns
Type Description
Task

AssignToExternalOrganizer(AppointmentRow, ParticipantInfo)

Declaration
void AssignToExternalOrganizer(AppointmentRow row, ParticipantInfo participant)
Parameters
Type Name Description
AppointmentRow row
ParticipantInfo participant

CreateAppointmentForParticipantAsync(AppointmentRow, ParticipantInfo, CancellationToken)

Declaration
Task<AppointmentRow> CreateAppointmentForParticipantAsync(AppointmentRow mainBooking, ParticipantInfo participant, CancellationToken cancellationToken = default)
Parameters
Type Name Description
AppointmentRow mainBooking
ParticipantInfo participant
CancellationToken cancellationToken
Returns
Type Description
Task<AppointmentRow>

GetAppointmentDeleteAction(Appointment, InvitationStatus)

Declaration
AppointmentDeleteAction GetAppointmentDeleteAction(Appointment appointment, InvitationStatus invitationStatus)
Parameters
Type Name Description
Appointment appointment
InvitationStatus invitationStatus
Returns
Type Description
AppointmentDeleteAction

GetAppointmentDeleteAction(AppointmentRow, InvitationStatus)

Declaration
AppointmentDeleteAction GetAppointmentDeleteAction(AppointmentRow appointmentRow, InvitationStatus invitationStatus)
Parameters
Type Name Description
AppointmentRow appointmentRow
InvitationStatus invitationStatus
Returns
Type Description
AppointmentDeleteAction

GetBookingType(Appointment)

Declaration
BookingType GetBookingType(Appointment appointment)
Parameters
Type Name Description
Appointment appointment
Returns
Type Description
BookingType

GetBookingType(AppointmentRow)

Declaration
BookingType GetBookingType(AppointmentRow appointmentRow)
Parameters
Type Name Description
AppointmentRow appointmentRow
Returns
Type Description
BookingType

GetBookingType(int, int)

Declaration
BookingType GetBookingType(int appointmentId, int motherId)
Parameters
Type Name Description
int appointmentId
int motherId
Returns
Type Description
BookingType

HasAccepted(AppointmentRow)

Declaration
bool HasAccepted(AppointmentRow appointment)
Parameters
Type Name Description
AppointmentRow appointment
Returns
Type Description
bool

IsAppointmentAssignment(Appointment)

Declaration
bool IsAppointmentAssignment(Appointment appointment)
Parameters
Type Name Description
Appointment appointment
Returns
Type Description
bool

IsAppointmentAssignment(AppointmentRow)

Declaration
bool IsAppointmentAssignment(AppointmentRow appointmentRow)
Parameters
Type Name Description
AppointmentRow appointmentRow
Returns
Type Description
bool

IsAppointmentBooking(Appointment)

Declaration
bool IsAppointmentBooking(Appointment appointment)
Parameters
Type Name Description
Appointment appointment
Returns
Type Description
bool

IsAppointmentBooking(AppointmentRow)

Declaration
bool IsAppointmentBooking(AppointmentRow appointmentRow)
Parameters
Type Name Description
AppointmentRow appointmentRow
Returns
Type Description
bool

IsAppointmentChildBooking(Appointment)

Declaration
bool IsAppointmentChildBooking(Appointment appointment)
Parameters
Type Name Description
Appointment appointment
Returns
Type Description
bool

IsAppointmentChildBooking(AppointmentRow)

Declaration
bool IsAppointmentChildBooking(AppointmentRow appointmentRow)
Parameters
Type Name Description
AppointmentRow appointmentRow
Returns
Type Description
bool

IsAppointmentIncludedInParticipantList(AppointmentRow)

Declaration
bool IsAppointmentIncludedInParticipantList(AppointmentRow appointment)
Parameters
Type Name Description
AppointmentRow appointment
Returns
Type Description
bool

IsAppointmentMainBooking(Appointment)

Declaration
bool IsAppointmentMainBooking(Appointment appointment)
Parameters
Type Name Description
Appointment appointment
Returns
Type Description
bool

IsAppointmentMainBooking(AppointmentRow)

Declaration
bool IsAppointmentMainBooking(AppointmentRow appointmentRow)
Parameters
Type Name Description
AppointmentRow appointmentRow
Returns
Type Description
bool

IsAppointmentStatusSimilar(AppointmentStatus, AppointmentStatus)

Declaration
bool IsAppointmentStatusSimilar(AppointmentStatus originalStaus, AppointmentStatus compareStatus)
Parameters
Type Name Description
AppointmentStatus originalStaus
AppointmentStatus compareStatus
Returns
Type Description
bool

IsEmailParticipant(AppointmentRow)

Declaration
bool IsEmailParticipant(AppointmentRow appointment)
Parameters
Type Name Description
AppointmentRow appointment
Returns
Type Description
bool

IsExternalPersonAsync(ParticipantInfo, CancellationToken)

Declaration
Task<bool> IsExternalPersonAsync(ParticipantInfo participantInfo, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ParticipantInfo participantInfo
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

ModifyAppointmentForParticipant(AppointmentRow, AppointmentRow)

Declaration
BookingManagerModified ModifyAppointmentForParticipant(AppointmentRow mainBooking, AppointmentRow childBooking)
Parameters
Type Name Description
AppointmentRow mainBooking
AppointmentRow childBooking
Returns
Type Description
BookingManagerModified

RejectAppointmentAsync(AppointmentRow, string, CancellationToken)

Declaration
Task RejectAppointmentAsync(AppointmentRow appointmentRow, string rejectReason, CancellationToken cancellationToken = default)
Parameters
Type Name Description
AppointmentRow appointmentRow
string rejectReason
CancellationToken cancellationToken
Returns
Type Description
Task

SetAppointmentToIncludedInParticipantList(AppointmentRow)

Declaration
void SetAppointmentToIncludedInParticipantList(AppointmentRow appointmentRow)
Parameters
Type Name Description
AppointmentRow appointmentRow

SetAppointmentToRemovedFromParticipantListAsync(AppointmentRow, int, CancellationToken)

Declaration
Task SetAppointmentToRemovedFromParticipantListAsync(AppointmentRow appointmentRow, int diaryOwner, CancellationToken cancellationToken = default)
Parameters
Type Name Description
AppointmentRow appointmentRow
int diaryOwner
CancellationToken cancellationToken
Returns
Type Description
Task

SetAppointmentToRemovedFromParticipantListAsync(AppointmentRow, CancellationToken)

Declaration
Task SetAppointmentToRemovedFromParticipantListAsync(AppointmentRow appointmentRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
AppointmentRow appointmentRow
CancellationToken cancellationToken
Returns
Type Description
Task

SetSeen(AppointmentRow)

Declaration
void SetSeen(AppointmentRow appointmentRow)
Parameters
Type Name Description
AppointmentRow appointmentRow

ValidateAppointmentAsync(bool, bool, AppointmentRow, CancellationToken)

Declaration
Task ValidateAppointmentAsync(bool isBookingMaster, bool isBooking, AppointmentRow appointmentRow, CancellationToken cancellationToken = default)
Parameters
Type Name Description
bool isBookingMaster
bool isBooking
AppointmentRow appointmentRow
CancellationToken cancellationToken
Returns
Type Description
Task

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top