Class NSSelectionForFind

Constructors

NSSelectionForFind()

Initializes a new instance of the NSSelectionForFind class.

Declaration

NSSelectionForFind

Methods

GetCanSaveAsSelection()

Declaration

Bool GetCanSaveAsSelection()

Examples

NSSelectionForFind thing;
Bool canSaveAsSelection = thing.GetCanSaveAsSelection();

Returns

Type Description
Bool Most Find entities support saving the search as a Dynamic Selection. This bool indicates if that is the case.

GetFilterScreenHeading()

Declaration

String GetFilterScreenHeading()

Examples

NSSelectionForFind thing;
String filterScreenHeading = thing.GetFilterScreenHeading();

Returns

Type Description
String 'Find sale', or whatever is appropriate for the Find<entity>filter page; this string will contain resource references

GetMainHeading()

Declaration

String GetMainHeading()

Examples

NSSelectionForFind thing;
String mainHeading = thing.GetMainHeading();

Returns

Type Description
String 'Sale', intended for the main headings in the Find front page; this string will contain resource references

GetProviderName()

Declaration

String GetProviderName()

Examples

NSSelectionForFind thing;
String providerName = thing.GetProviderName();

Returns

Type Description
String The name of the Archive Provider to use when working with this selection; this is the main entity provider, never Shadow, Combined or anything else fancy.

GetSelectionEntityHeading()

Declaration

String GetSelectionEntityHeading()

Examples

NSSelectionForFind thing;
String selectionEntityHeading = thing.GetSelectionEntityHeading();

Returns

Type Description
String 'Companies', or whatever else is appropriate* the plural form of the entity name, intended for the Selection.Details tab before it is saved (!!); this string will contain resource references

GetSelectionId()

Declaration

Integer GetSelectionId()

Examples

NSSelectionForFind thing;
Integer selectionId = thing.GetSelectionId();

Returns

Type Description
Integer Primary key.

SetCanSaveAsSelection(Bool)

Declaration

Void SetCanSaveAsSelection(Bool canSaveAsSelection)

Examples

NSSelectionForFind thing;
Bool canSaveAsSelection;
thing.SetCanSaveAsSelection(canSaveAsSelection);

Parameters

Type Name Description
Bool canSaveAsSelection Most Find entities support saving the search as a Dynamic Selection this bool indicates if that is the case.

Returns

Type Description
Void

SetFilterScreenHeading(String)

'Find sale', or whatever is appropriate for the Findfilter page; this string will contain resource references

Declaration

Void SetFilterScreenHeading(String filterScreenHeading)

Examples

NSSelectionForFind thing;
String filterScreenHeading;
thing.SetFilterScreenHeading(filterScreenHeading);

Parameters

Type Name Description
String filterScreenHeading

Returns

Type Description
Void

SetMainHeading(String)

Declaration

Void SetMainHeading(String mainHeading)

Examples

NSSelectionForFind thing;
String mainHeading;
thing.SetMainHeading(mainHeading);

Parameters

Type Name Description
String mainHeading 'Sale', intended for the main headings in the Find front page; this string will contain resource references

Returns

Type Description
Void

SetProviderName(String)

Declaration

Void SetProviderName(String providerName)

Examples

NSSelectionForFind thing;
String providerName;
thing.SetProviderName(providerName);

Parameters

Type Name Description
String providerName The name of the Archive Provider to use when working with this selection; this is the main entity provider, never Shadow, Combined or anything else fancy.

Returns

Type Description
Void

SetSelectionEntityHeading(String)

Declaration

Void SetSelectionEntityHeading(String selectionEntityHeading)

Examples

NSSelectionForFind thing;
String selectionEntityHeading;
thing.SetSelectionEntityHeading(selectionEntityHeading);

Parameters

Type Name Description
String selectionEntityHeading 'Companies', or whatever else is appropriate* the plural form of the entity name, intended for the Selection.Details tab before it is saved (!!); this string will contain resource references

Returns

Type Description
Void

SetSelectionId(Integer)

Declaration

Void SetSelectionId(Integer selectionId)

Examples

NSSelectionForFind thing;
Integer selectionId;
thing.SetSelectionId(selectionId);

Parameters

Type Name Description
Integer selectionId Primary key.

Returns

Type Description
Void