Namespace: Consultingwerk.Framework.Base
Class 
GenericList Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Base.IArrayList, Consultingwerk.Framework.Base.IEnumerable, Consultingwerk.Framework.Base.ISupportsListChanged, Consultingwerk.Framework.Base.ISupportsListHash
Inherited by: Consultingwerk.SmartFramework.Authentication.ListSmartUser_Generated Consultingwerk.SmartFramework.Authentication.ListSmartUser Consultingwerk.SmartFramework.Authorization.ListSmartGroup_Generated Consultingwerk.SmartFramework.Authorization.ListSmartGroup Consultingwerk.SmartFramework.Authorization.ListSmartMenuGroup_Generated Consultingwerk.SmartFramework.Authorization.ListSmartMenuGroup Consultingwerk.SmartFramework.Authorization.ListSmartSecurityAssignment_Generated Consultingwerk.SmartFramework.Authorization.ListSmartSecurityAssignment Consultingwerk.SmartFramework.Authorization.ListSmartSecurityRealm_Generated Consultingwerk.SmartFramework.Authorization.ListSmartSecurityRealm Consultingwerk.SmartFramework.Authorization.ListSmartUserGroup_Generated Consultingwerk.SmartFramework.Authorization.ListSmartUserGroup Consultingwerk.SmartFramework.Menu.ListSmartFunction_Generated Consultingwerk.SmartFramework.Menu.ListSmartFunction Consultingwerk.Web.KendoUiBuilder.DataProvider.ListField Consultingwerk.SmartFramework.Menu.ListSmartMenuStyle_Generated Consultingwerk.SmartFramework.Menu.ListSmartMenuStyle Consultingwerk.SmartFramework.Menu.ListSmartMenu_Generated Consultingwerk.SmartFramework.Menu.ListSmartMenu Consultingwerk.SmartFramework.Menu.ListSmartModule_Generated Consultingwerk.SmartFramework.Menu.ListSmartModule Consultingwerk.SmartFramework.Menu.Routes.ListRouteDefinition Consultingwerk.Windows.ListAndLabel.ListReportBuffer Consultingwerk.Windows.ProDatasetObjectMapping.ListChildTableMapping Consultingwerk.SmartFramework.Workflow.ListWorkflowStatusActivity Consultingwerk.SmartUnit.Output.ListOutputWriter Consultingwerk.Studio.LegacyGuiMigration.Frame.ListTriggerEvent Consultingwerk.Studio.ListAnnotation Consultingwerk.Studio.ListCaseWhen Consultingwerk.Studio.ListClassMember Consultingwerk.Studio.Proparse.ListProparseTreeViewCustomizer Consultingwerk.Studio.Protop.ListProtopDatabase Consultingwerk.Web.Kendo.Data.ListFilter Consultingwerk.Web.Kendo.Grid.ListColumn Consultingwerk.Web.KendoUiBuilder.DataProvider.ListDataSource Consultingwerk.CommonUi.ListFieldControl Consultingwerk.Framework.Ccs.ListService Consultingwerk.Framework.Collections.ListIErrorHandler Consultingwerk.Framework.Collections.ListIStopConditionHandler Consultingwerk.Framework.MessageInteraction.ListQuestion Consultingwerk.Framework.TypeDescriptor.ListIPropertyDescriptor Consultingwerk.Framework.TypeDescriptor.ListSerializableAnnotation Consultingwerk.Framework.TypeDescriptor.ListSerializableClassMemberAnnotation Consultingwerk.ListMethod Consultingwerk.ListNameValuePair Consultingwerk.ListQueryExpression Consultingwerk.ListSortField Consultingwerk.OERA.BusinessEntityDescriptor.ListBusinessEntityFieldDescriptor Consultingwerk.OERA.BusinessEntityDescriptor.ListBusinessEntityTableDescriptor Consultingwerk.OERA.BusinessEntityDescriptor.ListBusinessEntityViewDescriptor Consultingwerk.OERA.BusinessEntityDescriptor.ListInvokableMethodDescriptor Consultingwerk.OERA.BusinessEntityDispatcher.ListDispatcherBusinessEntityDispatcherConfigurationItem Consultingwerk.OERA.Ccs.ListQueryEntry Consultingwerk.BusinessEntityDesigner.Generator.ListIControlGenerator Consultingwerk.BusinessEntityDesigner.Generator.TelerikMobile.ListColumn Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ListViewerFieldSpec Consultingwerk.BusinessEntityDesigner.Services.ListAssignSkipDictionaryEntry Consultingwerk.CommonUi.Components.RadioSet.ListRadioButton Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNode Consultingwerk.CommonUi.Components.TreeView.ListSerializableTreeNodeDetailSpec Consultingwerk.CommonUi.Components.TreeView.ListSmartTreeNodeProvider Consultingwerk.SmartFramework.Repository.ScreenMapping.ListScreenMapping Consultingwerk.Web.KendoUiBuilder.DataProvider.ListRelationFieldPair Consultingwerk.Web.KendoUiBuilder.Module.ListColumn Consultingwerk.Web.KendoUiBuilder.Module.ListField Consultingwerk.Web.KendoUiBuilder.Module.ListView Consultingwerk.Web.KendoUiBuilder.Module.ListViewChildren Consultingwerk.Web.Widgets.Grid.ListGridFilter Consultingwerk.Web.Widgets.ListControl Consultingwerk.Web.Widgets.ListGridColumn Consultingwerk.Web.Widgets.ListRibbonGroup Consultingwerk.Web.Widgets.ListRibbonTab Consultingwerk.Web.Widgets.ListTool Consultingwerk.Web.Widgets.Ribbon.ListTaskBarMenuItem Consultingwerk.Web2.SmartFramework.Menu.ListSerializableMenuItem Consultingwerk.Web2.Views.ListSerializableLayoutElement Consultingwerk.Web2.Views.ListSerializableToolbarGroup Consultingwerk.Web2.Views.ListSerializableToolbarItem Consultingwerk.Windows.Framework.Repository.LegacyGuiMigration.Grid.ListGridColumn Consultingwerk.Windows.Framework.Repository.Object.ListISmartObjectMasterFormPlugin Consultingwerk.OERA.ListBufferSpec Consultingwerk.OERA.ListBusinessTaskMethodData Consultingwerk.OERA.ListTableModel Consultingwerk.OERA.NamedQueryParameterList Consultingwerk.OERA.RestResource.ListRestAddress Consultingwerk.OERA.RestResource.ListRestMethod Consultingwerk.OERA.ValidationMessages.ListValidationMessage Consultingwerk.SmartComponents.Base.ListISmartDataTarget Consultingwerk.SmartComponents.Base.ListISmartGroupAssignTarget Consultingwerk.SmartComponents.Base.ListISmartGroupCreateTarget Consultingwerk.SmartComponents.Base.ListISmartTableIOTarget Consultingwerk.SmartComponents.Base.ListSmartDataAdapter Consultingwerk.SmartComponents.Base.ListSmartViewerControl Consultingwerk.SmartComponents.Implementation.ListISmartToolbarTarget Consultingwerk.SmartComponents.Implementation.ListSmartDataBrowser Consultingwerk.SmartComponents.Implementation.ListTableIOTargetControl Consultingwerk.SmartFramework.Scheduler.ListProcedureParameterObject Consultingwerk.SmartFramework.System.ListSmartAttachmentRole_Generated Consultingwerk.SmartFramework.System.ListSmartAttachmentRole Consultingwerk.SmartFramework.System.ListSmartAttachment_Generated Consultingwerk.SmartFramework.System.ListSmartAttachment Consultingwerk.SmartFramework.System.ListSmartBusinessEntityTableConfiguration Consultingwerk.SmartFramework.System.ListSmartCommentRole_Generated Consultingwerk.SmartFramework.System.ListSmartCommentRole Consultingwerk.SmartFramework.System.ListSmartFieldsService Consultingwerk.SmartFramework.System.ListSmartLanguage_Generated Consultingwerk.SmartFramework.System.ListSmartLanguage Consultingwerk.SmartFramework.System.ListSmartLoginCompany_Generated Consultingwerk.SmartFramework.System.ListSmartLoginCompany Consultingwerk.SmartFramework.System.ListSmartMessage_Generated Consultingwerk.SmartFramework.System.ListSmartMessage Consultingwerk.SmartFramework.System.ListSmartRelation_Generated Consultingwerk.SmartFramework.System.ListSmartRelation Consultingwerk.SmartFramework.System.ListSmartTable_Generated Consultingwerk.SmartFramework.System.ListSmartTable Consultingwerk.SmartFramework.System.ListSmartTranslation_Generated Consultingwerk.SmartFramework.System.ListSmartTranslation Consultingwerk.SmartFramework.System.ListSmartUiTranslation_Generated Consultingwerk.SmartFramework.System.ListSmartUiTranslation Consultingwerk.SmartFramework.System.ListSmartValueListEntry_Generated Consultingwerk.SmartFramework.System.ListSmartValueListEntry Consultingwerk.SmartFramework.System.ListSmartValueList_Generated Consultingwerk.SmartFramework.System.ListSmartValueList Consultingwerk.Web.KendoUiBuilder.DataProvider.ListRelation
ABSTRACT SERIALIZABLE

File:GenericList
Purpose:Abstract base class for generic lists
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Jan 20 20:48:40 CET 2011
Notes:Uses a single static temp-table for all GenericList instances
On OpenEdge 10 to avoid too many temp-tables issues



Top Method Summary
Options Name Purpose
+ Clear () Removes all items from the List
+ LOGICAL Contains (Object) Determines if an object is a member of the List
+ Consultingwerk.Framework.Base.IEnumerator GetEnumerator () Returns a new IEnumerator instance for this object instance
+ Progress.Lang.Object GetItemInternal__ (integer) Returns the Item at the specified Index
+ INTEGER IndexOf (Object) Determines the index of a specific item in the List
# InternalAdd (Object) Adds an Item to the List
# InternalAdd (Object[]) Adds the Items from an Array to the List
# Progress.Lang.Object InternalGetItem (integer) Returns the Item at the specified Index
# OnListChanged (ListChangedEventArgs) Raises the ListChanged event
+ LOGICAL Remove (Object) Removes the first occurrence of a specific object from the List
+ LOGICAL RemoveAt (integer) Removes the List item at the specified index.

Top Constructor Summary
Options Name Purpose
# GenericList () Constructor for the GenericList class

Top Event Summary
Options Name Purpose
+ ListChanged (Object, ListChangedEventArgs) Raised when the List is changed by adding or removing items or clearing the list

Top Property Summary
Options Name Purpose
+ INTEGER Count
+ CHARACTER ListHash


Method Detail
Top

PUBLIC Clear ()

Purpose: Removes all items from the List
Notes:

Top

PUBLIC LOGICAL Contains (Object)

Purpose: Determines if an object is a member of the List
Notes:

Parameters:
poListItem Progress.Lang.Object
The object to locate in the List
Returns LOGICAL
Logical value indicating if the object is contained in the list
Top

PUBLIC Consultingwerk.Framework.Base.IEnumerator GetEnumerator ()

Purpose: Returns a new IEnumerator instance for this object instance
Notes:

Returns Consultingwerk.Framework.Base.IEnumerator
The IEnumerator instance for this object
Top

PUBLIC Progress.Lang.Object GetItemInternal__ (integer)

Purpose: Returns the Item at the specified Index
Notes: This method is only intended to be used by the ListEnumerator
Any other use of this method is not supported

Parameters:
piIndex INTEGER
The index of the Item to be returned
Returns Progress.Lang.Object
The object at the specified list position
Top

PUBLIC INTEGER IndexOf (Object)

Purpose: Determines the index of a specific item in the List
Notes:

Parameters:
poListItem Progress.Lang.Object
The object to locate in the List
Returns INTEGER
Integer value indicating if position of the object in the list
Top

PROTECTED InternalAdd (Object)

Purpose: Adds an Item to the List
Notes: Protected method to be overridden in the actual generic List class

Parameters:
poItem Progress.Lang.Object
The Item to add to the List
Top

PROTECTED InternalAdd (Object[])

Purpose: Adds the Items from an Array to the List
Notes: Protected method to be overridden in the actual generic List class

Parameters:
poItem Progress.Lang.Object
The Array of Items to add to the List
Top

PROTECTED Progress.Lang.Object InternalGetItem (integer)

Purpose: Returns the Item at the specified Index
Notes: Protected method to be overridden in the actual generic List class

Parameters:
piIndex INTEGER
The 1 based index of the Item to be returned
Returns Progress.Lang.Object
The object at the specified list position
Top

PROTECTED OnListChanged (ListChangedEventArgs)

Purpose: Raises the ListChanged event
Notes:

Parameters:
e Consultingwerk.Framework.Base.ListChangedEventArgs
The ListChangedEventArgs object instance with the data of the ListChanged event
Top

PUBLIC LOGICAL Remove (Object)

Purpose: Removes the first occurrence of a specific object from the List
Notes:

Parameters:
poListItem Progress.Lang.Object
The member to remove from the List
Returns LOGICAL
Logical value indicating if the item was removed
Top

PUBLIC LOGICAL RemoveAt (integer)

Purpose: Removes the List item at the specified index.
Notes:

Parameters:
piIndex INTEGER
The Index of the Item to remove from the List
Returns LOGICAL
Logical value indicating if the item was removed


Constructor Detail
Top

PROTECTED GenericList ()

Purpose: Constructor for the GenericList class
Notes:



Event Detail
Top

PUBLIC ListChanged (Object, ListChangedEventArgs)

Purpose: Raised when the List is changed by adding or removing items or
clearing the list
Notes:

Parameters:
sender Progress.Lang.Object
The sender of the event
e Consultingwerk.Framework.Base.ListChangedEventArgs
The ListChangedEventArgs object instance with the data of the ListChanged event


Property Detail
Top

PUBLIC INTEGER Count


Returns INTEGER
Top

PUBLIC CHARACTER ListHash


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       20.05.2024 17:10:21