Class NSTypicalSearch
Syntax
Constructors
NSTypicalSearch()
Initializes a new instance of the NSTypicalSearch class.
Declaration
Methods
GetEntityName()
Declaration
Returns
Type |
Description |
String |
The name of the entity the typical search links to.
|
Examples
NSTypicalSearch thing;
String entityName = thing.GetEntityName();
GetIncludePerson()
Declaration
Integer GetIncludePerson()
Returns
Type |
Description |
Integer |
For selection-of-company, state of the Include Main Contact checkbox.
|
Examples
NSTypicalSearch thing;
Integer includePerson = thing.GetIncludePerson();
GetIsEntityDefault()
Declaration
Integer GetIsEntityDefault()
Returns
Type |
Description |
Integer |
Indicates if this is the default set of criteria for an entity.
|
Examples
NSTypicalSearch thing;
Integer isEntityDefault = thing.GetIsEntityDefault();
GetRestrictionGroups()
Declaration
NSArchiveRestrictionGroup[] GetRestrictionGroups()
Returns
Examples
NSTypicalSearch thing;
NSArchiveRestrictionGroup[] restrictionGroups = thing.GetRestrictionGroups();
GetSource()
Declaration
Returns
Type |
Description |
String |
Name of organization that sources and maintains this TypicalSearch.
|
Examples
NSTypicalSearch thing;
String source = thing.GetSource();
GetTitle()
Declaration
Returns
Type |
Description |
String |
The title of the typical search (multilingual).
|
Examples
NSTypicalSearch thing;
String title = thing.GetTitle();
Declaration
Returns
Type |
Description |
String |
The tooltip for the typical search (multilingual).
|
NSTypicalSearch thing;
String tooltip = thing.GetTooltip();
GetTypicalSearchId()
Declaration
Integer GetTypicalSearchId()
Returns
Type |
Description |
Integer |
Primary key.
|
Examples
NSTypicalSearch thing;
Integer typicalSearchId = thing.GetTypicalSearchId();
GetVersionNumber()
Declaration
Integer GetVersionNumber()
Returns
Type |
Description |
Integer |
The current downloaded version of this typical search.
|
Examples
NSTypicalSearch thing;
Integer versionNumber = thing.GetVersionNumber();
SetEntityName(String)
Declaration
Void SetEntityName(String entityName)
Parameters
Type |
Name |
Description |
String |
entityName |
The name of the entity the typical search links to.
|
Returns
Examples
NSTypicalSearch thing;
String entityName;
thing.SetEntityName(entityName);
SetIncludePerson(Integer)
Declaration
Void SetIncludePerson(Integer includePerson)
Parameters
Type |
Name |
Description |
Integer |
includePerson |
For selection-of-company, state of the Include Main Contact checkbox.
|
Returns
Examples
NSTypicalSearch thing;
Integer includePerson;
thing.SetIncludePerson(includePerson);
SetIsEntityDefault(Integer)
Declaration
Void SetIsEntityDefault(Integer isEntityDefault)
Parameters
Type |
Name |
Description |
Integer |
isEntityDefault |
Indicates if this is the default set of criteria for an entity.
|
Returns
Examples
NSTypicalSearch thing;
Integer isEntityDefault;
thing.SetIsEntityDefault(isEntityDefault);
SetRestrictionGroups(NSArchiveRestrictionGroup[])
Declaration
Void SetRestrictionGroups(NSArchiveRestrictionGroup[] restrictionGroups)
Parameters
Type |
Name |
Description |
NSArchiveRestrictionGroup[] |
restrictionGroups |
The restrictions (can be multiple groups) that make up the TypicalSearch.
|
Returns
Examples
NSTypicalSearch thing;
NSArchiveRestrictionGroup[] restrictionGroups;
thing.SetRestrictionGroups(restrictionGroups);
SetSource(String)
Declaration
Void SetSource(String source)
Parameters
Type |
Name |
Description |
String |
source |
Name of organization that sources and maintains this TypicalSearch.
|
Returns
Examples
NSTypicalSearch thing;
String source;
thing.SetSource(source);
SetTitle(String)
Declaration
Void SetTitle(String title)
Parameters
Type |
Name |
Description |
String |
title |
The title of the typical search (multilingual).
|
Returns
Examples
NSTypicalSearch thing;
String title;
thing.SetTitle(title);
Declaration
Void SetTooltip(String tooltip)
Parameters
Type |
Name |
Description |
String |
tooltip |
The tooltip for the typical search (multilingual).
|
Returns
NSTypicalSearch thing;
String tooltip;
thing.SetTooltip(tooltip);
SetTypicalSearchId(Integer)
Declaration
Void SetTypicalSearchId(Integer typicalSearchId)
Parameters
Type |
Name |
Description |
Integer |
typicalSearchId |
Primary key.
|
Returns
Examples
NSTypicalSearch thing;
Integer typicalSearchId;
thing.SetTypicalSearchId(typicalSearchId);
SetVersionNumber(Integer)
Declaration
Void SetVersionNumber(Integer versionNumber)
Parameters
Type |
Name |
Description |
Integer |
versionNumber |
The current downloaded version of this typical search.
|
Returns
Examples
NSTypicalSearch thing;
Integer versionNumber;
thing.SetVersionNumber(versionNumber);