Namespace: Consultingwerk.Windows.Framework.Repository
Class 
SmartRepositoryAttributeLookupService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Windows.Framework.Repository.IRepositoryAttributeLookupService, Consultingwerk.Windows.Framework.Repository.ISmartRepositoryAttributeLookupService

File:SmartRepositoryAttributeLookupService
Purpose:Service that provides lookup capabilities for the SmartComponent
Library/SmartComponents.Web2 properties
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Apr 16 18:43:52 CEST 2016



Top Method Summary
Options Name Purpose
# CHARACTER GetCharacterAttributeValue (character, handle) Returns a character attribute value
+ LOGICAL PerformEntityNameLookup (character, character, character, character, handle, Form, Object) Displays the property Dialog
+ LOGICAL PerformEntityTableLookup (character, character, character, character, handle, Form, Object) Displays the property Dialog
# CHARACTER SetAttributeValue (character, character, handle) Sets a character attribute value
# ShowDialog (Form, DialogResult) Invokes ShowDialog() on a .NET Form and returns the DialogResult as an output parameter
+ LOGICAL ShowPropertyDialog (character, character, character, character, handle, Form, Object) Displays the property Dialog


Method Detail
Top

PROTECTED CHARACTER GetCharacterAttributeValue (character, handle)

Purpose: Returns a character attribute value
Notes:

Parameters:
pcAttributeLabel CHARACTER
The label of the attribute
phDesignAttributeTable HANDLE
The handle of the temp-table with the attribute values
Returns CHARACTER
The attribute value
Top

PUBLIC LOGICAL PerformEntityNameLookup (character, character, character, character, handle, Form, Object)

Purpose: Displays the property Dialog
Notes:

Parameters:
pcAttributeLabel CHARACTER
The label of the attribute
pcObjectTypeId CHARACTER
The GUID of the Object Type
pcObjectMasterId CHARACTER
The GUID of the Object Master
pcObjectInstanceId CHARACTER
The GUID of the Obejct Instance
phDesignAttributeTable HANDLE
The handle of the temp-table with the attribute values
poOwnerForm System.Windows.Forms.Form
The reference to the Form to be used as the owner for the Dialog
poValue System.Object
INPUT-OUTPUT The value to update (BOX ABL primitive values)
Returns LOGICAL
Logical value indicating if OK (true) or Cancel (false) was clicked
Top

PUBLIC LOGICAL PerformEntityTableLookup (character, character, character, character, handle, Form, Object)

Purpose: Displays the property Dialog
Notes:

Parameters:
pcAttributeLabel CHARACTER
The label of the attribute
pcObjectTypeId CHARACTER
The GUID of the Object Type
pcObjectMasterId CHARACTER
The GUID of the Object Master
pcObjectInstanceId CHARACTER
The GUID of the Obejct Instance
phDesignAttributeTable HANDLE
The handle of the temp-table with the attribute values
poOwnerForm System.Windows.Forms.Form
The reference to the Form to be used as the owner for the Dialog
poValue System.Object
INPUT-OUTPUT The value to update (BOX ABL primitive values)
Returns LOGICAL
Logical value indicating if OK (true) or Cancel (false) was clicked
Top

PROTECTED CHARACTER SetAttributeValue (character, character, handle)

Purpose: Sets a character attribute value
Notes:

Parameters:
pcAttributeLabel CHARACTER
The label of the attribute
pcAttributeValue CHARACTER
The value for the attribute
phDesignAttributeTable HANDLE
The handle of the temp-table with the attribute values
Returns CHARACTER
The attribute value
Top

PROTECTED ShowDialog (Form, DialogResult)

Purpose: Invokes ShowDialog() on a .NET Form and returns the DialogResult
as an output parameter
Notes:

Parameters:
poForm System.Windows.Forms.Form
The reference to the Form to invoke ShowDialog() on
poDialogResult System.Windows.Forms.DialogResult
OUTPUT The DialogResult returned by the ShowDialog() method
Top

PUBLIC LOGICAL ShowPropertyDialog (character, character, character, character, handle, Form, Object)

Purpose: Displays the property Dialog
Notes:

Parameters:
pcAttributeLabel CHARACTER
The label of the attribute
pcObjectTypeId CHARACTER
The GUID of the Object Type
pcObjectMasterId CHARACTER
The GUID of the Object Master
pcObjectInstanceId CHARACTER
The GUID of the Obejct Instance
phDesignAttributeTable HANDLE
The handle of the temp-table with the attribute values
poOwnerForm System.Windows.Forms.Form
The reference to the Form to be used as the owner for the Dialog
poValue System.Object
INPUT-OUTPUT The value to update (BOX ABL primitive values)
Returns LOGICAL
Logical value indicating if OK (true) or Cancel (false) was clicked


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:51:43