Namespace: Consultingwerk.OERA
Class 
EntityTable Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Inherited by: Consultingwerk.SmartFramework.Authentication.SmartUser_Generated Consultingwerk.SmartFramework.Authentication.SmartUser Consultingwerk.SmartFramework.Authorization.SmartGroup_Generated Consultingwerk.SmartFramework.Authorization.SmartGroup Consultingwerk.SmartFramework.Authorization.SmartMenuGroup_Generated Consultingwerk.SmartFramework.Authorization.SmartMenuGroup Consultingwerk.SmartFramework.Authorization.SmartSecurityAssignment_Generated Consultingwerk.SmartFramework.Authorization.SmartSecurityAssignment Consultingwerk.SmartFramework.Authorization.SmartSecurityRealm_Generated Consultingwerk.SmartFramework.Authorization.SmartSecurityRealm Consultingwerk.SmartFramework.Authorization.SmartUserGroup_Generated Consultingwerk.SmartFramework.Authorization.SmartUserGroup Consultingwerk.SmartFramework.Menu.SmartFunction_Generated Consultingwerk.SmartFramework.Menu.SmartFunction Consultingwerk.SmartFramework.Menu.SmartMenuStyle_Generated Consultingwerk.SmartFramework.Menu.SmartMenuStyle Consultingwerk.SmartFramework.Menu.SmartMenu_Generated Consultingwerk.SmartFramework.Menu.SmartMenu Consultingwerk.SmartFramework.System.SmartAttachmentRole_Generated Consultingwerk.SmartFramework.System.SmartAttachmentRole Consultingwerk.SmartFramework.System.SmartAttachment_Generated Consultingwerk.SmartFramework.System.SmartAttachment Consultingwerk.SmartFramework.System.SmartCommentRole_Generated Consultingwerk.SmartFramework.System.SmartCommentRole Consultingwerk.SmartFramework.System.SmartLanguage_Generated Consultingwerk.SmartFramework.System.SmartLanguage Consultingwerk.SmartFramework.System.SmartLoginCompany_Generated Consultingwerk.SmartFramework.System.SmartLoginCompany Consultingwerk.SmartFramework.System.SmartMessage_Generated Consultingwerk.SmartFramework.System.SmartMessage Consultingwerk.SmartFramework.System.SmartRelation_Generated Consultingwerk.SmartFramework.System.SmartRelation Consultingwerk.SmartFramework.System.SmartTable_Generated Consultingwerk.SmartFramework.System.SmartTable Consultingwerk.SmartFramework.System.SmartTranslation_Generated Consultingwerk.SmartFramework.System.SmartTranslation Consultingwerk.SmartFramework.System.SmartUiTranslation_Generated Consultingwerk.SmartFramework.System.SmartUiTranslation Consultingwerk.SmartFramework.System.SmartValueListEntry_Generated Consultingwerk.SmartFramework.System.SmartValueListEntry Consultingwerk.SmartFramework.System.SmartValueList_Generated Consultingwerk.SmartFramework.System.SmartValueList Consultingwerk.SmartFramework.Menu.SmartModule_Generated Consultingwerk.SmartFramework.Menu.SmartModule
ABSTRACT

File:EntityTable
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Apr 02 21:59:39 CEST 2012
Purpose: Returns the RowState of the EntityTable instance
Notes:



Top Method Summary
Options Name Purpose
# A AssignFromBuffer (handle) Copies the buffer values to the entity table's properties
# A AssignToBuffer (handle) Copies the entity table's properties to the buffer values
# HANDLE GetChildRecord (handle, character) Returns the first (and typically only) child record of a to-one relation
# GetChildRecords (handle, character, Object, character) Populates a List of child records
+ InitializeNewRow () Initializes a New row
+ PopulateList (handle, character, Object, character) Populates a List object with EntityTable objects for buffers
+ PopulateList (handle, Object, character) Populates a List object with EntityTable objects for buffers
# SetModified () Set's the current row to modified

Top Constructor Summary
Options Name Purpose
+ EntityTable () Constructor for the EntityTable class

Top Property Summary
Options Name Purpose
+ Consultingwerk.OERA.Enum.RowStateEnum RowState


Method Detail
Top

PROTECTED AssignFromBuffer (handle)

Purpose: Copies the buffer values to the entity table's properties
Notes:

Parameters:
phBuffer HANDLE
The handle of the source buffer
Top

PROTECTED AssignToBuffer (handle)

Purpose: Copies the entity table's properties to the buffer values
Notes:

Parameters:
phBuffer HANDLE
The handle of the target buffer
Top

PROTECTED HANDLE GetChildRecord (handle, character)

Purpose: Returns the first (and typically only) child record of a to-one
relation
Notes:

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
Returns HANDLE
The handle of the child record, already located to the first record (if any)
Top

PROTECTED GetChildRecords (handle, character, Object, character)

Purpose: Populates a List of child records
Notes: As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phParentBuffer HANDLE
The handle to the parent buffer
pcDataRelationName CHARACTER
The name of the data-relation to return the child buffer for
poList Progress.Lang.Object
The List to populate
pcClassName CHARACTER
The name of the ChildClass
Top

PUBLIC InitializeNewRow ()

Purpose: Initializes a New row
Notes: Provides a method to provide initial values when records are added to
differentiate from the Constructor usage when Rows are populate based
on existing DB records
Override this method to provide initial values

Top

PUBLIC PopulateList (handle, character, Object, character)

Purpose: Populates a List object with EntityTable objects for buffers
Notes: Selects the buffer records using an optional Query string
As we currently don't support "generic Interfaces", we can only access
the strong typed Add method of the Generic lists using the DYNAMIC-INVOKE
statement.

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
pcQueryString CHARACTER
The QueryString to use while populating the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PUBLIC PopulateList (handle, Object, character)

Purpose: Populates a List object with EntityTable objects for buffers
Notes:

Parameters:
phBuffer HANDLE
The Buffer to return add EntityTable instances to the list
poList Progress.Lang.Object
The list to add the EntityTable instances to
pcClassName CHARACTER
The name of the class to create EntityTable instances of (child class of the EntityTable)
Top

PROTECTED SetModified ()

Purpose: Set's the current row to modified
Notes: When the RowState is Add or Deleted it will not be changed



Constructor Detail
Top

PUBLIC EntityTable ()

Purpose: Constructor for the EntityTable class
Notes:



Property Detail
Top

PUBLIC Consultingwerk.OERA.Enum.RowStateEnum RowState


Returns Consultingwerk.OERA.Enum.RowStateEnum


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:52:27