Show / Hide Table of Contents

Class AppointmentInfoProvider

Implementation of IAppointmentInfo; create through factory (see remarks)

Inheritance
Object
AppointmentInfoProvider
Implements
IAppointmentInfo3
IAppointmentInfo2
IAppointmentInfo
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Entities.Providers
Assembly: SoDataBase.dll
Syntax
public class AppointmentInfoProvider : IAppointmentInfo3, IAppointmentInfo2, IAppointmentInfo
Remarks

To create an instance of AppointmentInfoProvider, use

var info = ClassFactory.Create<IAppointmentInfo>(appnt);

where appnt is a Appointment, to use an already-loaded entity object (that may also contain unsaved data); or where cont is an int that is a contactId, which will cause database fetches. The factory methods at the bottom of this class will handle both cases.

If you are in the Cpp world, or otherwise have unsaved data that you would want to use without incurring the overhead of an entity object, instantiate a SimpleAppointmentInfo instead, fully populate it, and pass that to the factory.

Properties

Appointment

Declaration
public Appointment Appointment { get; }
Property Value
Type Description
Appointment

AppointmentId

Declaration
public int AppointmentId { get; }
Property Value
Type Description
Int32

AssociateId

Declaration
public int AssociateId { get; }
Property Value
Type Description
Int32

AssociateName

Declaration
public string AssociateName { get; }
Property Value
Type Description
String

AssociateOwnerName

Name of owner associate If this is a child booking, we want to look to the mother appointment's owner

Declaration
public string AssociateOwnerName { get; }
Property Value
Type Description
String

ContactId

Declaration
public int ContactId { get; }
Property Value
Type Description
Int32

ContactName

Declaration
public string ContactName { get; }
Property Value
Type Description
String

CreationDate

Declaration
public string CreationDate { get; }
Property Value
Type Description
String

CreationTime

Declaration
public string CreationTime { get; }
Property Value
Type Description
String

Description

Declaration
public string Description { get; }
Property Value
Type Description
String

DescriptionLine

Declaration
public string DescriptionLine { get; }
Property Value
Type Description
String

EMail

Declaration
public string EMail { get; }
Property Value
Type Description
String

EndDate

Declaration
public string EndDate { get; }
Property Value
Type Description
String

EndTime

Declaration
public string EndTime { get; }
Property Value
Type Description
String

FreeBusy

Declaration
public string FreeBusy { get; }
Property Value
Type Description
String

ICalId

Unique id made for iCal. SerialnoDappointmentIdDinvitedIdDupdated. Where D is a separator

Declaration
public string ICalId { get; }
Property Value
Type Description
String

ICalPriority

Declaration
public int ICalPriority { get; }
Property Value
Type Description
Int32

InvitationClickText

The connection from "Use this link to open the Invitation dialog in SuperOffice"" shown for registered contacts. Blank if the recipient not is a registered contact.

Declaration
public string InvitationClickText { get; }
Property Value
Type Description
String

InvitationFormattedList

Declaration
public string InvitationFormattedList { get; }
Property Value
Type Description
String

InvitationUrl

The connection from "superoffice:invitations" to the invitation dialog box

Declaration
public string InvitationUrl { get; }
Property Value
Type Description
String

InvitedList

Declaration
public string InvitedList { get; }
Property Value
Type Description
String

InviteeId

Appointments invitee person id

Declaration
public int InviteeId { get; }
Property Value
Type Description
Int32

InviteeName

Appointments invitee person name

Declaration
public string InviteeName { get; }
Property Value
Type Description
String

IsMilestone

Declaration
public string IsMilestone { get; }
Property Value
Type Description
String

JoinMeetingUrl

Declaration
public string JoinMeetingUrl { get; }
Property Value
Type Description
String

Location

Declaration
public string Location { get; }
Property Value
Type Description
String

MainRepeatingPattern

Declaration
public string MainRepeatingPattern { get; }
Property Value
Type Description
String

MotherAppointment

Declaration
public Appointment MotherAppointment { get; }
Property Value
Type Description
Appointment

OldStartDate

Declaration
public string OldStartDate { get; }
Property Value
Type Description
String

OldStartTime

Declaration
public string OldStartTime { get; }
Property Value
Type Description
String

PersonId

Declaration
public int PersonId { get; }
Property Value
Type Description
Int32

PersonName

Declaration
public string PersonName { get; }
Property Value
Type Description
String

PreferredTZLocation

Declaration
public int PreferredTZLocation { get; }
Property Value
Type Description
Int32

Priority

Declaration
public string Priority { get; }
Property Value
Type Description
String

PriorityId

Declaration
public int PriorityId { get; }
Property Value
Type Description
Int32

ProjectId

Declaration
public int ProjectId { get; }
Property Value
Type Description
Int32

ProjectName

Declaration
public string ProjectName { get; }
Property Value
Type Description
String

PublishEndDate

Declaration
public string PublishEndDate { get; }
Property Value
Type Description
String

PublishStartDate

Declaration
public string PublishStartDate { get; }
Property Value
Type Description
String

RepeatingAppointmentId

Declaration
public int RepeatingAppointmentId { get; }
Property Value
Type Description
Int32

RepeatingEndDate

Declaration
public string RepeatingEndDate { get; }
Property Value
Type Description
String

RepeatingPattern

The entire appointment's repeating pattern, formatted as "RRULE:" + bpat + bsub + bunt

Declaration
public string RepeatingPattern { get; }
Property Value
Type Description
String

RepeatingPatternEnd

Declaration
public string RepeatingPatternEnd { get; }
Property Value
Type Description
String

RepeatingPatternText

Declaration
public string RepeatingPatternText { get; }
Property Value
Type Description
String

RepeatingPatternText2

Declaration
public string RepeatingPatternText2 { get; }
Property Value
Type Description
String

RepeatingPatternWeekStart

Declaration
public string RepeatingPatternWeekStart { get; }
Property Value
Type Description
String

RepeatingStartDate

Declaration
public string RepeatingStartDate { get; }
Property Value
Type Description
String

RepeatingTooltip

Declaration
public string RepeatingTooltip { get; }
Property Value
Type Description
String

StartDate

Declaration
public string StartDate { get; }
Property Value
Type Description
String

StartDateLabel

Declaration
public string StartDateLabel { get; }
Property Value
Type Description
String

StartDateTimeAndDuration

The appointment's date and time. E.g. 30.03.2005 (16:00)-(17:00).

Declaration
public string StartDateTimeAndDuration { get; }
Property Value
Type Description
String

StartTime

Declaration
public string StartTime { get; }
Property Value
Type Description
String

State

Declaration
public string State { get; }
Property Value
Type Description
String

SubRepeatingPattern

Declaration
public string SubRepeatingPattern { get; }
Property Value
Type Description
String

SuggestedAppointmentId

Declaration
public int SuggestedAppointmentId { get; }
Property Value
Type Description
Int32

Type

Activitytype

Declaration
public string Type { get; }
Property Value
Type Description
String

UpdatedCount

Declaration
public int UpdatedCount { get; }
Property Value
Type Description
Int32

UpdatedDate

Declaration
public string UpdatedDate { get; }
Property Value
Type Description
String

UpdatedTime

Declaration
public string UpdatedTime { get; }
Property Value
Type Description
String

Methods

GetUserDefinedDecimal(Int32)

Return a user defined value of type decimal

Declaration
public string GetUserDefinedDecimal(int fieldNo)
Parameters
Type Name Description
Int32 fieldNo

Index of field to retrieve value for

Returns
Type Description
String

String representation of the value of specified field

GetUserDefinedDecimal(String)

Get the decimal udef value based on the prog.id name of the udef field.

Declaration
public double GetUserDefinedDecimal(string progId)
Parameters
Type Name Description
String progId

Program name of udef field

Returns
Type Description
Double

double value of field, or NAN if field not found

GetUserDefinedInt(Int32)

Return a user defined value of type int

Declaration
public string GetUserDefinedInt(int fieldNo)
Parameters
Type Name Description
Int32 fieldNo

Index of field to retrieve value for

Returns
Type Description
String

String representation of the value of specified field

GetUserDefinedInt(String)

Get the int udef value based on the prog.id name of the udef field.

Declaration
public int GetUserDefinedInt(string progId)
Parameters
Type Name Description
String progId

Program name of udef field

Returns
Type Description
Int32

int value of field, or MINVALUE if field not found

GetUserDefinedString(Int32)

Return a user defined value of type string

Declaration
public string GetUserDefinedString(int fieldNo)
Parameters
Type Name Description
Int32 fieldNo

Index of field to retrieve value for

Returns
Type Description
String

Value of specified field

GetUserDefinedString(String)

Get the string udef value based on the prog.id name of the udef field.

Declaration
public string GetUserDefinedString(string progId)
Parameters
Type Name Description
String progId

Program name of udef field

Returns
Type Description
String

string value of field, or NULL if field not found

Implements

IAppointmentInfo3
IAppointmentInfo2
IAppointmentInfo

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