Namespace: Consultingwerk.OERA
Class 
TableModel Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Base.IEnumerable, Consultingwerk.OERA.ModelFilter.IModelFilterTarget
Inherited by: Consultingwerk.SmartFramework.Authentication.SmartUserTableModel_Generated, Consultingwerk.SmartFramework.Authentication.SmartUserTableModel, Consultingwerk.SmartFramework.Authorization.PossibleGroupTableModel_Generated, Consultingwerk.SmartFramework.Authorization.PossibleGroupTableModel, 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.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.Scheduler.SmartSchedulerJobPlanTableModel_Generated, Consultingwerk.SmartFramework.Scheduler.SmartSchedulerJobPlanTableModel, 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.SmartDeletionTableModel_Generated, Consultingwerk.SmartFramework.System.SmartDeletionTableModel, Consultingwerk.SmartFramework.System.SmartKeyFieldAssignmentTypeTableModel_Generated, Consultingwerk.SmartFramework.System.SmartKeyFieldAssignmentTypeTableModel, Consultingwerk.SmartFramework.System.SmartLanguageTableModel_Generated, Consultingwerk.SmartFramework.System.SmartLanguageTableModel, Consultingwerk.SmartFramework.System.SmartLoginCompanyTableModel_Generated, Consultingwerk.SmartFramework.System.SmartLoginCompanyTableModel, Consultingwerk.SmartFramework.System.SmartMessageTableModel_Generated, Consultingwerk.SmartFramework.System.SmartMessageTableModel, 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.Context.SmartContextStoreTableModel_Generated, Consultingwerk.SmartFramework.Context.SmartContextStoreTableModel, Consultingwerk.SmartFramework.Localization.TempTableTableModel_Generated, Consultingwerk.SmartFramework.Localization.TempTableTableModel, 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.SmartSupportedLinkTableModel_Generated, Consultingwerk.SmartFramework.Repository.Class.SmartSupportedLinkTableModel, 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.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
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
+ 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
# Consultingwerk.OERA.TableModel CreateViewInternal () Creates a view on the table in the model
+ Consultingwerk.OERA.TableModel Delete () Deletes a record in the TableModel
+ 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 FillByRowid (character) Fills the TableModel based on the given data-source ROWID (DB-ROWID)
+ 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
# CHARACTER GetCharacterFieldValue (character) Returns the value of a buffer field
# DATE GetDateFieldValue (character) Returns the value of a buffer field
# DATETIME GetDateTimeFieldValue (character) Returns the value of a buffer field
# DATETIME-TZ GetDateTimeTzFieldValue (character) Returns the value of a buffer field
# DECIMAL GetDecimalFieldValue (character) Returns the value of a buffer field
+ Consultingwerk.Framework.Base.IEnumerator GetEnumerator () Returns a new IEnumerator instance for this object instance
+ LOGICAL GetFirst () Locates the Query to the first record
# HANDLE GetHandleFieldValue (character) Returns the value of a buffer field
# INT64 GetInt64FieldValue (character) Returns the value of a buffer field
# Progress.Lang.Object GetIntegerEnumFieldValue (character, character) Returns the value of a buffer field as an Enum value
# INTEGER GetIntegerFieldValue (character) Returns the value of a buffer field
# LOGICAL GetLogicalFieldValue (character) Returns the value of a buffer field
# LONGCHAR GetLongcharFieldValue (character) Returns the value of a buffer field
+ LOGICAL GetNext () Locates the Query to the next record
# RECID GetRecidFieldValue (character) Returns the value of a buffer field
# ROWID GetRowidFieldValue (character) Returns the value of a buffer field
+ 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
# ReopenDatasetChildQueries () Reopens the child relation queries
# SetCharacterEnumFieldValue (character, Object) Assigns the value of a buffer field
# SetCharacterFieldValue (character, character) Assigns the value of a buffer field
# SetDateFieldValue (character, date) Assigns the value of a buffer field
# SetDateTimeFieldValue (character, datetime) Assigns the value of a buffer field
# SetDateTimeTzFieldValue (character, datetime-tz) Assigns the value of a buffer field
# SetDecimalFieldValue (character, decimal) Assigns the value of a buffer field
# SetHandleFieldValue (character, handle) Assigns the value of a buffer field
# SetInt64FieldValue (character, int64) Assigns the value of a buffer field
# SetIntegerEnumFieldValue (character, Object) Assigns the value of a buffer field
# SetIntegerFieldValue (character, integer) Assigns the value of a buffer field
# SetLogicalFieldValue (character, logical) Assigns the value of a buffer field
# SetLongcharFieldValue (character, longchar) Assigns the value of a buffer field
# SetRecidFieldValue (character, recid) Assigns the value of a buffer field
# SetRowidFieldValue (character, rowid) Assigns the value of a buffer field
+ 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 (DatasetModel, handle) Constructor for the TableModel class
# TableModel (TableModel, handle) Constructor for the TableModel class

Top Property Summary
Options Name Purpose
+ LOGICAL Available Returns if currently a record is available in the TableModel
# HANDLE BufferHandle Returns the Buffer handle used by the Model
# CHARACTER BufferName Returns the name of the Buffer used by the Model
+ Consultingwerk.OERA.DatasetModelPerformer DatasetModelPerformer Returns the reference to the owning DatasetModel
+ CHARACTER FillChildTables Gets and sets the list of child tables to be retrieved together with the Fill() method
+ Consultingwerk.OERA.TableModelTypeEnum ModelType Returns the type of the model
# Consultingwerk.ListQueryExpression QueryExpressions Returns the reference to the owning DatasetModel
+ HANDLE QueryHandle Returns the Query handle used by the Model
# Progress.Lang.Object SavedFilterReference Returns the Query handle used by the Model
+ LOGICAL UsingDatasetQuery Returns if the TableModel is currently using the Dataset query


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 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

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 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 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 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 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 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 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-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 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

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 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 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 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 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 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 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

PUBLIC LOGICAL GetNext ()

Purpose: Locates the Query to the next record
Notes:

Returns LOGICAL
Logical value indicating if a record is available
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 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

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

PROTECTED ReopenDatasetChildQueries ()

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

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 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 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 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 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 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 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 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 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 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 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 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 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 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

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 (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 (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

Purpose: Returns if currently a record is available in the TableModel
Notes:

Returns LOGICAL
Top

PROTECTED HANDLE BufferHandle

Purpose: Returns the Buffer handle used by the Model
Notes:

Returns HANDLE
Top

PROTECTED CHARACTER BufferName

Purpose: Returns the name of the Buffer used by the Model
Notes:

Returns CHARACTER
Top

PUBLIC Consultingwerk.OERA.DatasetModelPerformer DatasetModelPerformer

Purpose: Returns the reference to the owning DatasetModel
Notes:

Returns Consultingwerk.OERA.DatasetModelPerformer
Top

PUBLIC CHARACTER FillChildTables

Purpose: Gets and sets the list of child tables to be retrieved together
with the Fill() method
Notes:

Returns CHARACTER
Top

PUBLIC Consultingwerk.OERA.TableModelTypeEnum ModelType

Purpose: Returns the type of the model
Notes:

Returns Consultingwerk.OERA.TableModelTypeEnum
Top

PROTECTED Consultingwerk.ListQueryExpression QueryExpressions

Purpose: Returns the reference to the owning DatasetModel
Notes:

Returns Consultingwerk.ListQueryExpression
Top

PUBLIC HANDLE QueryHandle

Purpose: Returns the Query handle used by the Model
Notes: The TableModel will be using the Query created by the ProDataset

Returns HANDLE
Top

PROTECTED Progress.Lang.Object SavedFilterReference

Purpose: Returns the Query handle used by the Model
Notes: Temporarily keep the reference to the Filter object to workaround
issues on 10.2B with loosing chained object references
SCL-682

Returns Progress.Lang.Object
Top

PUBLIC LOGICAL UsingDatasetQuery

Purpose: Returns if the TableModel is currently using the Dataset query
Notes:

Returns LOGICAL


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