Namespace: Consultingwerk.OERA
Class 
TableModel Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.IDoNotIterateInDebugging, Consultingwerk.Framework.Base.IEnumerable, Consultingwerk.OERA.ModelFilter.IModelFilterTarget, Consultingwerk.Assertion.Support.ISupportsAvailable
Inherited by: Consultingwerk.SmartFramework.Repository.Customization.SmartCustomizationResultTableModel_Generated Consultingwerk.SmartFramework.Repository.Customization.SmartCustomizationResultTableModel Consultingwerk.SmartFramework.Repository.Customization.SmartCustomizationTableModel_Generated Consultingwerk.SmartFramework.Repository.Customization.SmartCustomizationTableModel Consultingwerk.SmartFramework.Repository.Customization.SmartCustomizationTypeTableModel_Generated Consultingwerk.SmartFramework.Repository.Customization.SmartCustomizationTypeTableModel Consultingwerk.SmartFramework.Repository.Field.SmartEntityFieldMappingTableModel_Generated Consultingwerk.SmartFramework.Repository.Field.SmartEntityFieldMappingTableModel Consultingwerk.SmartFramework.Repository.Object.SmartLinkTableModel_Generated Consultingwerk.SmartFramework.Repository.Object.SmartLinkTableModel Consultingwerk.SmartFramework.Repository.Object.SmartObjectInstanceTableModel_Generated Consultingwerk.SmartFramework.Repository.Object.SmartObjectInstanceTableModel Consultingwerk.SmartFramework.Repository.Object.SmartObjectMasterTableModel_Generated Consultingwerk.SmartFramework.Repository.Object.SmartObjectMasterTableModel Consultingwerk.SmartFramework.Repository.Object.SmartPageTableModel_Generated Consultingwerk.SmartFramework.Repository.Object.SmartPageTableModel Consultingwerk.SmartFramework.Repository.ScreenMapping.SmartEntityTableMappingTableModel_Generated Consultingwerk.SmartFramework.Repository.ScreenMapping.SmartEntityTableMappingTableModel Consultingwerk.SmartFramework.Repository.ScreenMapping.SmartScreenTypeTableModel_Generated Consultingwerk.SmartFramework.Repository.ScreenMapping.SmartScreenTypeTableModel Consultingwerk.SmartFramework.Repository.ScreenMapping.SmartUiTypeTableModel_Generated Consultingwerk.SmartFramework.Repository.ScreenMapping.SmartUiTypeTableModel Consultingwerk.SmartFramework.Scheduler.SmartSchedulerJobPlanTableModel_Generated Consultingwerk.SmartFramework.Scheduler.SmartSchedulerJobPlanTableModel Consultingwerk.SmartFramework.Authentication.SmartUserTableModel_Generated Consultingwerk.SmartFramework.Authentication.SmartUserTableModel Consultingwerk.SmartFramework.Authorization.PossibleGroupTableModel_Generated Consultingwerk.SmartFramework.Authorization.PossibleGroupTableModel Consultingwerk.RollbaseAdapter.MetaData.DataFieldDefsTableModel_Generated Consultingwerk.RollbaseAdapter.MetaData.DataFieldDefsTableModel Consultingwerk.RollbaseAdapter.MetaData.DataFieldDefTableModel_Generated Consultingwerk.RollbaseAdapter.MetaData.DataFieldDefTableModel Consultingwerk.RollbaseAdapter.MetaData.DataObjectDefTableModel_Generated Consultingwerk.RollbaseAdapter.MetaData.DataObjectDefTableModel Consultingwerk.SmartFramework.Authorization.SmartFieldSecurityItemTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartFieldSecurityItemTableModel Consultingwerk.SmartFramework.Authorization.SmartGroupTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartGroupTableModel Consultingwerk.SmartFramework.Authorization.SmartMenuGroupTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartMenuGroupTableModel Consultingwerk.SmartFramework.Authorization.SmartSecurityAssignmentTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartSecurityAssignmentTableModel Consultingwerk.SmartFramework.Authorization.SmartSecurityObjectTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartSecurityObjectTableModel Consultingwerk.SmartFramework.Authorization.SmartSecurityObjectTokenTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartSecurityObjectTokenTableModel Consultingwerk.SmartFramework.Authorization.SmartSecurityRealmTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartSecurityRealmTableModel Consultingwerk.SmartFramework.Authorization.SmartSecurityTokenTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartSecurityTokenTableModel Consultingwerk.SmartFramework.Authorization.SmartToolbarSecurityItemTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartToolbarSecurityItemTableModel Consultingwerk.SmartFramework.Authorization.SmartUserGroupTableModel_Generated Consultingwerk.SmartFramework.Authorization.SmartUserGroupTableModel Consultingwerk.SmartFramework.Authorization.UserGroupPossibleAssignmentsTableModel_Generated Consultingwerk.SmartFramework.Authorization.UserGroupPossibleAssignmentsTableModel Consultingwerk.SmartFramework.Context.SmartContextStoreTableModel_Generated Consultingwerk.SmartFramework.Context.SmartContextStoreTableModel Consultingwerk.SmartFramework.Lock.SmartLockTableModel_Generated Consultingwerk.SmartFramework.Lock.SmartLockTableModel Consultingwerk.SmartFramework.Menu.SmartFunctionTableModel_Generated Consultingwerk.SmartFramework.Menu.SmartFunctionTableModel Consultingwerk.SmartFramework.Menu.SmartMenuStyleTableModel_Generated Consultingwerk.SmartFramework.Menu.SmartMenuStyleTableModel Consultingwerk.SmartFramework.Menu.SmartMenuTableModel_Generated Consultingwerk.SmartFramework.Menu.SmartMenuTableModel Consultingwerk.SmartFramework.Menu.SmartModuleTableModel_Generated Consultingwerk.SmartFramework.Menu.SmartModuleTableModel Consultingwerk.SmartFramework.Menu.SmartProductTableModel_Generated Consultingwerk.SmartFramework.Menu.SmartProductTableModel Consultingwerk.SmartFramework.Repository.Class.SmartAttributeGroupTableModel_Generated Consultingwerk.SmartFramework.Repository.Class.SmartAttributeGroupTableModel Consultingwerk.SmartFramework.Repository.Class.SmartAttributeTableModel_Generated Consultingwerk.SmartFramework.Repository.Class.SmartAttributeTableModel Consultingwerk.SmartFramework.Repository.Class.SmartAttributeValueTableModel_Generated Consultingwerk.SmartFramework.Repository.Class.SmartAttributeValueTableModel Consultingwerk.SmartFramework.Repository.Class.SmartClassTypeTableModel_Generated Consultingwerk.SmartFramework.Repository.Class.SmartClassTypeTableModel Consultingwerk.SmartFramework.Repository.Class.SmartLinkTypeTableModel_Generated Consultingwerk.SmartFramework.Repository.Class.SmartLinkTypeTableModel Consultingwerk.SmartFramework.Repository.Class.SmartObjectTypeTableModel_Generated Consultingwerk.SmartFramework.Repository.Class.SmartObjectTypeTableModel Consultingwerk.SmartFramework.Repository.Class.SmartSupportedInstanceObjectTypeTableModel_Generated Consultingwerk.SmartFramework.Repository.Class.SmartSupportedInstanceObjectTypeTableModel Consultingwerk.SmartFramework.Repository.Class.SmartSupportedLinkTableModel_Generated Consultingwerk.SmartFramework.Repository.Class.SmartSupportedLinkTableModel Consultingwerk.RollbaseAdapter.MetaData.ListItemsTableModel_Generated Consultingwerk.RollbaseAdapter.MetaData.ListItemsTableModel Consultingwerk.RollbaseAdapter.MetaData.ListItemTableModel_Generated Consultingwerk.RollbaseAdapter.MetaData.ListItemTableModel Consultingwerk.RollbaseAdapter.MetaData.ObjectDefNameTableModel_Generated Consultingwerk.RollbaseAdapter.MetaData.ObjectDefNameTableModel Consultingwerk.RollbaseAdapter.MetaData.RelationshipDefsTableModel_Generated Consultingwerk.RollbaseAdapter.MetaData.RelationshipDefsTableModel Consultingwerk.RollbaseAdapter.MetaData.RelationshipDefTableModel_Generated Consultingwerk.RollbaseAdapter.MetaData.RelationshipDefTableModel Consultingwerk.SmartFramework.System.SmartLoginCompanyTableModel_Generated Consultingwerk.SmartFramework.System.SmartLoginCompanyTableModel Consultingwerk.SmartFramework.System.SmartMessageTableModel_Generated Consultingwerk.SmartFramework.System.SmartMessageTableModel Consultingwerk.SmartFramework.System.SmartModifiedStateTableModel_Generated Consultingwerk.SmartFramework.System.SmartModifiedStateTableModel Consultingwerk.SmartFramework.System.SmartRelationTableModel_Generated Consultingwerk.SmartFramework.System.SmartRelationTableModel Consultingwerk.SmartFramework.System.SmartTableTableModel_Generated Consultingwerk.SmartFramework.System.SmartTableTableModel Consultingwerk.SmartFramework.System.SmartTranslationTableModel_Generated Consultingwerk.SmartFramework.System.SmartTranslationTableModel Consultingwerk.SmartFramework.System.SmartUiTranslationTableModel_Generated Consultingwerk.SmartFramework.System.SmartUiTranslationTableModel Consultingwerk.SmartFramework.System.SmartValueListEntryTableModel_Generated Consultingwerk.SmartFramework.System.SmartValueListEntryTableModel Consultingwerk.SmartFramework.System.SmartValueListTableModel_Generated Consultingwerk.SmartFramework.System.SmartValueListTableModel Consultingwerk.SmartFramework.Web.SmartRouteTableModel_Generated Consultingwerk.SmartFramework.Web.SmartRouteTableModel Consultingwerk.SmartFramework.Workflow.SmartWorkflowActivityTableModel_Generated Consultingwerk.SmartFramework.Workflow.SmartWorkflowActivityTableModel Consultingwerk.SmartFramework.Workflow.SmartWorkflowStatusActivitiesTableModel_Generated Consultingwerk.SmartFramework.Workflow.SmartWorkflowStatusActivitiesTableModel Consultingwerk.SmartFramework.Workflow.SmartWorkflowStatusActivityTableModel_Generated Consultingwerk.SmartFramework.Workflow.SmartWorkflowStatusActivityTableModel Consultingwerk.SmartFramework.Workflow.SmartWorkflowStatusTableModel_Generated Consultingwerk.SmartFramework.Workflow.SmartWorkflowStatusTableModel Consultingwerk.SmartFramework.Workflow.SmartWorkflowTableModel_Generated Consultingwerk.SmartFramework.Workflow.SmartWorkflowTableModel Consultingwerk.SmartFramework.Scheduler.SmartSchedulerJobStatusTableModel_Generated Consultingwerk.SmartFramework.Scheduler.SmartSchedulerJobStatusTableModel Consultingwerk.SmartFramework.Scheduler.SmartSchedulerJobTableModel_Generated Consultingwerk.SmartFramework.Scheduler.SmartSchedulerJobTableModel Consultingwerk.SmartFramework.System.SmartAttachmentRoleTableModel_Generated Consultingwerk.SmartFramework.System.SmartAttachmentRoleTableModel Consultingwerk.SmartFramework.System.SmartAttachmentTableModel_Generated Consultingwerk.SmartFramework.System.SmartAttachmentTableModel Consultingwerk.SmartFramework.System.SmartBusinessEntityTableModel_Generated Consultingwerk.SmartFramework.System.SmartBusinessEntityTableModel Consultingwerk.SmartFramework.System.SmartBusinessEntityTableTableModel_Generated Consultingwerk.SmartFramework.System.SmartBusinessEntityTableTableModel Consultingwerk.SmartFramework.System.SmartCommentRoleTableModel_Generated Consultingwerk.SmartFramework.System.SmartCommentRoleTableModel Consultingwerk.SmartFramework.System.SmartConfigurationValueTableModel_Generated Consultingwerk.SmartFramework.System.SmartConfigurationValueTableModel Consultingwerk.SmartFramework.System.SmartDeletionTableModel_Generated Consultingwerk.SmartFramework.System.SmartDeletionTableModel Consultingwerk.SmartFramework.System.SmartKeyFieldAssignmentTypeTableModel_Generated Consultingwerk.SmartFramework.System.SmartKeyFieldAssignmentTypeTableModel Consultingwerk.SmartFramework.System.SmartLanguageTableModel_Generated Consultingwerk.SmartFramework.System.SmartLanguageTableModel
ABSTRACT

File:TableModel
Purpose:Abstract base class for Temp-Table Models
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Jun 15 01:45:21 CEST 2013
Notes:Used by the DatasetModel class



Top Method Summary
Options Name Purpose
+ Consultingwerk.OERA.TableModel AddQueryExpression (IQueryExpression) Adds a Query Expression to the list of Query Expressions of the table model
+ Consultingwerk.OERA.TableModel BufferCopy (Object) Copies any common properties (fields) determined by name from the source object to the current object instance. If there are fields in one buffer that do not exist in the other, they are ignored.
+ Consultingwerk.OERA.TableModel BufferCopy (Object, character) Copies any common properties (fields) determined by name from the source object to the current object instance. If there are fields in one buffer that do not exist in the other, they are ignored.
+ Consultingwerk.OERA.TableModel BufferCopy (Object, character, DictionaryPrimitiveHolder) Copies any common properties (fields) determined by name from the source object to the current object instance. If there are fields in one buffer that do not exist in the other, they are ignored.
+ Consultingwerk.OERA.TableModel BufferCopy (Object, DictionaryPrimitiveHolder) Copies any common properties (fields) determined by name from the source object to the current object instance. If there are fields in one buffer that do not exist in the other, they are ignored.
+ LOGICAL CanFind () Returns a TRUE value if a record is found that meets the current FIND criteria as specified in the QueryExpressions used by the Filter reference
+ LOGICAL CanFind (character) Returns a TRUE value if a record is found that meets the specified FIND criteria; otherwise it returns FALSE. CAN-FIND does not make the record available to the Business Entity or it's caller.
+ Consultingwerk.OERA.TableModel ClearFilter () Clears the current filter
+ Consultingwerk.OERA.TableModel Create () Creates a new record in the TableModel
# Consultingwerk.OERA.TableModel CreateCurrentRecordViewInternal () Creates a view for the current record in the model
- HANDLE CreateTempTable (character) Creates a dynamic temp-table based on the provided field spec
# Consultingwerk.OERA.TableModel CreateViewInternal () Creates a view on the table in the model
+ Consultingwerk.OERA.TableModel Delete () Deletes a record in the TableModel
+ LOGICAL Equals (Object) Implements Equality check on TableModel (records)
+ Consultingwerk.OERA.TableModel Fill () Executes the current filter
+ Consultingwerk.OERA.TableModel Fill (character) Fills the TableModel or filters the View TableModel with the given QueryString
+ Consultingwerk.OERA.TableModel Fill (character, OnNotAvailableEnum) Fills the TableModel or filters the View TableModel with the given QueryString
+ Consultingwerk.OERA.TableModel Fill (OnNotAvailableEnum) Executes the current filter
+ Consultingwerk.OERA.TableModel FillAllChildTables () Sets the FillChildTables property to populate all tables
# Consultingwerk.OERA.TableModel FillByKeyTable (IFetchDataByKeyTableParameter) Fills the DatasetModel based on the given IFetchDataByKeyTableParameter
+ Consultingwerk.OERA.TableModel FillByRowid (character) Fills the TableModel based on the given data-source ROWID (DB-ROWID)
+ Consultingwerk.OERA.TableModel FillByRowid (character, OnNotAvailableEnum) Fills the TableModel based on the given data-source ROWID (DB-ROWID)
# Consultingwerk.OERA.TableModel FillByTableQuery (TableQuery) Fills the DatasetModel based on the given TableQuery
# Consultingwerk.OERA.TableModel FillByTableQuery (TableQuery, OnNotAvailableEnum) Fills the DatasetModel based on the given TableQuery
+ Consultingwerk.OERA.TableModel FillFirst () Fills the TableModel with the first matching record
+ Consultingwerk.OERA.TableModel FillLast () Fills the TableModel with the first matching record
+ Consultingwerk.OERA.TableModel FillNoChildTables () Sets the FillChildTables property to populate no tables
+ Consultingwerk.OERA.TableModel FinalizeCurrentQuestions (ListQuestion) Updates the List of Questions associated with the current record
- Consultingwerk.OERA.TableModel FindByRowid (rowid) Finds a record in the BufferHandle by a ROWID
# Progress.Lang.Object GetCharacterEnumFieldValue (character, character) Returns the value of a buffer field as an Enum value
# Progress.Lang.Object GetCharacterEnumFieldValue (character, character, integer) Returns the value of a buffer field as an Enum value
+ Progress.Lang.Object GetCharacterEnumFieldValue (Class, character) Returns the value of a buffer field as an Enum value
# CHARACTER GetCharacterFieldValue (character) Returns the value of a buffer field
# CHARACTER GetCharacterFieldValue (character, integer) Returns the value of a buffer field
+ GetCurrent (LockModeEnum) Gets the current record of a BufferModel using the specified LockMode
# DATE GetDateFieldValue (character) Returns the value of a buffer field
# DATE GetDateFieldValue (character, integer) Returns the value of a buffer field
# DATETIME GetDateTimeFieldValue (character) Returns the value of a buffer field
# DATETIME GetDateTimeFieldValue (character, integer) Returns the value of a buffer field
# DATETIME-TZ GetDateTimeTzFieldValue (character) Returns the value of a buffer field
# DATETIME-TZ GetDateTimeTzFieldValue (character, integer) Returns the value of a buffer field
# DECIMAL GetDecimalFieldValue (character) Returns the value of a buffer field
# DECIMAL GetDecimalFieldValue (character, integer) Returns the value of a buffer field
+ Consultingwerk.Framework.Base.IEnumerator GetEnumerator () Returns a new IEnumerator instance for this object instance
# Consultingwerk.BufferFieldName GetFieldMapping (character) Returns the field mapping for the given field
# LOGICAL GetFillChildTable (character) Returns if the named child table is in the list of FillChildTables
+ LOGICAL GetFirst () Locates the Query to the first record
# HANDLE GetHandleFieldValue (character) Returns the value of a buffer field
# HANDLE GetHandleFieldValue (character, integer) Returns the value of a buffer field
# INT64 GetInt64FieldValue (character) Returns the value of a buffer field
# INT64 GetInt64FieldValue (character, integer) Returns the value of a buffer field
# Progress.Lang.Object GetIntegerEnumFieldValue (character, character) Returns the value of a buffer field as an Enum value
# Progress.Lang.Object GetIntegerEnumFieldValue (character, character, integer) Returns the value of a buffer field as an Enum value
# INTEGER GetIntegerFieldValue (character) Returns the value of a buffer field
# INTEGER GetIntegerFieldValue (character, integer) Returns the value of a buffer field
# LOGICAL GetLogicalFieldValue (character) Returns the value of a buffer field
# LOGICAL GetLogicalFieldValue (character, integer) Returns the value of a buffer field
# LONGCHAR GetLongcharFieldValue (character) Returns the value of a buffer field
# LONGCHAR GetLongcharFieldValue (character, integer) Returns the value of a buffer field
+ LOGICAL GetNext () Locates the Query to the next record
+ Consultingwerk.Framework.MessageInteraction.ListQuestion GetQuestions () Returns the List of Questions associated with the current record
# RAW GetRawFieldValue (character) Returns the value of a buffer field
# RAW GetRawFieldValue (character, integer) Returns the value of a buffer field
# RECID GetRecidFieldValue (character) Returns the value of a buffer field
# RECID GetRecidFieldValue (character, integer) Returns the value of a buffer field
# ROWID GetRowidFieldValue (character) Returns the value of a buffer field
# ROWID GetRowidFieldValue (character, integer) Returns the value of a buffer field
# Progress.Lang.Object GetValueObject (character) sReturns the value of a value object
# Progress.Lang.Object GetValueObject (character, integer) sReturns the value of a value object
+ Consultingwerk.OERA.ModelFilter.CharacterEnumFilter NewCharacterEnumFilter (character, TableModelFilter) Returns a New CharacterEnumFilter instance
+ Consultingwerk.OERA.ModelFilter.CharacterFilter NewCharacterFilter (character, TableModelFilter) Returns a New CharacterFilter instance
+ Consultingwerk.OERA.ModelFilter.DateFilter NewDateFilter (character, TableModelFilter) Returns a New DateFilter instance
+ Consultingwerk.OERA.ModelFilter.DateTimeFilter NewDateTimeFilter (character, TableModelFilter) Returns a New DateTimeFilter instance
+ Consultingwerk.OERA.ModelFilter.DateTimeTzFilter NewDateTimeTzFilter (character, TableModelFilter) Returns a New DateTimeTzFilter instance
+ Consultingwerk.OERA.ModelFilter.DecimalFilter NewDecimalFilter (character, TableModelFilter) Returns a New DecimalFilter instance
+ Consultingwerk.OERA.ModelFilter.Int64Filter NewInt64Filter (character, TableModelFilter) Returns a New Int64Filter instance
+ Consultingwerk.OERA.ModelFilter.IntegerFilter NewIntegerFilter (character, TableModelFilter) Returns a New IntegerFilter instance
+ Consultingwerk.OERA.ModelFilter.LogicalFilter NewLogicalFilter (character, TableModelFilter) Returns a New LogicalFilter instance
+ Consultingwerk.OERA.ModelFilter.RowidFilter NewRowidFilter (character, TableModelFilter) Returns a New RowidFilter instance
+ QueryOpen () Opens the (local) query used in the TableModel instance
+ Release () Releases a record
# ReopenDatasetChildQueries () Reopens the child relation queries
# ReopenDatasetChildQueries (handle) Reopens the child relation queries
# SetBufferFieldMapping (character) Assigns the buffer-field mapping information
# SetCharacterEnumFieldValue (character, Object) Assigns the value of a buffer field
# SetCharacterEnumFieldValue (character, Object, integer) Assigns the value of a buffer field
+ CHARACTER SetCharacterEnumFieldValue (Object) Assigns the value of a buffer field
# SetCharacterFieldValue (character, character) Assigns the value of a buffer field
# SetCharacterFieldValue (character, character, integer) Assigns the value of a buffer field
# SetDateFieldValue (character, date) Assigns the value of a buffer field
# SetDateFieldValue (character, date, integer) Assigns the value of a buffer field
# SetDateTimeFieldValue (character, datetime) Assigns the value of a buffer field
# SetDateTimeFieldValue (character, datetime, integer) Assigns the value of a buffer field
# SetDateTimeTzFieldValue (character, datetime-tz) Assigns the value of a buffer field
# SetDateTimeTzFieldValue (character, datetime-tz, integer) Assigns the value of a buffer field
# SetDecimalFieldValue (character, decimal) Assigns the value of a buffer field
# SetDecimalFieldValue (character, decimal, integer) Assigns the value of a buffer field
# SetFillChildTable (character, logical) Sets if the named child table is in the list of FillChildTables
# SetHandleFieldValue (character, handle) Assigns the value of a buffer field
# SetHandleFieldValue (character, handle, integer) Assigns the value of a buffer field
# SetInt64FieldValue (character, int64) Assigns the value of a buffer field
# SetInt64FieldValue (character, int64, integer) Assigns the value of a buffer field
# SetIntegerEnumFieldValue (character, Object) Assigns the value of a buffer field
# SetIntegerEnumFieldValue (character, Object, integer) Assigns the value of a buffer field
# SetIntegerFieldValue (character, integer) Assigns the value of a buffer field
# SetIntegerFieldValue (character, integer, integer) Assigns the value of a buffer field
# SetLogicalFieldValue (character, logical) Assigns the value of a buffer field
# SetLogicalFieldValue (character, logical, integer) Assigns the value of a buffer field
# SetLongcharFieldValue (character, longchar) Assigns the value of a buffer field
# SetLongcharFieldValue (character, longchar, integer) Assigns the value of a buffer field
# SetRawFieldValue (character, raw) Assigns the value of a buffer field
# SetRawFieldValue (character, raw, integer) Assigns the value of a buffer field
# SetRecidFieldValue (character, recid) Assigns the value of a buffer field
# SetRecidFieldValue (character, recid, integer) Assigns the value of a buffer field
# SetRowidFieldValue (character, rowid) Assigns the value of a buffer field
# SetRowidFieldValue (character, rowid, integer) Assigns the value of a buffer field
# SetValueObject (character, integer, Object) Assigns the value of a value object to the related fields
# SetValueObject (character, Object) Assigns the value of a value object to the related fields
+ CHARACTER ToString () Returns the Buffer name of the TableMode instance
+ Consultingwerk.OERA.TableModel UseBufferQuery () Ensures that the TableModel is using a local query on the buffer only
+ Consultingwerk.OERA.TableModel UseDatasetQuery () Ensures that the TableModel is using one of the ProDataset QUERY's

Top Constructor Summary
Options Name Purpose
# TableModel (character) Constructor for the TableModel class
# TableModel (DatasetModel, handle) Constructor for the TableModel class
# TableModel (handle) Constructor for the TableModel class
# TableModel (handle, BufferModelGcModeEnum) Constructor for the TableModel class
# TableModel (TableModel, handle) Constructor for the TableModel class

Top Property Summary
Options Name Purpose
+ LOGICAL Available
+ LOGICAL Batching
+ LOGICAL BufferError
+ CHARACTER BufferErrorString
+ HANDLE BufferHandle
+ Consultingwerk.OERA.BufferModelGcModeEnum BufferModelGcMode
+ CHARACTER BufferName
+ LOGICAL BufferRejected
+ Consultingwerk.OERA.DatasetModelModeEnum DatasetModelMode
+ Consultingwerk.OERA.DatasetModelPerformer DatasetModelPerformer
+ CHARACTER FillChildTables
+ Consultingwerk.OERA.TableModelTypeEnum ModelType
# Consultingwerk.ListQueryExpression QueryExpressions
+ HANDLE QueryHandle
# Progress.Lang.Object SavedFilterReference
+ CHARACTER SortString
+ LOGICAL UsingDatasetQuery


Method Detail
Top

PUBLIC Consultingwerk.OERA.TableModel AddQueryExpression (IQueryExpression)

Purpose: Adds a Query Expression to the list of Query Expressions of the
table model
Notes:

Parameters:
poQueryExpression Consultingwerk.IQueryExpression
The QueryExpression to retrieve data data for
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel BufferCopy (Object)

Purpose: Copies any common properties (fields) determined by name from the source
object to the current object instance. If there are fields in one buffer
that do not exist in the other, they are ignored.
Notes:

Parameters:
poSource Progress.Lang.Object
The source object to copy from
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel instance
Top

PUBLIC Consultingwerk.OERA.TableModel BufferCopy (Object, character)

Purpose: Copies any common properties (fields) determined by name from the source
object to the current object instance. If there are fields in one buffer
that do not exist in the other, they are ignored.
Notes:

Parameters:
poSource Progress.Lang.Object
The source object to copy from
pcExceptList CHARACTER
Comma delimited list of property names
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel instance
Top

PUBLIC Consultingwerk.OERA.TableModel BufferCopy (Object, character, DictionaryPrimitiveHolder)

Purpose: Copies any common properties (fields) determined by name from the source
object to the current object instance. If there are fields in one buffer
that do not exist in the other, they are ignored.
Notes:

Parameters:
poSource Progress.Lang.Object
The source object to copy from
pcExceptList CHARACTER
Comma delimited list of property names
poAssigns Consultingwerk.Framework.Collections.DictionaryPrimitiveHolder
The Dictionary with additional values to assign
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel instance
Top

PUBLIC Consultingwerk.OERA.TableModel BufferCopy (Object, DictionaryPrimitiveHolder)

Purpose: Copies any common properties (fields) determined by name from the source
object to the current object instance. If there are fields in one buffer
that do not exist in the other, they are ignored.
Notes:

Parameters:
poSource Progress.Lang.Object
The source object to copy from
poAssigns Consultingwerk.Framework.Collections.DictionaryPrimitiveHolder
The Dictionary with additional values to assign
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel instance
Top

PUBLIC LOGICAL CanFind ()

Purpose: Returns a TRUE value if a record is found that meets the current
FIND criteria as specified in the QueryExpressions used by the Filter
reference
Notes: Used by the TableModelFilter:CanFind() method

Returns LOGICAL
Logical value indicating if a record can be found
Top

PUBLIC LOGICAL CanFind (character)

Purpose: Returns a TRUE value if a record is found that meets the specified
FIND criteria; otherwise it returns FALSE. CAN-FIND does not make
the record available to the Business Entity or it's caller.
Notes:

Parameters:
pcFindString CHARACTER
Find String starting with "WHERE Buffer.Field = value" or "Buffer.Field = value"
Returns LOGICAL
Logical value indicating if a record can be found
Top

PUBLIC Consultingwerk.OERA.TableModel ClearFilter ()

Purpose: Clears the current filter
Notes:

Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel Create ()

Purpose: Creates a new record in the TableModel
Notes: Only supported for TableModel instances, not ViewModel instances
Requires Tracking Changes of the ProDataset

Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PROTECTED Consultingwerk.OERA.TableModel CreateCurrentRecordViewInternal ()

Purpose: Creates a view for the current record in the model
Notes:

Returns Consultingwerk.OERA.TableModel
The TableModel instance for the view
Top

PRIVATE HANDLE CreateTempTable (character)

Purpose: Creates a dynamic temp-table based on the provided field spec
Notes: fieldname1,datatype1,extent1,fieldname2,datatype2,extent2,...

Parameters:
pcFields CHARACTER
The field spec
Returns HANDLE
The default buffer handle of the created temp-table
Top

PROTECTED Consultingwerk.OERA.TableModel CreateViewInternal ()

Purpose: Creates a view on the table in the model
Notes:

Returns Consultingwerk.OERA.TableModel
The TableModel instance for the view
Top

PUBLIC Consultingwerk.OERA.TableModel Delete ()

Purpose: Deletes a record in the TableModel
Notes: Only supported for TableModel instances, not ViewModel instances
Requires Tracking Changes of the ProDataset

Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC LOGICAL Equals (Object)

Purpose: Implements Equality check on TableModel (records)
Notes: Equality is defined by equality of primary unique key value
as this is the expected form of equality check for
Entities (domain driven design). Ability to compare records
in this and the passed in TableModel reference relies on the
Equals will also return FALSE of any of the table TableModel's
don't have a record in scope
same UniqueKeyFields in both buffers

Parameters:
poTableModel Progress.Lang.Object
Reference to the TableModel to compare to
Returns LOGICAL
Logical value indicating of the two table models are identical by reference
Top

PUBLIC Consultingwerk.OERA.TableModel Fill ()

Purpose: Executes the current filter
Notes:

Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel Fill (character)

Purpose: Fills the TableModel or filters the View TableModel with the given
QueryString
Notes: The QueryString may be expressed or may not start with FOR EACH ...

Parameters:
pcQueryString CHARACTER
The QueryString which shall be used to retrieve data
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel Fill (character, OnNotAvailableEnum)

Purpose: Fills the TableModel or filters the View TableModel with the given
QueryString
Notes: The QueryString may be expressed or may not start with FOR EACH ...

Parameters:
pcQueryString CHARACTER
The QueryString which shall be used to retrieve data
poOnNotAvailable Consultingwerk.OERA.OnNotAvailableEnum
OnNotAvailableEnum member describing if the TableModel should throw an error on not availalbe
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel Fill (OnNotAvailableEnum)

Purpose: Executes the current filter
Notes:

Parameters:
poOnNotAvailable Consultingwerk.OERA.OnNotAvailableEnum
OnNotAvailableEnum member describing if the TableModel should throw an error on not availalbe
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel FillAllChildTables ()

Purpose: Sets the FillChildTables property to populate all tables
Notes:

Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PROTECTED Consultingwerk.OERA.TableModel FillByKeyTable (IFetchDataByKeyTableParameter)

Purpose: Fills the DatasetModel based on the given IFetchDataByKeyTableParameter
Notes: The Tables property of the IFetchDataByKeyTableParameter should match the
FillChildTables property of the TableModel instance

Parameters:
poFetchDataByKeyTableParameter Consultingwerk.OERA.IFetchDataByKeyTableParameter
The IFetchDataByKeyTableParameter to populate the DatasetModel with
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel FillByRowid (character)

Purpose: Fills the TableModel based on the given data-source ROWID (DB-ROWID)
Notes: DB-ROWID passed as comma-delimited list in case there are joined
data-source queries

Parameters:
pcSourceRowidIds CHARACTER
The comma-delimited list of data-source rowids
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel FillByRowid (character, OnNotAvailableEnum)

Purpose: Fills the TableModel based on the given data-source ROWID (DB-ROWID)
Notes: DB-ROWID passed as comma-delimited list in case there are joined
data-source queries

Parameters:
pcSourceRowidIds CHARACTER
The comma-delimited list of data-source rowids
poOnNotAvailable Consultingwerk.OERA.OnNotAvailableEnum
OnNotAvailableEnum member describing if the TableModel should throw an error on not availalbe
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PROTECTED Consultingwerk.OERA.TableModel FillByTableQuery (TableQuery)

Purpose: Fills the DatasetModel based on the given TableQuery
Notes:

Parameters:
poTableQuery Consultingwerk.OERA.QueryBuilder.TableQuery
The Table Query to populate the DatasetModel with
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PROTECTED Consultingwerk.OERA.TableModel FillByTableQuery (TableQuery, OnNotAvailableEnum)

Purpose: Fills the DatasetModel based on the given TableQuery
Notes:

Parameters:
poTableQuery Consultingwerk.OERA.QueryBuilder.TableQuery
The Table Query to populate the DatasetModel with
poOnNotAvailable Consultingwerk.OERA.OnNotAvailableEnum
OnNotAvailableEnum member describing if the TableModel should throw an error on not availalbe
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel FillFirst ()

Purpose: Fills the TableModel with the first matching record
Notes: Temporarily sets the BatchSize to 1 and performs Fill

Returns Consultingwerk.OERA.TableModel
Top

PUBLIC Consultingwerk.OERA.TableModel FillLast ()

Purpose: Fills the TableModel with the first matching record
Notes: Temporarily sets the BatchSize to 1 and performs Fill

Returns Consultingwerk.OERA.TableModel
Top

PUBLIC Consultingwerk.OERA.TableModel FillNoChildTables ()

Purpose: Sets the FillChildTables property to populate no tables
Notes:

Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel FinalizeCurrentQuestions (ListQuestion)

Purpose: Updates the List of Questions associated with the current record
Notes: See the Consultingwerk.Framework.MessageInteraction.IMessageInteractionService
The List of questions needs to be serialized to the Buffer using the
Consultingwerk.OERA.ITableModelQuestionProvider service implementation

Parameters:
poQuestions Consultingwerk.Framework.MessageInteraction.ListQuestion
The updated list of questions to be stored in the current record
Returns Consultingwerk.OERA.TableModel
The current TableModel instance for fleunt stlye coding
Top

PRIVATE Consultingwerk.OERA.TableModel FindByRowid (rowid)

Purpose: Finds a record in the BufferHandle by a ROWID
Notes: For OpenEdge 10.2B, 11.0 or 11.1 this method needs to be PUBLIC as
PRIVATE members are not accessible to other instances of the same type
in those releases. Customers using this method publicly on these
version of OpenEdge need to be prepared to change their code when
upgrading to OpenEdge 11.3 as this method is indeed intended to be
PRIVATE to all instances of the same class only.

Parameters:
proRowid ROWID
The rowid to locate
Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PROTECTED Progress.Lang.Object GetCharacterEnumFieldValue (character, character)

Purpose: Returns the value of a buffer field as an Enum value
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pcEnumType CHARACTER
The name of the Enum to convert the field value to
Returns Progress.Lang.Object
The field value
Top

PROTECTED Progress.Lang.Object GetCharacterEnumFieldValue (character, character, integer)

Purpose: Returns the value of a buffer field as an Enum value
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pcEnumType CHARACTER
The name of the Enum to convert the field value to
piIndex INTEGER
The array index
Returns Progress.Lang.Object
The field value
Top

PUBLIC Progress.Lang.Object GetCharacterEnumFieldValue (Class, character)

Purpose: Returns the value of a buffer field as an Enum value
Notes: Method can be overridden to customize field assignment

Parameters:
poEnumType Progress.Lang.Class
The type of the Enum to convert the field value to
pcFieldValue CHARACTER
The value of the field
Returns Progress.Lang.Object
The field value
Top

PROTECTED CHARACTER GetCharacterFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns CHARACTER
The field value
Top

PROTECTED CHARACTER GetCharacterFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns CHARACTER
The field value
Top

PUBLIC GetCurrent (LockModeEnum)

Purpose: Gets the current record of a BufferModel using the specified
LockMode
Notes:

Parameters:
poLockMode Consultingwerk.Util.Enum.LockModeEnum
The LockModeEnum value representing the lock mode
Top

PROTECTED DATE GetDateFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns DATE
The field value
Top

PROTECTED DATE GetDateFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns DATE
The field value
Top

PROTECTED DATETIME GetDateTimeFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns DATETIME
The field value
Top

PROTECTED DATETIME GetDateTimeFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns DATETIME
The field value
Top

PROTECTED DATETIME-TZ GetDateTimeTzFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns DATETIME-TZ
The field value
Top

PROTECTED DATETIME-TZ GetDateTimeTzFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns DATETIME-TZ
The field value
Top

PROTECTED DECIMAL GetDecimalFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns DECIMAL
The field value
Top

PROTECTED DECIMAL GetDecimalFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns DECIMAL
The field value
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

PROTECTED Consultingwerk.BufferFieldName GetFieldMapping (character)

Purpose: Returns the field mapping for the given field
Notes: Used only for BufferModel instances

Parameters:
pcFieldName CHARACTER
The name of the field to map
Returns Consultingwerk.BufferFieldName
The field mapping information
Top

PROTECTED LOGICAL GetFillChildTable (character)

Purpose: Returns if the named child table is in the list of FillChildTables
Notes: Internal, used for the implementation of the FilleCustomer properties

Parameters:
pcChildTableName CHARACTER
The name of the child table to fill
Returns LOGICAL
Logical value indicating if that given child table should be populated
Top

PUBLIC LOGICAL GetFirst ()

Purpose: Locates the Query to the first record
Notes:

Returns LOGICAL
Logical value indicating if a record is available
Top

PROTECTED HANDLE GetHandleFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns HANDLE
The field value
Top

PROTECTED HANDLE GetHandleFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns HANDLE
The field value
Top

PROTECTED INT64 GetInt64FieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns INT64
The field value
Top

PROTECTED INT64 GetInt64FieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns INT64
The field value
Top

PROTECTED Progress.Lang.Object GetIntegerEnumFieldValue (character, character)

Purpose: Returns the value of a buffer field as an Enum value
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pcEnumType CHARACTER
The name of the Enum to convert the field value to
Returns Progress.Lang.Object
The field value
Top

PROTECTED Progress.Lang.Object GetIntegerEnumFieldValue (character, character, integer)

Purpose: Returns the value of a buffer field as an Enum value
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pcEnumType CHARACTER
The name of the Enum to convert the field value to
piIndex INTEGER
The array index
Returns Progress.Lang.Object
The field value
Top

PROTECTED INTEGER GetIntegerFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns INTEGER
The field value
Top

PROTECTED INTEGER GetIntegerFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns INTEGER
The field value
Top

PROTECTED LOGICAL GetLogicalFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns LOGICAL
The field value
Top

PROTECTED LOGICAL GetLogicalFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns LOGICAL
The field value
Top

PROTECTED LONGCHAR GetLongcharFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns LONGCHAR
The field value
Top

PROTECTED LONGCHAR GetLongcharFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns LONGCHAR
The field value
Top

PUBLIC LOGICAL GetNext ()

Purpose: Locates the Query to the next record
Notes:

Returns LOGICAL
Logical value indicating if a record is available
Top

PUBLIC Consultingwerk.Framework.MessageInteraction.ListQuestion GetQuestions ()

Purpose: Returns the List of Questions associated with the current record
Notes: See the Consultingwerk.Framework.MessageInteraction.IMessageInteractionService
The List of questions needs to be deserialized from the Buffer using the
Consultingwerk.OERA.ITableModelQuestionProvider service implementation

Returns Consultingwerk.Framework.MessageInteraction.ListQuestion
The list of Questions associated with the current record
Top

PROTECTED RAW GetRawFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns RAW
The field value
Top

PROTECTED RAW GetRawFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns RAW
The field value
Top

PROTECTED RECID GetRecidFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns RECID
The field value
Top

PROTECTED RECID GetRecidFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns RECID
The field value
Top

PROTECTED ROWID GetRowidFieldValue (character)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
Returns ROWID
The field value
Top

PROTECTED ROWID GetRowidFieldValue (character, integer)

Purpose: Returns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The index of the extent field
Returns ROWID
The field value
Top

PROTECTED Progress.Lang.Object GetValueObject (character)

Purpose: sReturns the value of a value object
Notes: Dynamically invokes the Get<FieldName> method which is expected
to be implemented in the actual TableModel implementation

Parameters:
pcFieldName CHARACTER
The name of the field
Returns Progress.Lang.Object
The value of the field / value object
Top

PROTECTED Progress.Lang.Object GetValueObject (character, integer)

Purpose: sReturns the value of a value object
Notes: Dynamically invokes the Get<FieldName> method which is expected
to be implemented in the actual TableModel implementation

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The array index
Returns Progress.Lang.Object
The value of the field / value object
Top

PUBLIC Consultingwerk.OERA.ModelFilter.CharacterEnumFilter NewCharacterEnumFilter (character, TableModelFilter)

Purpose: Returns a New CharacterEnumFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.CharacterEnumFilter
The CharacterFilter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.CharacterFilter NewCharacterFilter (character, TableModelFilter)

Purpose: Returns a New CharacterFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.CharacterFilter
The CharacterFilter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.DateFilter NewDateFilter (character, TableModelFilter)

Purpose: Returns a New DateFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.DateFilter
The DateFilter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.DateTimeFilter NewDateTimeFilter (character, TableModelFilter)

Purpose: Returns a New DateTimeFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.DateTimeFilter
The DateTimeFilter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.DateTimeTzFilter NewDateTimeTzFilter (character, TableModelFilter)

Purpose: Returns a New DateTimeTzFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.DateTimeTzFilter
The DateTimeTzFilter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.DecimalFilter NewDecimalFilter (character, TableModelFilter)

Purpose: Returns a New DecimalFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.DecimalFilter
The DecimalFilter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.Int64Filter NewInt64Filter (character, TableModelFilter)

Purpose: Returns a New Int64Filter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.Int64Filter
The Int64Filter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.IntegerFilter NewIntegerFilter (character, TableModelFilter)

Purpose: Returns a New IntegerFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.IntegerFilter
The IntegerFilter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.LogicalFilter NewLogicalFilter (character, TableModelFilter)

Purpose: Returns a New LogicalFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.LogicalFilter
The LogicalFilter instance
Top

PUBLIC Consultingwerk.OERA.ModelFilter.RowidFilter NewRowidFilter (character, TableModelFilter)

Purpose: Returns a New RowidFilter instance
Notes:

Parameters:
pcFieldName CHARACTER
The name of the buffer field to filter on
poTableModelFilter Consultingwerk.OERA.ModelFilter.TableModelFilter
The reference to the TableModelFilter instance
Returns Consultingwerk.OERA.ModelFilter.RowidFilter
The LogicalFilter instance
Top

PUBLIC QueryOpen ()

Purpose: Opens the (local) query used in the TableModel instance
Notes: Does also call GetFirst()

Top

PUBLIC Release ()

Purpose: Releases a record
Notes:

Top

PROTECTED ReopenDatasetChildQueries ()

Purpose: Reopens the child relation queries
Notes: Used when navigating the current buffer using the GetFirst() and
GetNext() methods

Top

PROTECTED ReopenDatasetChildQueries (handle)

Purpose: Reopens the child relation queries
Notes: Used when navigating the current buffer using the GetFirst() and
GetNext() methods
Recurcive method

Parameters:
phBufferHandle HANDLE
The handle of the buffer to open child queries of
Top

PROTECTED SetBufferFieldMapping (character)

Purpose: Assigns the buffer-field mapping information
Notes: Receives the buffer field mapping for a BufferModel instance

Parameters:
pcBufferFieldMapping CHARACTER
The buffer-field mapping
Top

PROTECTED SetCharacterEnumFieldValue (character, Object)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
poFieldValue Progress.Lang.Object
The value for the field
Top

PROTECTED SetCharacterEnumFieldValue (character, Object, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
poFieldValue Progress.Lang.Object
The value for the field
piIndex INTEGER
The array index
Top

PUBLIC CHARACTER SetCharacterEnumFieldValue (Object)

Purpose: Assigns the value of a buffer field
Notes: Method can be overridden to customize field assignment

Parameters:
poFieldValue Progress.Lang.Object
The value for the field
Returns CHARACTER
The character field value
Top

PROTECTED SetCharacterFieldValue (character, character)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue CHARACTER
The value for the field
Top

PROTECTED SetCharacterFieldValue (character, character, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue CHARACTER
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetDateFieldValue (character, date)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue DATE
The value for the field
Top

PROTECTED SetDateFieldValue (character, date, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue DATE
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetDateTimeFieldValue (character, datetime)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue DATETIME
The value for the field
Top

PROTECTED SetDateTimeFieldValue (character, datetime, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue DATETIME
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetDateTimeTzFieldValue (character, datetime-tz)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue DATETIME-TZ
The value for the field
Top

PROTECTED SetDateTimeTzFieldValue (character, datetime-tz, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue DATETIME-TZ
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetDecimalFieldValue (character, decimal)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue DECIMAL
The value for the field
Top

PROTECTED SetDecimalFieldValue (character, decimal, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue DECIMAL
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetFillChildTable (character, logical)

Purpose: Sets if the named child table is in the list of FillChildTables
Notes: Internal, used for the implementation of the FilleCustomer properties

Parameters:
pcChildTableName CHARACTER
The name of the child table to fill
plValue LOGICAL
Logical value indicating if that given child table should be populated
Top

PROTECTED SetHandleFieldValue (character, handle)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue HANDLE
The value for the field
Top

PROTECTED SetHandleFieldValue (character, handle, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue HANDLE
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetInt64FieldValue (character, int64)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue INT64
The value for the field
Top

PROTECTED SetInt64FieldValue (character, int64, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue INT64
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetIntegerEnumFieldValue (character, Object)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
poFieldValue Progress.Lang.Object
The value for the field
Top

PROTECTED SetIntegerEnumFieldValue (character, Object, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
poFieldValue Progress.Lang.Object
The value for the field
piIndex INTEGER
The array index
Top

PROTECTED SetIntegerFieldValue (character, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue INTEGER
The value for the field
Top

PROTECTED SetIntegerFieldValue (character, integer, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue INTEGER
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetLogicalFieldValue (character, logical)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue LOGICAL
The value for the field
Top

PROTECTED SetLogicalFieldValue (character, logical, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue LOGICAL
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetLongcharFieldValue (character, longchar)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue LONGCHAR
The value for the field
Top

PROTECTED SetLongcharFieldValue (character, longchar, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue LONGCHAR
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetRawFieldValue (character, raw)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue RAW
The value for the field
Top

PROTECTED SetRawFieldValue (character, raw, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue RAW
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetRecidFieldValue (character, recid)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue RECID
The value for the field
Top

PROTECTED SetRecidFieldValue (character, recid, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue RECID
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetRowidFieldValue (character, rowid)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue ROWID
The value for the field
Top

PROTECTED SetRowidFieldValue (character, rowid, integer)

Purpose: Assigns the value of a buffer field
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field
pxFieldValue ROWID
The value for the field
piIndex INTEGER
The index of the extent field
Top

PROTECTED SetValueObject (character, integer, Object)

Purpose: Assigns the value of a value object to the related fields
Notes: Dynamically invokes the Set<FieldName> method which is expected
to be implemented in the actual TableModel implementation

Parameters:
pcFieldName CHARACTER
The name of the field
piIndex INTEGER
The array index
poFieldValue Progress.Lang.Object
The value for the field
Top

PROTECTED SetValueObject (character, Object)

Purpose: Assigns the value of a value object to the related fields
Notes: Dynamically invokes the Set<FieldName> method which is expected
to be implemented in the actual TableModel implementation

Parameters:
pcFieldName CHARACTER
The name of the field
poFieldValue Progress.Lang.Object
The value for the field
Top

PUBLIC CHARACTER ToString ()

Purpose: Returns the Buffer name of the TableMode instance
Notes:

Returns CHARACTER
The Buffer name
Top

PUBLIC Consultingwerk.OERA.TableModel UseBufferQuery ()

Purpose: Ensures that the TableModel is using a local query on the buffer only
Notes:

Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself
Top

PUBLIC Consultingwerk.OERA.TableModel UseDatasetQuery ()

Purpose: Ensures that the TableModel is using one of the ProDataset QUERY's
Notes: Allows switching back to using the ProDataset QUERY associated with
the TableModel buffer after a Fill() invocation has switched to using
a custom query

Returns Consultingwerk.OERA.TableModel
The reference to the TableModel itself


Constructor Detail
Top

PROTECTED TableModel (character)

Purpose: Constructor for the TableModel class
Notes: Creates an instance of a buffer model TableModel with a dynamic internal temp-table

Parameters:
pcFields CHARACTER
The comma-delimited list of temp-table fields
Top

PROTECTED TableModel (DatasetModel, handle)

Purpose: Constructor for the TableModel class
Notes:

Parameters:
poDatasetModel Consultingwerk.OERA.DatasetModel
The reference to the owning DatasetModel
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
Top

PROTECTED TableModel (handle)

Purpose: Constructor for the TableModel class
Notes: Creates an instance of a buffer model TableModel

Parameters:
phBufferHandle HANDLE
The handle of the buffer this TableModel represents
Top

PROTECTED TableModel (handle, BufferModelGcModeEnum)

Purpose: Constructor for the TableModel class
Notes: Creates an instance of a buffer model TableModel

Parameters:
phBufferHandle HANDLE
The handle of the buffer this TableModel represents
poGcMode Consultingwerk.OERA.BufferModelGcModeEnum
The BufferModelGcModeEnum describing if the buffer or table handle should be deleted with the BufferModel instance
Top

PROTECTED TableModel (TableModel, handle)

Purpose: Constructor for the TableModel class
Notes: Creates an instance of a view model TableModel

Parameters:
poTableModel Consultingwerk.OERA.TableModel
The reference to the owning TableModel
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents


Property Detail
Top

PUBLIC LOGICAL Available


Returns LOGICAL
Top

PUBLIC LOGICAL Batching


Returns LOGICAL
Top

PUBLIC LOGICAL BufferError


Returns LOGICAL
Top

PUBLIC CHARACTER BufferErrorString


Returns CHARACTER
Top

PUBLIC HANDLE BufferHandle


Returns HANDLE
Top

PUBLIC Consultingwerk.OERA.BufferModelGcModeEnum BufferModelGcMode


Returns Consultingwerk.OERA.BufferModelGcModeEnum
Top

PUBLIC CHARACTER BufferName


Returns CHARACTER
Top

PUBLIC LOGICAL BufferRejected


Returns LOGICAL
Top

PUBLIC Consultingwerk.OERA.DatasetModelModeEnum DatasetModelMode


Returns Consultingwerk.OERA.DatasetModelModeEnum
Top

PUBLIC Consultingwerk.OERA.DatasetModelPerformer DatasetModelPerformer


Returns Consultingwerk.OERA.DatasetModelPerformer
Top

PUBLIC CHARACTER FillChildTables


Returns CHARACTER
Top

PUBLIC Consultingwerk.OERA.TableModelTypeEnum ModelType


Returns Consultingwerk.OERA.TableModelTypeEnum
Top

PROTECTED Consultingwerk.ListQueryExpression QueryExpressions


Returns Consultingwerk.ListQueryExpression
Top

PUBLIC HANDLE QueryHandle


Returns HANDLE
Top

PROTECTED Progress.Lang.Object SavedFilterReference


Returns Progress.Lang.Object
Top

PUBLIC CHARACTER SortString


Returns CHARACTER
Top

PUBLIC LOGICAL UsingDatasetQuery


Returns LOGICAL


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:14:00