Namespace: Consultingwerk.OERA
Interface 
ITableModelQuestionProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.OERA.TableModelQuestionProvider

File:ITableModelQuestionProvider
Purpose:Interface for services deserializing or serializing the
ListQuestions associated with a buffer
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Mar 28 06:24:08 CET 2019
Notes:See TableModel:GetQuestions(), FinalizeQuestions() methods



Top Method Summary
Options Name Purpose
+ CopyQuestions (handle, handle) Copies questions from a dataset with changes into the actual dataset
+ CopyToOwner (ListQuestion, TableModel, character, character) Copies questions received back from a consumer to the provided table model
+ FinalizeAllQuestions (ListQuestion, TableModel, character) Updates the List of Questions associated for all records Iterates the query of the DatasetModel (does not perform batching)
+ FinalizeCurrentQuestions (ListQuestion, TableModel) Updates the List of Questions associated with the current record
+ Consultingwerk.Framework.MessageInteraction.ListQuestion GetAllQuestions (TableModel) Returns the List of Questions associated with the all records Iterates the query of the DatasetModel (does not perform batching)
+ Consultingwerk.Framework.MessageInteraction.ListQuestion GetCurrentQuestions (TableModel) Returns the List of Questions associated with the current record


Method Detail
Top

PUBLIC CopyQuestions (handle, handle)

Purpose: Copies questions from a dataset with changes into
the actual dataset
Notes: Called after SaveChanges () returnes a row ERROR

Parameters:
phChangesDataset HANDLE
The handle of the dataset with changes
phDataset HANDLE
The handle of the original dataset
Top

PUBLIC CopyToOwner (ListQuestion, TableModel, character, character)

Purpose: Copies questions received back from a consumer to the
provided table model
Notes:

Parameters:
poQuestions Consultingwerk.Framework.MessageInteraction.ListQuestion
The list of questions received from the UI
poTableModel Consultingwerk.OERA.TableModel
The reference to the target TableModel instance
pcOwnerId CHARACTER
The ID of the Owner
pcContextField CHARACTER
The name of the context field name (e.g. SelfHdl)
Top

PUBLIC FinalizeAllQuestions (ListQuestion, TableModel, character)

Purpose: Updates the List of Questions associated for all records
Iterates the query of the DatasetModel (does not perform batching)
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 list of questions to update the buffer's from
poTableModel Consultingwerk.OERA.TableModel
The current TableModel instance
pcContextField CHARACTER
The name of the context field name (e.g. SelfHdl)
Top

PUBLIC FinalizeCurrentQuestions (ListQuestion, TableModel)

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 list of questions to store in the record
poTableModel Consultingwerk.OERA.TableModel
The current TableModel instance
Top

PUBLIC Consultingwerk.Framework.MessageInteraction.ListQuestion GetAllQuestions (TableModel)

Purpose: Returns the List of Questions associated with the all records
Iterates the query of the DatasetModel (does not perform batching)
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

Parameters:
poTableModel Consultingwerk.OERA.TableModel
The reference to the TableModel instance
Returns Consultingwerk.Framework.MessageInteraction.ListQuestion
The list of Questions associated with all records
Top

PUBLIC Consultingwerk.Framework.MessageInteraction.ListQuestion GetCurrentQuestions (TableModel)

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

Parameters:
poTableModel Consultingwerk.OERA.TableModel
The reference to the TableModel instance representing the current record
Returns Consultingwerk.Framework.MessageInteraction.ListQuestion
The list of Questions associated with the current record


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