Class NSSelectionEntity
Constructors
NSSelectionEntity()
Initializes a new instance of the NSSelectionEntity class.
Declaration
NSSelectionEntity Methods
GetAssociate()
Declaration
NSAssociate GetAssociate() Examples
NSSelectionEntity thing;
NSAssociate associate = thing.GetAssociate();
Returns
| Type | Description |
| NSAssociate | Owner of the selection. |
GetChartKey()
Declaration
String GetChartKey() Examples
NSSelectionEntity thing;
String chartKey = thing.GetChartKey();
Returns
| Type | Description |
| String | ID/key of the last-used chart tile on this selection. |
GetCompanyUnique()
Declaration
Bool GetCompanyUnique() Examples
NSSelectionEntity thing;
Bool companyUnique = thing.GetCompanyUnique();
Returns
| Type | Description |
| Bool | Filter out duplicate members based on company? |
GetCompleted()
Declaration
Bool GetCompleted() Examples
NSSelectionEntity thing;
Bool completed = thing.GetCompleted();
Returns
| Type | Description |
| Bool | The Completed state. |
GetCreatedBy()
Declaration
NSAssociate GetCreatedBy() Examples
NSSelectionEntity thing;
NSAssociate createdBy = thing.GetCreatedBy();
Returns
| Type | Description |
| NSAssociate | Who created the selection. |
GetCreatedDate()
Declaration
DateTime GetCreatedDate() Examples
NSSelectionEntity thing;
DateTime createdDate = thing.GetCreatedDate();
Returns
| Type | Description |
| DateTime | Registered when. |
GetDescription()
Declaration
String GetDescription() Examples
NSSelectionEntity thing;
String description = thing.GetDescription();
Returns
| Type | Description |
| String | The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases. |
GetGroupIdx()
Declaration
Integer GetGroupIdx() Examples
NSSelectionEntity thing;
Integer groupIdx = thing.GetGroupIdx();
Returns
| Type | Description |
| Integer | Original primary user group of associate. |
GetIncludePerson()
Declaration
Integer GetIncludePerson() Examples
NSSelectionEntity thing;
Integer includePerson = thing.GetIncludePerson();
Returns
| Type | Description |
| Integer | 0 = Include first person, 1 = Include all persons, 2 = Include no persons. |
GetLastLoaded()
Declaration
DateTime GetLastLoaded() Examples
NSSelectionEntity thing;
DateTime lastLoaded = thing.GetLastLoaded();
Returns
| Type | Description |
| DateTime | The date/time this selection was last loaded (selectionentity fetched). |
GetLastLoadedBy()
Declaration
Integer GetLastLoadedBy() Examples
NSSelectionEntity thing;
Integer lastLoadedBy = thing.GetLastLoadedBy();
Returns
| Type | Description |
| Integer | Who last loaded this selection. |
GetLastLoadedByAssociate()
Declaration
NSAssociate GetLastLoadedByAssociate() Examples
NSSelectionEntity thing;
NSAssociate lastLoadedByAssociate = thing.GetLastLoadedByAssociate();
Returns
| Type | Description |
| NSAssociate | NSAssociate that last looked at the selection members; only date (not time) is valid. |
GetLastMembershipChange()
Declaration
DateTime GetLastMembershipChange() Examples
NSSelectionEntity thing;
DateTime lastMembershipChange = thing.GetLastMembershipChange();
Returns
| Type | Description |
| DateTime | The date/time the membership the selection last changed. Dynamic - change of criteria; Static - add/remove members; Combined - change of algorithm. |
GetLastMembershipChangeBy()
Declaration
Integer GetLastMembershipChangeBy() Examples
NSSelectionEntity thing;
Integer lastMembershipChangeBy = thing.GetLastMembershipChangeBy();
Returns
| Type | Description |
| Integer | Who last changed the membership. |
GetLastMembershipChangeByAssociate()
Declaration
NSAssociate GetLastMembershipChangeByAssociate() Examples
NSSelectionEntity thing;
NSAssociate lastMembershipChangeByAssociate = thing.GetLastMembershipChangeByAssociate();
Returns
| Type | Description |
| NSAssociate | Associate that last changed the selection membership (static members, dynamic criteria, combined parameters); only date (not time) is valid. |
GetLeftSelectionId()
LeftSelectionId is used in combination with RightSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.
Declaration
Integer GetLeftSelectionId() Examples
NSSelectionEntity thing;
Integer leftSelectionId = thing.GetLeftSelectionId();
Returns
| Type | Description |
| Integer |
GetMailingsProviderName()
Declaration
String GetMailingsProviderName() Examples
NSSelectionEntity thing;
String mailingsProviderName = thing.GetMailingsProviderName();
Returns
| Type | Description |
| String | The name of the provider for the Mailings tab, if relevant; this string will contain resource references. |
GetMainHeading()
Declaration
String GetMainHeading() Examples
NSSelectionEntity thing;
String mainHeading = thing.GetMainHeading();
Returns
| Type | Description |
| String | 'Static selection of Companies', or whatever else is appropriate, made by combining text resources for the type and the entity (plural form); this string will contain resource references |
GetMainProviderName()
Declaration
String GetMainProviderName() Examples
NSSelectionEntity thing;
String mainProviderName = thing.GetMainProviderName();
Returns
| Type | Description |
| String | The name of the Archive Provider that will deliver the content of the archive* the actual entity rows. |
GetMemberCount()
Declaration
Integer GetMemberCount() Examples
NSSelectionEntity thing;
Integer memberCount = thing.GetMemberCount();
Returns
| Type | Description |
| Integer | How many selection members (for progress bar calculations)* estimate, -1 (or 4294967295) means we don't know. |
GetMemberTabHeading()
Declaration
String GetMemberTabHeading() Examples
NSSelectionEntity thing;
String memberTabHeading = thing.GetMemberTabHeading();
Returns
| Type | Description |
| String | 'Companies', or whatever else is appropriate* the plural form of the entity name; this string will contain resource references |
GetName()
Declaration
String GetName() Examples
NSSelectionEntity thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | Name of selection, free-text indexed. |
GetPostit()
Declaration
String GetPostit() Examples
NSSelectionEntity thing;
String postit = thing.GetPostit();
Returns
| Type | Description |
| String | The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases. |
GetPostitTextId()
Declaration
Integer GetPostitTextId() Examples
NSSelectionEntity thing;
Integer postitTextId = thing.GetPostitTextId();
Returns
| Type | Description |
| Integer | Postit text record ID. |
GetRightSelectionId()
RightSelectionId is used in combination with LeftSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.
Declaration
Integer GetRightSelectionId() Examples
NSSelectionEntity thing;
Integer rightSelectionId = thing.GetRightSelectionId();
Returns
| Type | Description |
| Integer |
GetSelectionCategory()
Declaration
NSSelectionCategory GetSelectionCategory() Examples
NSSelectionEntity thing;
NSSelectionCategory selectionCategory = thing.GetSelectionCategory();
Returns
| Type | Description |
| NSSelectionCategory |
GetSelectionId()
Primary key
Declaration
Integer GetSelectionId() Examples
NSSelectionEntity thing;
Integer selectionId = thing.GetSelectionId();
Returns
| Type | Description |
| Integer | Selection category type (list item). |
GetSelectionType()
Declaration
Integer GetSelectionType() Examples
NSSelectionEntity thing;
Integer selectionType = thing.GetSelectionType();
Returns
| Type | Description |
| Integer | Static/Dynamic/Combined? See <xref href="CRMScript.NetServer.SelectionType" data-throw-if-not-resolved="false"></xref> |
GetSelectionUnionType()
Declaration
Integer GetSelectionUnionType() Examples
NSSelectionEntity thing;
Integer selectionUnionType = thing.GetSelectionUnionType();
Returns
| Type | Description |
| Integer | How to combine the two selections when SelectionType = Combined. See <xref href="CRMScript.NetServer.SelectionUnionType" data-throw-if-not-resolved="false"></xref>. |
GetShadowProviderName()
Declaration
String GetShadowProviderName() Examples
NSSelectionEntity thing;
String shadowProviderName = thing.GetShadowProviderName();
Returns
| Type | Description |
| String | The name, if relevant, of the Archive Provider that will deliver the Shadow rows. contact/person rows related to the actual entity. Can be blank, indicating that there is no shadow archive. |
GetSoundEx()
Declaration
String GetSoundEx() Examples
NSSelectionEntity thing;
String soundEx = thing.GetSoundEx();
Returns
| Type | Description |
| String | What the name sounds like, for duplicate detection. |
GetSource()
Declaration
Integer GetSource() Examples
NSSelectionEntity thing;
Integer source = thing.GetSource();
Returns
| Type | Description |
| Integer | How did we get this selection? For future integration needs. |
GetTargetTableName()
Declaration
String GetTargetTableName() Examples
NSSelectionEntity thing;
String targetTableName = thing.GetTargetTableName();
Returns
| Type | Description |
| String | TargetTableName contains the name of the table in lowercase. defines the type of selection members this selection contains. e.g. 'contact', or 'project' or 'sale' |
GetTargetTableNumber()
Declaration
Integer GetTargetTableNumber() Examples
NSSelectionEntity thing;
Integer targetTableNumber = thing.GetTargetTableNumber();
Returns
| Type | Description |
| Integer | TargetTableNumber defines the type of selection members this selection contains. e.g. the table number for 'contact', or 'project' or 'sale' |
GetTextId()
Declaration
Integer GetTextId() Examples
NSSelectionEntity thing;
Integer textId = thing.GetTextId();
Returns
| Type | Description |
| Integer | Description text record Id. |
GetUpdatedBy()
Declaration
NSAssociate GetUpdatedBy() Examples
NSSelectionEntity thing;
NSAssociate updatedBy = thing.GetUpdatedBy();
Returns
| Type | Description |
| NSAssociate | Who last modified the selection. |
GetUpdatedCount()
Declaration
Integer GetUpdatedCount() Examples
NSSelectionEntity thing;
Integer updatedCount = thing.GetUpdatedCount();
Returns
| Type | Description |
| Integer | Number of updates made to this record. |
GetUpdatedDate()
Declaration
DateTime GetUpdatedDate() Examples
NSSelectionEntity thing;
DateTime updatedDate = thing.GetUpdatedDate();
Returns
| Type | Description |
| DateTime | Last updated when. |
GetVisibility()
Obsolete, but still maintained de-normalization of visiblefor
Declaration
Integer GetVisibility() Examples
NSSelectionEntity thing;
Integer visibility = thing.GetVisibility();
Returns
| Type | Description |
| Integer |
GetVisibleFor()
Returns the user groups and/or users the SelectionEntity item is visible for.
Declaration
NSVisibleFor[] GetVisibleFor() Examples
NSSelectionEntity thing;
NSVisibleFor[] visibleFor = thing.GetVisibleFor();
Returns
| Type | Description |
| NSVisibleFor[] |
SetAssociate(NSAssociate)
Declaration
Void SetAssociate(NSAssociate associate) Examples
NSSelectionEntity thing;
NSAssociate associate;
thing.SetAssociate(associate);
Parameters
| Type | Name | Description |
| NSAssociate | associate | Owner of the selection. |
Returns
| Type | Description |
| Void |
SetChartKey(String)
Declaration
Void SetChartKey(String chartKey) Examples
NSSelectionEntity thing;
String chartKey;
thing.SetChartKey(chartKey);
Parameters
| Type | Name | Description |
| String | chartKey | ID/key of the last-used chart tile on this selection. |
Returns
| Type | Description |
| Void |
SetCompanyUnique(Bool)
Declaration
Void SetCompanyUnique(Bool companyUnique) Examples
NSSelectionEntity thing;
Bool companyUnique;
thing.SetCompanyUnique(companyUnique);
Parameters
| Type | Name | Description |
| Bool | companyUnique | Filter out duplicate members based on company? |
Returns
| Type | Description |
| Void |
SetCompleted(Bool)
Declaration
Void SetCompleted(Bool completed) Examples
NSSelectionEntity thing;
Bool completed;
thing.SetCompleted(completed);
Parameters
| Type | Name | Description |
| Bool | completed | The Completed state. |
Returns
| Type | Description |
| Void |
SetCreatedBy(NSAssociate)
Declaration
Void SetCreatedBy(NSAssociate createdBy) Examples
NSSelectionEntity thing;
NSAssociate createdBy;
thing.SetCreatedBy(createdBy);
Parameters
| Type | Name | Description |
| NSAssociate | createdBy | Who created the selection. |
Returns
| Type | Description |
| Void |
SetCreatedDate(DateTime)
Declaration
Void SetCreatedDate(DateTime createdDate) Examples
NSSelectionEntity thing;
DateTime createdDate;
thing.SetCreatedDate(createdDate);
Parameters
| Type | Name | Description |
| DateTime | createdDate | Registered when. |
Returns
| Type | Description |
| Void |
SetDescription(String)
Declaration
Void SetDescription(String description) Examples
NSSelectionEntity thing;
String description;
thing.SetDescription(description);
Parameters
| Type | Name | Description |
| String | description | The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases. |
Returns
| Type | Description |
| Void |
SetGroupIdx(Integer)
Declaration
Void SetGroupIdx(Integer groupIdx) Examples
NSSelectionEntity thing;
Integer groupIdx;
thing.SetGroupIdx(groupIdx);
Parameters
| Type | Name | Description |
| Integer | groupIdx | Original primary user group of associate. |
Returns
| Type | Description |
| Void |
SetIncludePerson(Integer)
Declaration
Void SetIncludePerson(Integer includePerson) Examples
NSSelectionEntity thing;
Integer includePerson;
thing.SetIncludePerson(includePerson);
Parameters
| Type | Name | Description |
| Integer | includePerson | 0 = Include first person, 1 = Include all persons, 2 = Include no persons. |
Returns
| Type | Description |
| Void |
SetLastLoaded(DateTime)
Declaration
Void SetLastLoaded(DateTime lastLoaded) Examples
NSSelectionEntity thing;
DateTime lastLoaded;
thing.SetLastLoaded(lastLoaded);
Parameters
| Type | Name | Description |
| DateTime | lastLoaded | The date/time this selection was last loaded (selectionentity fetched). |
Returns
| Type | Description |
| Void |
SetLastLoadedBy(Integer)
Declaration
Void SetLastLoadedBy(Integer lastLoadedBy) Examples
NSSelectionEntity thing;
Integer lastLoadedBy;
thing.SetLastLoadedBy(lastLoadedBy);
Parameters
| Type | Name | Description |
| Integer | lastLoadedBy | Who last loaded this selection. |
Returns
| Type | Description |
| Void |
SetLastLoadedByAssociate(NSAssociate)
Declaration
Void SetLastLoadedByAssociate(NSAssociate lastLoadedByAssociate) Examples
NSSelectionEntity thing;
NSAssociate lastLoadedByAssociate;
thing.SetLastLoadedByAssociate(lastLoadedByAssociate);
Parameters
| Type | Name | Description |
| NSAssociate | lastLoadedByAssociate | NSAssociate that last looked at the selection members; only date (not time) is valid. |
Returns
| Type | Description |
| Void |
SetLastMembershipChange(DateTime)
Declaration
Void SetLastMembershipChange(DateTime lastMembershipChange) Examples
NSSelectionEntity thing;
DateTime lastMembershipChange;
thing.SetLastMembershipChange(lastMembershipChange);
Parameters
| Type | Name | Description |
| DateTime | lastMembershipChange | The date/time the membership the selection last changed. Dynamic - change of criteria; Static - add/remove members; Combined - change of algorithm. |
Returns
| Type | Description |
| Void |
SetLastMembershipChangeBy(Integer)
Declaration
Void SetLastMembershipChangeBy(Integer lastMembershipChangeBy) Examples
NSSelectionEntity thing;
Integer lastMembershipChangeBy;
thing.SetLastMembershipChangeBy(lastMembershipChangeBy);
Parameters
| Type | Name | Description |
| Integer | lastMembershipChangeBy | Who last changed the membership. |
Returns
| Type | Description |
| Void |
SetLastMembershipChangeByAssociate(NSAssociate)
Declaration
Void SetLastMembershipChangeByAssociate(NSAssociate lastMembershipChangeByAssociate) Examples
NSSelectionEntity thing;
NSAssociate lastMembershipChangeByAssociate;
thing.SetLastMembershipChangeByAssociate(lastMembershipChangeByAssociate);
Parameters
| Type | Name | Description |
| NSAssociate | lastMembershipChangeByAssociate | Associate that last changed the selection membership (static members, dynamic criteria, combined parameters); only date (not time) is valid. |
Returns
| Type | Description |
| Void |
SetLeftSelectionId(Integer)
LeftSelectionId is used in combination with RightSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.
Declaration
Void SetLeftSelectionId(Integer leftSelectionId) Examples
NSSelectionEntity thing;
Integer leftSelectionId;
thing.SetLeftSelectionId(leftSelectionId);
Parameters
| Type | Name | Description |
| Integer | leftSelectionId |
Returns
| Type | Description |
| Void |
SetMailingsProviderName(String)
Declaration
Void SetMailingsProviderName(String mailingsProviderName) Examples
NSSelectionEntity thing;
String mailingsProviderName;
thing.SetMailingsProviderName(mailingsProviderName);
Parameters
| Type | Name | Description |
| String | mailingsProviderName | The name of the provider for the Mailings tab, if relevant; this string will contain resource references. |
Returns
| Type | Description |
| Void |
SetMainHeading(String)
Declaration
Void SetMainHeading(String mainHeading) Examples
NSSelectionEntity thing;
String mainHeading;
thing.SetMainHeading(mainHeading);
Parameters
| Type | Name | Description |
| String | mainHeading | 'Static selection of Companies', or whatever else is appropriate, made by combining text resources for the type and the entity (plural form); this string will contain resource references |
Returns
| Type | Description |
| Void |
SetMainProviderName(String)
Declaration
Void SetMainProviderName(String mainProviderName) Examples
NSSelectionEntity thing;
String mainProviderName;
thing.SetMainProviderName(mainProviderName);
Parameters
| Type | Name | Description |
| String | mainProviderName | The name of the Archive Provider that will deliver the content of the archive* the actual entity rows. |
Returns
| Type | Description |
| Void |
SetMemberCount(Integer)
Declaration
Void SetMemberCount(Integer memberCount) Examples
NSSelectionEntity thing;
Integer memberCount;
thing.SetMemberCount(memberCount);
Parameters
| Type | Name | Description |
| Integer | memberCount | How many selection members (for progress bar calculations)* estimate, -1 (or 4294967295) means we don't know. |
Returns
| Type | Description |
| Void |
SetMemberTabHeading(String)
Declaration
Void SetMemberTabHeading(String memberTabHeading) Examples
NSSelectionEntity thing;
String memberTabHeading;
thing.SetMemberTabHeading(memberTabHeading);
Parameters
| Type | Name | Description |
| String | memberTabHeading | 'Companies', or whatever else is appropriate* the plural form of the entity name; this string will contain resource references |
Returns
| Type | Description |
| Void |
SetName(String)
Declaration
Void SetName(String name) Examples
NSSelectionEntity thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | Name of selection, free-text indexed. |
Returns
| Type | Description |
| Void |
SetPostit(String)
Declaration
Void SetPostit(String postit) Examples
NSSelectionEntity thing;
String postit;
thing.SetPostit(postit);
Parameters
| Type | Name | Description |
| String | postit | The actual text, max 2047 significant characters even though it is stored as a larger data type on some databases. |
Returns
| Type | Description |
| Void |
SetPostitTextId(Integer)
Declaration
Void SetPostitTextId(Integer postitTextId) Examples
NSSelectionEntity thing;
Integer postitTextId;
thing.SetPostitTextId(postitTextId);
Parameters
| Type | Name | Description |
| Integer | postitTextId | Postit text record ID. |
Returns
| Type | Description |
| Void |
SetRightSelectionId(Integer)
RightSelectionId is used in combination with LeftSelectionId and CombinationType to define an union of two selections when SelectionType=Combined.
Declaration
Void SetRightSelectionId(Integer rightSelectionId) Examples
NSSelectionEntity thing;
Integer rightSelectionId;
thing.SetRightSelectionId(rightSelectionId);
Parameters
| Type | Name | Description |
| Integer | rightSelectionId |
Returns
| Type | Description |
| Void |
SetSelectionCategory(NSSelectionCategory)
Declaration
Void SetSelectionCategory(NSSelectionCategory selectionCategory) Examples
NSSelectionEntity thing;
NSSelectionCategory selectionCategory;
thing.SetSelectionCategory(selectionCategory);
Parameters
| Type | Name | Description |
| NSSelectionCategory | selectionCategory | Selection category type (list item). |
Returns
| Type | Description |
| Void |
SetSelectionId(Integer)
Declaration
Void SetSelectionId(Integer selectionId) Examples
NSSelectionEntity thing;
Integer selectionId;
thing.SetSelectionId(selectionId);
Parameters
| Type | Name | Description |
| Integer | selectionId | Primary key. |
Returns
| Type | Description |
| Void |
SetSelectionType(Integer)
Declaration
Void SetSelectionType(Integer selectionType) Examples
NSSelectionEntity thing;
Integer selectionType;
thing.SetSelectionType(selectionType);
Parameters
| Type | Name | Description |
| Integer | selectionType | Static/Dynamic/Combined? See <xref href="CRMScript.NetServer.SelectionType" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |
SetSelectionUnionType(Integer)
Declaration
Void SetSelectionUnionType(Integer selectionUnionType) Examples
NSSelectionEntity thing;
Integer selectionUnionType;
thing.SetSelectionUnionType(selectionUnionType);
Parameters
| Type | Name | Description |
| Integer | selectionUnionType | How to combine the two selections when SelectionType = Combined. See <xref href="CRMScript.NetServer.SelectionUnionType" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |
SetShadowProviderName(String)
Declaration
Void SetShadowProviderName(String shadowProviderName) Examples
NSSelectionEntity thing;
String shadowProviderName;
thing.SetShadowProviderName(shadowProviderName);
Parameters
| Type | Name | Description |
| String | shadowProviderName | The name, if relevant, of the Archive Provider that will deliver the Shadow rows, contact/person rows related to the actual entity. Can be blank, indicating that there is no shadow archive. |
Returns
| Type | Description |
| Void |
SetSoundEx(String)
Declaration
Void SetSoundEx(String soundEx) Examples
NSSelectionEntity thing;
String soundEx;
thing.SetSoundEx(soundEx);
Parameters
| Type | Name | Description |
| String | soundEx | What the name sounds like, for duplicate detection. |
Returns
| Type | Description |
| Void |
SetSource(Integer)
Declaration
Void SetSource(Integer source) Examples
NSSelectionEntity thing;
Integer source;
thing.SetSource(source);
Parameters
| Type | Name | Description |
| Integer | source | How did we get this selection? For future integration needs. |
Returns
| Type | Description |
| Void |
SetTargetTableName(String)
Declaration
Void SetTargetTableName(String targetTableName) Examples
NSSelectionEntity thing;
String targetTableName;
thing.SetTargetTableName(targetTableName);
Parameters
| Type | Name | Description |
| String | targetTableName | TargetTableName contains the name of the table in lowercase. defines the type of selection members this selection contains. e.g. 'contact', or 'project' or 'sale' |
Returns
| Type | Description |
| Void |
SetTargetTableNumber(Integer)
Declaration
Void SetTargetTableNumber(Integer targetTableNumber) Examples
NSSelectionEntity thing;
Integer targetTableNumber;
thing.SetTargetTableNumber(targetTableNumber);
Parameters
| Type | Name | Description |
| Integer | targetTableNumber | TargetTableNumber defines the type of selection members this selection contains. e.g. the table number for 'contact', or 'project' or 'sale' |
Returns
| Type | Description |
| Void |
SetTextId(Integer)
Declaration
Void SetTextId(Integer textId) Examples
NSSelectionEntity thing;
Integer textId;
thing.SetTextId(textId);
Parameters
| Type | Name | Description |
| Integer | textId | Description text record Id. |
Returns
| Type | Description |
| Void |
SetUpdatedBy(NSAssociate)
Declaration
Void SetUpdatedBy(NSAssociate updatedBy) Examples
NSSelectionEntity thing;
NSAssociate updatedBy;
thing.SetUpdatedBy(updatedBy);
Parameters
| Type | Name | Description |
| NSAssociate | updatedBy | Who last modified the selection. |
Returns
| Type | Description |
| Void |
SetUpdatedCount(Integer)
Declaration
Void SetUpdatedCount(Integer updatedCount) Examples
NSSelectionEntity thing;
Integer updatedCount;
thing.SetUpdatedCount(updatedCount);
Parameters
| Type | Name | Description |
| Integer | updatedCount | Number of updates made to this record. |
Returns
| Type | Description |
| Void |
SetUpdatedDate(DateTime)
Declaration
Void SetUpdatedDate(DateTime updatedDate) Examples
NSSelectionEntity thing;
DateTime updatedDate;
thing.SetUpdatedDate(updatedDate);
Parameters
| Type | Name | Description |
| DateTime | updatedDate | Last updated when. |
Returns
| Type | Description |
| Void |
SetVisibility(Integer)
Obsolete, but still maintained de-normalization of visiblefor
Declaration
Void SetVisibility(Integer visibility) Examples
NSSelectionEntity thing;
Integer visibility;
thing.SetVisibility(visibility);
Parameters
| Type | Name | Description |
| Integer | visibility |
Returns
| Type | Description |
| Void |
SetVisibleFor(NSVisibleFor[])
Sets the user-groups and/or users the SelectionEntity item is visible for.
Declaration
Void SetVisibleFor(NSVisibleFor[] visibleFor) Examples
NSSelectionEntity thing;
NSVisibleFor[] visibleFor = thing.GetVisibleFor();
visibleFor[0].SetVisiblity(1); // usergroup
visibleFor[0].SetVisibleId(123); // usergroup id
thing.SetVisibleFor(visibleFor);
Parameters
| Type | Name | Description |
| NSVisibleFor[] | visibleFor |
Returns
| Type | Description |
| Void |