Namespace: Consultingwerk.Util
Class 
ValueListHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:ValueListHelper
Syntax:Static methods only, Protected constructor to disallow
instance creation
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Dec 01 16:49:22 CET 2010
Notes:This file is intended for GUI for .NET only



Top Method Summary
Options Name Purpose
+ Infragistics.Win.ValueList FromBusinessEntity (character, character, character, character, character, character, character) Builds a ValueList from a RetrieveData call to a Business Entity
+ Infragistics.Win.ValueList FromBusinessEntity (character, character, character, character, character, character, character, character, character) Builds a ValueList from a RetrieveData call to a Business Entity
+ Infragistics.Win.ValueList FromBusinessEntity (character, character, character, character, character, character, character, character, character, character, character, character) Builds a ValueList from a RetrieveData call to a Business Entity
+ Infragistics.Win.ValueList FromBusinessEntityWithSort (character, character, character, character, character, character, character, character) Builds a ValueList from a RetrieveData call to a Business Entity
+ Infragistics.Win.ValueList FromBusinessEntityWithSort (character, character, character, character, character, character, character, character, character, character) Builds a ValueList from a RetrieveData call to a Business Entity
+ Infragistics.Win.ValueList FromBusinessEntityWithSort (character, character, character, character, character, character, character, character, character, character, character, character, character) Builds a ValueList from a RetrieveData call to a Business Entity
+ Infragistics.Win.ValueList FromEnum (Class, ValueFromEnum) Turns an Enum into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromList (character) Turns a comma-delimited list into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromList (CharacterList) Turns a list of Character primitives an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromList (ListNameValuePair) Turns a list of NameValuePair's into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromListItemPairs (character) Turns a comma-delimited list of list item pairs (similar to the ABL LIST-ITEM-PAIRS property of the combo-box widget) into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromListItemPairs (character, character) Turns a comma-delimited list of list item pairs (similar to the ABL LIST-ITEM-PAIRS property of the combo-box widget) into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTable (handle, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTable (handle, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTable (handle, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTable (handle, character, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTable (handle, character, character, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTable (handle, character, character, character, integer, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTableAndImageProvider (handle, character, character, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTableAndImageProvider (handle, character, character, character, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTableAndImageProviderWithSort (handle, character, character, character, character, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTableWithSort (handle, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTableWithSort (handle, character, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTableWithSort (handle, character, character, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList
+ Infragistics.Win.ValueList FromTempTableWithSort (handle, character, character, character, character, character, character, character) Turns the records of a temp-table into an Infragistics.Win.ValueList

Top Constructor Summary
Options Name Purpose
# ValueListHelper () Disallow instance creation


Method Detail
Top

PUBLIC Infragistics.Win.ValueList FromBusinessEntity (character, character, character, character, character, character, character)

Purpose: Builds a ValueList from a RetrieveData call to a Business Entity
Notes:

Parameters:
pcAppServerPartition CHARACTER
The AppServer Partition to perform the request on, "" for default partition
pcEntityName CHARACTER
The Business Entity to retrieve data from
pcEntityTable CHARACTER
The name of the Business Entity Table to retrieve
pcQueryString CHARACTER
The Query String to retrieve data from
pcKeyField CHARACTER
The key field for the ValueList
pcDisplayFields CHARACTER
The fields to builds the DisplayText from
pcDisplaySubstitute CHARACTER
The SUBSTITUTE pattern to use for building the DisplayText, e.g. &1 (&2)
Returns Infragistics.Win.ValueList
The ValueList
Top

PUBLIC Infragistics.Win.ValueList FromBusinessEntity (character, character, character, character, character, character, character, character, character)

Purpose: Builds a ValueList from a RetrieveData call to a Business Entity
Notes:

Parameters:
pcAppServerPartition CHARACTER
The AppServer Partition to perform the request on, "" for default partition
pcEntityName CHARACTER
The Business Entity to retrieve data from
pcEntityTable CHARACTER
The name of the Business Entity Table to retrieve
pcQueryString CHARACTER
The Query String to retrieve data from
pcKeyField CHARACTER
The key field for the ValueList
pcDisplayFields CHARACTER
The fields to builds the DisplayText from
pcDisplaySubstitute CHARACTER
The SUBSTITUTE pattern to use for building the DisplayText, e.g. &1 (&2)
pcFlagValue CHARACTER
The value for the "Default" Entry
pcFlagText CHARACTER
The DisplayText for the "Default" Entry
Returns Infragistics.Win.ValueList
The ValueList
Top

PUBLIC Infragistics.Win.ValueList FromBusinessEntity (character, character, character, character, character, character, character, character, character, character, character, character)

Purpose: Builds a ValueList from a RetrieveData call to a Business Entity
Notes:

Parameters:
pcAppServerPartition CHARACTER
The AppServer Partition to perform the request on, "" for default partition
pcEntityName CHARACTER
The Business Entity to retrieve data from
pcEntityTable CHARACTER
The name of the Business Entity Table to retrieve
pcQueryString CHARACTER
The Query String to retrieve data from
pcKeyField CHARACTER
The key field for the ValueList
pcDisplayFields CHARACTER
The fields to builds the DisplayText from
pcDisplaySubstitute CHARACTER
The SUBSTITUTE pattern to use for building the DisplayText, e.g. &1 (&2)
pcFlagValue CHARACTER
The value for the "Default" Entry
pcFlagText CHARACTER
The DisplayText for the "Default" Entry
pcImageField CHARACTER
The name of the BLOB field to use to return an Image for the list entries
pcImageKeyField CHARACTER
The name of the CHARACTER field that contains the name of the field to build an image filename/key from
pcImageKeyFieldSubstitute CHARACTER
The SUBSTITUTE Expression for building the image filename/key with
Returns Infragistics.Win.ValueList
The ValueList
Top

PUBLIC Infragistics.Win.ValueList FromBusinessEntityWithSort (character, character, character, character, character, character, character, character)

Purpose: Builds a ValueList from a RetrieveData call to a Business Entity
Notes:

Parameters:
pcAppServerPartition CHARACTER
The AppServer Partition to perform the request on, "" for default partition
pcEntityName CHARACTER
The Business Entity to retrieve data from
pcEntityTable CHARACTER
The name of the Business Entity Table to retrieve
pcQueryString CHARACTER
The Query String to retrieve data from
pcKeyField CHARACTER
The key field for the ValueList
pcDisplayFields CHARACTER
The fields to builds the DisplayText from
pcDisplaySubstitute CHARACTER
The SUBSTITUTE pattern to use for building the DisplayText, e.g. &1 (&2)
pcQuerySort CHARACTER
The sort expression for the query (or "")
Returns Infragistics.Win.ValueList
The ValueList
Top

PUBLIC Infragistics.Win.ValueList FromBusinessEntityWithSort (character, character, character, character, character, character, character, character, character, character)

Purpose: Builds a ValueList from a RetrieveData call to a Business Entity
Notes:

Parameters:
pcAppServerPartition CHARACTER
The AppServer Partition to perform the request on, "" for default partition
pcEntityName CHARACTER
The Business Entity to retrieve data from
pcEntityTable CHARACTER
The name of the Business Entity Table to retrieve
pcQueryString CHARACTER
The Query String to retrieve data from
pcKeyField CHARACTER
The key field for the ValueList
pcDisplayFields CHARACTER
The fields to builds the DisplayText from
pcDisplaySubstitute CHARACTER
The SUBSTITUTE pattern to use for building the DisplayText, e.g. &1 (&2)
pcFlagValue CHARACTER
The value for the "Default" Entry
pcFlagText CHARACTER
The DisplayText for the "Default" Entry
pcQuerySort CHARACTER
The sort expression for the query (or "")
Returns Infragistics.Win.ValueList
The ValueList
Top

PUBLIC Infragistics.Win.ValueList FromBusinessEntityWithSort (character, character, character, character, character, character, character, character, character, character, character, character, character)

Purpose: Builds a ValueList from a RetrieveData call to a Business Entity
Notes:

Parameters:
pcAppServerPartition CHARACTER
The AppServer Partition to perform the request on, "" for default partition
pcEntityName CHARACTER
The Business Entity to retrieve data from
pcEntityTable CHARACTER
The name of the Business Entity Table to retrieve
pcQueryString CHARACTER
The Query String to retrieve data from
pcKeyField CHARACTER
The key field for the ValueList
pcDisplayFields CHARACTER
The fields to builds the DisplayText from
pcDisplaySubstitute CHARACTER
The SUBSTITUTE pattern to use for building the DisplayText, e.g. &1 (&2)
pcFlagValue CHARACTER
The value for the "Default" Entry
pcFlagText CHARACTER
The DisplayText for the "Default" Entry
pcImageField CHARACTER
The name of the BLOB field to use to return an Image for the list entries
pcImageKeyField CHARACTER
The name of the CHARACTER field that contains the name of the field to build an image filename/key from
pcImageKeyFieldSubstitute CHARACTER
The SUBSTITUTE Expression for building the image filename/key with
pcQueySort CHARACTER
The sort expression for the query (or "")
Returns Infragistics.Win.ValueList
The ValueList
Top

PUBLIC Infragistics.Win.ValueList FromEnum (Class, ValueFromEnum)

Purpose: Turns an Enum into an Infragistics.Win.ValueList
Notes:

Parameters:
poClass Progress.Lang.Class
the Progress.Lang.Class of the Enum
poValueFrom Consultingwerk.Util.Enum.ValueFromEnum
The ValueFromEnum member that describes if the ValueList items will user the Enum's value (integer) or name as the data value
Returns Infragistics.Win.ValueList
The ValueList containing the values
Top

PUBLIC Infragistics.Win.ValueList FromList (character)

Purpose: Turns a comma-delimited list into an Infragistics.Win.ValueList
Notes:

Parameters:
pcList CHARACTER
A comma delimited list with the Values for the ValueList
Returns Infragistics.Win.ValueList
The ValueList containing the values
Top

PUBLIC Infragistics.Win.ValueList FromList (CharacterList)

Purpose: Turns a list of Character primitives an Infragistics.Win.ValueList
Notes:

Parameters:
poList Consultingwerk.Framework.Collections.CharacterList
A CharacterList instance with the values for the ValueList
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromList (ListNameValuePair)

Purpose: Turns a list of NameValuePair's into an Infragistics.Win.ValueList
Notes: The Name portion of the NameValuePair's will be used as the DataValue and
the Value portion of the NameValuePair's will be used for the DisplayText

Parameters:
poValueList Consultingwerk.ListNameValuePair
A ListNameValuePair instance with the values for the ValueList
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromListItemPairs (character)

Purpose: Turns a comma-delimited list of list item pairs (similar to the ABL
LIST-ITEM-PAIRS property of the combo-box widget) into an
Infragistics.Win.ValueList
Notes:

Parameters:
pcList CHARACTER
A comma delimited list with the Values for the ValueList
Returns Infragistics.Win.ValueList
The ValueList containing the values
Top

PUBLIC Infragistics.Win.ValueList FromListItemPairs (character, character)

Purpose: Turns a comma-delimited list of list item pairs (similar to the ABL
LIST-ITEM-PAIRS property of the combo-box widget) into an
Infragistics.Win.ValueList
Notes:

Parameters:
pcList CHARACTER
A delimited list with the Values for the ValueList
pcDelimiter CHARACTER
The list delimiter
Returns Infragistics.Win.ValueList
The ValueList containing the values
Top

PUBLIC Infragistics.Win.ValueList FromTempTable (handle, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayField CHARACTER
The name of the fieldto be used for the Display Value
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTable (handle, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
A comma-delimited list of fields to be used for the Display Value (SUBSTITUTE function used)
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTable (handle, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
A comma-delimited list of fields to be used for the Display Value (SUBSTITUTE function used)
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcImageField CHARACTER
The name of the field that contains the image data to be used
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTable (handle, character, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
The name of the fieldto be used for the Display Value
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcFlagValue CHARACTER
The CHARACTER value used for a Flag value (e.g. all or none)
pcFlagText CHARACTER
The Display Value for the flag value
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTable (handle, character, character, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
The name of the fieldto be used for the Display Value
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcFlagValue CHARACTER
The CHARACTER value used for a Flag value (e.g. all or none)
pcFlagText CHARACTER
The Display Value for the flag value
pcImageField CHARACTER
The name of the BLOB field to use to return an Image for the list entries
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTable (handle, character, character, character, integer, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
The name of the fieldto be used for the Display Value
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
piFlagValue INTEGER
The INTEGER value used for a Flag value (e.g. all or none)
pcFlagText CHARACTER
The Display Value for the flag value
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTableAndImageProvider (handle, character, character, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
A comma-delimited list of fields to be used for the Display Value (SUBSTITUTE function used)
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcImageKeyField CHARACTER
The name of the field that contains the image key to be used
pcFlagValue CHARACTER
The CHARACTER value used for a Flag value (e.g. all or none)
pcFlagText CHARACTER
The Display Value for the flag value
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTableAndImageProvider (handle, character, character, character, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
A comma-delimited list of fields to be used for the Display Value (SUBSTITUTE function used)
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcImageKeyField CHARACTER
The name of the field that contains the image key to be used
pcImageKeyFieldSubstitute CHARACTER
The SUBSTITUTE pattern to be used to build the actual image key to be used
pcFlagValue CHARACTER
The CHARACTER value used for a Flag value (e.g. all or none)
pcFlagText CHARACTER
The Display Value for the flag value
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTableAndImageProviderWithSort (handle, character, character, character, character, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
A comma-delimited list of fields to be used for the Display Value (SUBSTITUTE function used)
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcImageKeyField CHARACTER
The name of the field that contains the image key to be used
pcImageKeyFieldSubstitute CHARACTER
The SUBSTITUTE pattern to be used to build the actual image key to be used
pcFlagValue CHARACTER
The CHARACTER value used for a Flag value (e.g. all or none)
pcFlagText CHARACTER
The Display Value for the flag value
pcQuerySort CHARACTER
The sort expression for the query (or "")
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTableWithSort (handle, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
A comma-delimited list of fields to be used for the Display Value (SUBSTITUTE function used)
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcQuerySort CHARACTER
The sort expression for the query (or "")
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTableWithSort (handle, character, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
A comma-delimited list of fields to be used for the Display Value (SUBSTITUTE function used)
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcImageField CHARACTER
The name of the field that contains the image data to be used
pcQuerySort CHARACTER
The sort expression for the query (or "")
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTableWithSort (handle, character, character, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
The name of the fieldto be used for the Display Value
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcFlagValue CHARACTER
The CHARACTER value used for a Flag value (e.g. all or none)
pcFlagText CHARACTER
The Display Value for the flag value
pcQuerySort CHARACTER
The sort expression for the query (or "")
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)
Top

PUBLIC Infragistics.Win.ValueList FromTempTableWithSort (handle, character, character, character, character, character, character, character)

Purpose: Turns the records of a temp-table into an Infragistics.Win.ValueList
Notes:

Parameters:
phTable HANDLE
The HANDLE of the temp-table that contains the data
pcKeyField CHARACTER
The field of the temp-table to use for the Key value
pcDisplayFields CHARACTER
The name of the fieldto be used for the Display Value
pcDisplaySubstitute CHARACTER
A base string in which the DisplayField values will be merged using the SUBSTITUTE function
pcFlagValue CHARACTER
The CHARACTER value used for a Flag value (e.g. all or none)
pcFlagText CHARACTER
The Display Value for the flag value
pcImageField CHARACTER
The name of the BLOB field to use to return an Image for the list entries
pcQuerySort CHARACTER
The sort expression for the query (or "")
Returns Infragistics.Win.ValueList
The ValueList containing the values (key and display value)


Constructor Detail
Top

PROTECTED ValueListHelper ()

Purpose: Disallow instance creation
Notes:



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