Class ProjectEventListItem
Summary description for ProjectEventListItem.
Inherited Members
Namespace: SuperOffice.CRM.Archives
Assembly: SoDataBase.dll
Syntax
public sealed class ProjectEventListItem : ListItemBase<ProjectEventList.ProjectEventListQuery>
Constructors
ProjectEventListItem(ProjectEventList.ProjectEventListQuery, SoDataReader)
Default constructor
Declaration
public ProjectEventListItem(ProjectEventList.ProjectEventListQuery query, SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
ProjectEventList.ProjectEventListQuery | query | |
SoDataReader | reader |
Properties
AssociateFullName
Name of the person that ows the event (i.e. project)
Declaration
public string AssociateFullName { get; }
Property Value
Type | Description |
---|---|
String |
AssociateId
Id of the person that ows the event (i.e. project)
Declaration
public int AssociateId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Description
The event description (i.e. the project text)
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
String |
Enabled
If true the event is enabled (visible)
Declaration
public bool Enabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
EventDate
Date of the event. Event is not visible after this date.
Declaration
public DateTime EventDate { get; }
Property Value
Type | Description |
---|---|
DateTime |
EventName
The name of the event (i.e. the project name)
Declaration
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
IsSignedOn
True if the current user is signed on to the event (i.e. is project member)
Declaration
public bool IsSignedOn { get; }
Property Value
Type | Description |
---|---|
Boolean |
ProjectId
Id of the project that represents the event
Declaration
public int ProjectId { get; }
Property Value
Type | Description |
---|---|
Int32 |
SignOff
If true, it is possible to sign off the event.
Declaration
public bool SignOff { get; }
Property Value
Type | Description |
---|---|
Boolean |
SignOffConfirmationText
Text shown as confirmation text before accepting sign off.
Declaration
public string SignOffConfirmationText { get; }
Property Value
Type | Description |
---|---|
String |
SignOffPersonId
If 0, the sign off activity should go into the person's Our Contact; if not 0, this is the Person whose diary should get the activity.
Declaration
public int SignOffPersonId { get; }
Property Value
Type | Description |
---|---|
Int32 |
SignOffTaskEnable
If true, a task should be created when the external user signs off an event
Declaration
public bool SignOffTaskEnable { get; }
Property Value
Type | Description |
---|---|
Boolean |
SignOffTaskId
If not 0, sign off should cause an Activity of this type to be registered
Declaration
public int SignOffTaskId { get; }
Property Value
Type | Description |
---|---|
Int32 |
SignOffText
Default text for the activity created when signing off.
Declaration
public string SignOffText { get; }
Property Value
Type | Description |
---|---|
String |
SignOffTriggersAssign
If true, the sign off task should be created as an Assigned task, triggering the invitation dialog
Declaration
public bool SignOffTriggersAssign { get; }
Property Value
Type | Description |
---|---|
Boolean |
SignOn
If true, it is possible to sign on the event.
Declaration
public bool SignOn { get; }
Property Value
Type | Description |
---|---|
Boolean |
SignOnConfirmationText
Text shown as confirmation text before accepting sign on.
Declaration
public string SignOnConfirmationText { get; }
Property Value
Type | Description |
---|---|
String |
SignOnPersonId
If 0, the sign on activity should go into the person's Our Contact; if not 0, this is the Person whose diary should get the activity.
Declaration
public int SignOnPersonId { get; }
Property Value
Type | Description |
---|---|
Int32 |
SignOnTaskEnable
If true, a task should be created when the external user signs on an event
Declaration
public bool SignOnTaskEnable { get; }
Property Value
Type | Description |
---|---|
Boolean |
SignOnTaskId
If not 0, sign on should cause an Activity of this type to be registered
Declaration
public int SignOnTaskId { get; }
Property Value
Type | Description |
---|---|
Int32 |
SignOnText
Default text for the activity created when signing on.
Declaration
public string SignOnText { get; }
Property Value
Type | Description |
---|---|
String |
SignOnTriggersAssign
If true, the sign on task should be created as an Assigned task, triggering the invitation dialog
Declaration
public bool SignOnTriggersAssign { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
GetProjectEventListItem(Int32)
Summary description for ProjectEventListItem.
Declaration
public static ProjectEventListItem GetProjectEventListItem(int projectId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId |
Returns
Type | Description |
---|---|
ProjectEventListItem |
GetProjectEventListItemOnPerson(Int32, Int32)
Summary description for ProjectEventListItem.
Declaration
public static ProjectEventListItem GetProjectEventListItemOnPerson(int projectId, int personId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | projectId | |
Int32 | personId |
Returns
Type | Description |
---|---|
ProjectEventListItem |
Initialize()
Initializes all class-members.
Declaration
protected override void Initialize()
Overrides
Load(ProjectEventList.ProjectEventListQuery, SoDataReader)
Responsible for reading the current row in the data reader and insert the value in the right part ob the object.
Declaration
protected override void Load(ProjectEventList.ProjectEventListQuery query, SoDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
ProjectEventList.ProjectEventListQuery | query | |
SoDataReader | reader | The reader contains the items data. |