Show / Hide Table of Contents

Class NSProjectEventEntity

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Syntax

Constructors

NSProjectEventEntity()

Initializes a new instance of the NSProjectEventEntity class.

Declaration
NSProjectEventEntity

Methods

GetCreatedBy()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
NSAssociate GetCreatedBy()
Returns
Type Description
NSAssociate

The person that created the project event.

Examples
NSProjectEventEntity thing;
NSAssociate createdBy = thing.GetCreatedBy();

GetCreatedDate()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
DateTime GetCreatedDate()
Returns
Type Description
DateTime

Registered when.

Examples
NSProjectEventEntity thing;
DateTime createdDate = thing.GetCreatedDate();

GetEnabled()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetEnabled()
Returns
Type Description
Bool

Is the event enabled.

Examples
NSProjectEventEntity thing;
Bool enabled = thing.GetEnabled();

GetEventDate()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
DateTime GetEventDate()
Returns
Type Description
DateTime

Date of the event; publishing/visibility dates are in Publish, and restrictions are in AudienceVisibility.

Examples
NSProjectEventEntity thing;
DateTime eventDate = thing.GetEventDate();

GetId()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Integer GetId()
Returns
Type Description
Integer

ID of the external event.

Examples
NSProjectEventEntity thing;
Integer id = thing.GetId();

GetIsPublished()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetIsPublished()
Returns
Type Description
Bool

Publish to external users? When true, the event/project information is visible to external users through the Audience portal. You can control the publish duration using the PublishFrom/PublishTo properties.

Examples
NSProjectEventEntity thing;
Bool isPublished = thing.GetIsPublished();

GetIsVisibleForCategories()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetIsVisibleForCategories()
Returns
Type Description
Bool
Examples
NSProjectEventEntity thing;
Bool isVisibleForCategories = thing.GetIsVisibleForCategories();

GetIsVisibleForMembers()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetIsVisibleForMembers()
Returns
Type Description
Bool
Examples
NSProjectEventEntity thing;
Bool isVisibleForMembers = thing.GetIsVisibleForMembers();

GetIsVisibleForPersonInterests()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetIsVisibleForPersonInterests()
Returns
Type Description
Bool
Examples
NSProjectEventEntity thing;
Bool isVisibleForPersonInterests = thing.GetIsVisibleForPersonInterests();

GetProjectEventId()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Integer GetProjectEventId()
Returns
Type Description
Integer

Primary key.

Examples
NSProjectEventEntity thing;
Integer projectEventId = thing.GetProjectEventId();

GetProjectId()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Integer GetProjectId()
Returns
Type Description
Integer

The projectId for the project this projectEvent belongs to.

Examples
NSProjectEventEntity thing;
Integer projectId = thing.GetProjectId();

GetPublishFrom()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
DateTime GetPublishFrom()
Returns
Type Description
DateTime

Publication valid from (inclusive).

Examples
NSProjectEventEntity thing;
DateTime publishFrom = thing.GetPublishFrom();

GetPublishTo()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
DateTime GetPublishTo()
Returns
Type Description
DateTime

Publication valid to (inclusive).

Examples
NSProjectEventEntity thing;
DateTime publishTo = thing.GetPublishTo();

GetPublishType()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Integer GetPublishType()
Returns
Type Description
Integer

Type of publishing action. See PublishType

Examples
NSProjectEventEntity thing;
Integer publishType = thing.GetPublishType();

GetSignOff()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetSignOff()
Returns
Type Description
Bool

Is Sign Off functionality enabled?

Examples
NSProjectEventEntity thing;
Bool signOff = thing.GetSignOff();

GetSignOffConfirmationText()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
String GetSignOffConfirmationText()
Returns
Type Description
String

Text shown as confirmation text before accepting sign off.

Examples
NSProjectEventEntity thing;
String signOffConfirmationText = thing.GetSignOffConfirmationText();

GetSignOffTaskEnable()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetSignOffTaskEnable()
Returns
Type Description
Bool

If not 0, a task should be created when the external user Signs Off an event.

Examples
NSProjectEventEntity thing;
Bool signOffTaskEnable = thing.GetSignOffTaskEnable();

GetSignOffTaskId()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Integer GetSignOffTaskId()
Returns
Type Description
Integer

If not 0, sign off should cause an Activity of this type to be registered.

Examples
NSProjectEventEntity thing;
Integer signOffTaskId = thing.GetSignOffTaskId();

GetSignOffText()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
String GetSignOffText()
Returns
Type Description
String

Default text for the activity created when signing off.

Examples
NSProjectEventEntity thing;
String signOffText = thing.GetSignOffText();

GetSignOffTriggersAssign()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetSignOffTriggersAssign()
Returns
Type Description
Bool

If 1, the SignOff task should be created as an Assigned task, triggering the invitation dialog.

Examples
NSProjectEventEntity thing;
Bool signOffTriggersAssign = thing.GetSignOffTriggersAssign();

GetSignOn()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetSignOn()
Returns
Type Description
Bool

Is Sign On functionality enabled.

Examples
NSProjectEventEntity thing;
Bool signOn = thing.GetSignOn();

GetSignOnConfirmationText()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
String GetSignOnConfirmationText()
Returns
Type Description
String

Text shown as confirmation text before accepting sign on.

Examples
NSProjectEventEntity thing;
String signOnConfirmationText = thing.GetSignOnConfirmationText();

GetSignOnTaskEnable()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetSignOnTaskEnable()
Returns
Type Description
Bool

If not 0, a task should be created when the external user Signs On to an event.

Examples
NSProjectEventEntity thing;
Bool signOnTaskEnable = thing.GetSignOnTaskEnable();

GetSignOnTaskId()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Integer GetSignOnTaskId()
Returns
Type Description
Integer

If not 0, sign on should cause an Activity of this type to be registered.

Examples
NSProjectEventEntity thing;
Integer signOnTaskId = thing.GetSignOnTaskId();

GetSignOnText()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
String GetSignOnText()
Returns
Type Description
String

Default text for the activity created when signing on.

Examples
NSProjectEventEntity thing;
String signOnText = thing.GetSignOnText();

GetSignOnTriggersAssign()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Bool GetSignOnTriggersAssign()
Returns
Type Description
Bool

If 1, the SignOn task should be created as an Assigned task, triggering the invitation dialog.

Examples
NSProjectEventEntity thing;
Bool signOnTriggersAssign = thing.GetSignOnTriggersAssign();

GetUpdatedBy()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
NSAssociate GetUpdatedBy()
Returns
Type Description
NSAssociate

The person that last updated the project event.

Examples
NSProjectEventEntity thing;
NSAssociate updatedBy = thing.GetUpdatedBy();

GetUpdatedDate()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
DateTime GetUpdatedDate()
Returns
Type Description
DateTime

Last updated when.

Examples
NSProjectEventEntity thing;
DateTime updatedDate = thing.GetUpdatedDate();

GetVisibleForCategories()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
NSMDOListItem[] GetVisibleForCategories()
Returns
Type Description
NSMDOListItem[]

Array of categories that the event is visible for. MDO Table category.

Examples
NSProjectEventEntity thing;
NSMDOListItem[] visibleForCategories = thing.GetVisibleForCategories();

GetVisibleForPersonInterests()

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
NSMDOListItem[] GetVisibleForPersonInterests()
Returns
Type Description
NSMDOListItem[]

Array of person interests (MDO table persint) that this event is visible for.

Examples
NSProjectEventEntity thing;
NSMDOListItem[] visibleForPersonInterests = thing.GetVisibleForPersonInterests();

SetCreatedBy(NSAssociate)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetCreatedBy(NSAssociate createdBy)
Parameters
Type Name Description
NSAssociate createdBy

The person that created the project event.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
NSAssociate createdBy;
thing.SetCreatedBy(createdBy);

SetCreatedDate(DateTime)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetCreatedDate(DateTime createdDate)
Parameters
Type Name Description
DateTime createdDate

Registered when.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
DateTime createdDate;
thing.SetCreatedDate(createdDate);

SetEnabled(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetEnabled(Bool enabled)
Parameters
Type Name Description
Bool enabled

Is the event enabled.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool enabled;
thing.SetEnabled(enabled);

SetEventDate(DateTime)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetEventDate(DateTime eventDate)
Parameters
Type Name Description
DateTime eventDate

Date of the event; publishing/visibility dates are in Publish, and restrictions are in AudienceVisibility.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
DateTime eventDate;
thing.SetEventDate(eventDate);

SetId(Integer)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetId(Integer id)
Parameters
Type Name Description
Integer id

ID of the external event.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Integer id;
thing.SetId(id);

SetIsPublished(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetIsPublished(Bool isPublished)
Parameters
Type Name Description
Bool isPublished

Publish to external users? When true, the event/project information is visible to external users through the Audience portal. You can control the publish duration using the PublishFrom/PublishTo properties.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool isPublished;
thing.SetIsPublished(isPublished);

SetIsVisibleForCategories(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetIsVisibleForCategories(Bool isVisibleForCategories)
Parameters
Type Name Description
Bool isVisibleForCategories
Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool isVisibleForCategories;
thing.SetIsVisibleForCategories(isVisibleForCategories);

SetIsVisibleForMembers(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetIsVisibleForMembers(Bool isVisibleForMembers)
Parameters
Type Name Description
Bool isVisibleForMembers
Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool isVisibleForMembers;
thing.SetIsVisibleForMembers(isVisibleForMembers);

SetIsVisibleForPersonInterests(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetIsVisibleForPersonInterests(Bool isVisibleForPersonInterests)
Parameters
Type Name Description
Bool isVisibleForPersonInterests
Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool isVisibleForPersonInterests;
thing.SetIsVisibleForPersonInterests(isVisibleForPersonInterests);

SetProjectEventId(Integer)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetProjectEventId(Integer projectEventId)
Parameters
Type Name Description
Integer projectEventId

Primary key.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Integer projectEventId;
thing.SetProjectEventId(projectEventId);

SetProjectId(Integer)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetProjectId(Integer projectId)
Parameters
Type Name Description
Integer projectId

The projectId for the project this projectEvent belongs to.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Integer projectId;
thing.SetProjectId(projectId);

SetPublishFrom(DateTime)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetPublishFrom(DateTime publishFrom)
Parameters
Type Name Description
DateTime publishFrom

Publication valid from (inclusive).

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
DateTime publishFrom;
thing.SetPublishFrom(publishFrom);

SetPublishTo(DateTime)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetPublishTo(DateTime publishTo)
Parameters
Type Name Description
DateTime publishTo

Publication valid to (inclusive).

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
DateTime publishTo;
thing.SetPublishTo(publishTo);

SetPublishType(Integer)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetPublishType(Integer publishType)
Parameters
Type Name Description
Integer publishType

Type of publishing action. See PublishType.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Integer publishType;
thing.SetPublishType(publishType);

SetSignOff(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOff(Bool signOff)
Parameters
Type Name Description
Bool signOff

Is Sign Off functionality enabled?

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool signOff;
thing.SetSignOff(signOff);

SetSignOffConfirmationText(String)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOffConfirmationText(String signOffConfirmationText)
Parameters
Type Name Description
String signOffConfirmationText

Text shown as confirmation text before accepting sign off.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
String signOffConfirmationText;
thing.SetSignOffConfirmationText(signOffConfirmationText);

SetSignOffTaskEnable(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOffTaskEnable(Bool signOffTaskEnable)
Parameters
Type Name Description
Bool signOffTaskEnable

If not 0, a task should be created when the external user Signs Off an event

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool signOffTaskEnable;
thing.SetSignOffTaskEnable(signOffTaskEnable);

SetSignOffTaskId(Integer)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOffTaskId(Integer signOffTaskId)
Parameters
Type Name Description
Integer signOffTaskId

If not 0, sign off should cause an Activity of this type to be registered.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Integer signOffTaskId;
thing.SetSignOffTaskId(signOffTaskId);

SetSignOffText(String)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOffText(String signOffText)
Parameters
Type Name Description
String signOffText

Default text for the activity created when signing off.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
String signOffText;
thing.SetSignOffText(signOffText);

SetSignOffTriggersAssign(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOffTriggersAssign(Bool signOffTriggersAssign)
Parameters
Type Name Description
Bool signOffTriggersAssign

If 1, the SignOff task should be created as an Assigned task, triggering the invitation dialog.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool signOffTriggersAssign;
thing.SetSignOffTriggersAssign(signOffTriggersAssign);

SetSignOn(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOn(Bool signOn)
Parameters
Type Name Description
Bool signOn

Is Sign On functionality enabled.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool signOn;
thing.SetSignOn(signOn);

SetSignOnConfirmationText(String)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOnConfirmationText(String signOnConfirmationText)
Parameters
Type Name Description
String signOnConfirmationText

Text shown as confirmation text before accepting sign on.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
String signOnConfirmationText;
thing.SetSignOnConfirmationText(signOnConfirmationText);

SetSignOnTaskEnable(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOnTaskEnable(Bool signOnTaskEnable)
Parameters
Type Name Description
Bool signOnTaskEnable

If not 0, a task should be created when the external user Signs On to an event.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool signOnTaskEnable;
thing.SetSignOnTaskEnable(signOnTaskEnable);

SetSignOnTaskId(Integer)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOnTaskId(Integer signOnTaskId)
Parameters
Type Name Description
Integer signOnTaskId

If not 0, sign on should cause an Activity of this type to be registered.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Integer signOnTaskId;
thing.SetSignOnTaskId(signOnTaskId);

SetSignOnText(String)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOnText(String signOnText)
Parameters
Type Name Description
String signOnText

Default text for the activity created when signing on.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
String signOnText;
thing.SetSignOnText(signOnText);

SetSignOnTriggersAssign(Bool)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetSignOnTriggersAssign(Bool signOnTriggersAssign)
Parameters
Type Name Description
Bool signOnTriggersAssign

If 1, the SignOn task should be created as an Assigned task, triggering the invitation dialog.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
Bool signOnTriggersAssign;
thing.SetSignOnTriggersAssign(signOnTriggersAssign);

SetUpdatedBy(NSAssociate)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetUpdatedBy(NSAssociate updatedBy)
Parameters
Type Name Description
NSAssociate CRMScript_NetServer_NSProjectEventEntity_SetUpdatedBy_NSAssociate_

The person that last updated the project event.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
NSAssociate updatedBy;
thing.SetUpdatedBy(updatedBy);

SetUpdatedDate(DateTime)

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetUpdatedDate(DateTime updatedDate)
Parameters
Type Name Description
DateTime CRMScript_NetServer_NSProjectEventEntity_SetUpdatedDate_DateTime_

Last updated when.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
DateTime updatedDate;
thing.SetUpdatedDate(updatedDate);

SetVisibleForCategories(NSMDOListItem[])

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetVisibleForCategories(NSMDOListItem[] visibleForCategories)
Parameters
Type Name Description
NSMDOListItem[] visibleForCategories

Array of categories that the event is visible for. MDO Table category.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
NSMDOListItem[] visibleForCategories;
thing.SetVisibleForCategories(visibleForCategories);

SetVisibleForPersonInterests(NSMDOListItem[])

The ProjectEvent Service. The service implements all services working with the ProjectEvent object

Declaration
Void SetVisibleForPersonInterests(NSMDOListItem[] visibleForPersonInterests)
Parameters
Type Name Description
NSMDOListItem[] visibleForPersonInterests

Array of person interests (MDO table persint) that this event is visible for.

Returns
Type Description
Void
Examples
NSProjectEventEntity thing;
NSMDOListItem[] visibleForPersonInterests;
thing.SetVisibleForPersonInterests(visibleForPersonInterests);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top