Namespace: Consultingwerk.SmartFramework.Menu
Class 
SmartModule Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartFramework.Menu.SmartModule_Generated

File:SmartModule
Author(s):Marko Rüterbories
Created:11.10.2012 17:14:29
Purpose: Constructor of the SmartModule class
Notes:



Top Method Summary
Options Name Purpose
# A AssignFromBuffer (handle) Copies the buffer values to the entity table's properties
Overrides Consultingwerk.SmartFramework.Menu.SmartModule_Generated:AssignFromBuffer (handle)
# A AssignToBuffer (handle) Copies the entity table's properties to the buffer values
Overrides Consultingwerk.SmartFramework.Menu.SmartModule_Generated:AssignToBuffer (handle)
# HANDLE GetChildRecord (handle, character) Returns the first (and typically only) child record of a to-one relation
Inherited from Consultingwerk.OERA.EntityTable
# GetChildRecords (handle, character, Object, character) Populates a List of child records
Inherited from Consultingwerk.OERA.EntityTable
+ InitializeNewRow () Initializes a New row
Inherited from Consultingwerk.OERA.EntityTable
# OnModuleDescriptionChanged (EventArgs) Raises the ModuleDescriptionChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
# OnModuleGuidChanged (EventArgs) Raises the ModuleGuidChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
# OnModuleNameChanged (EventArgs) Raises the ModuleNameChanged event
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
+ PopulateList (handle, character, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
+ PopulateList (handle, Object, character) Populates a List object with EntityTable objects for buffers
Inherited from Consultingwerk.OERA.EntityTable
# SetModified () Set's the current row to modified
Inherited from Consultingwerk.OERA.EntityTable

Top Constructor Summary
Options Name Purpose
+ SmartModule () Constructor of the SmartModule class
+ SmartModule (handle) Constructor of the SmartModule class

Top Event Summary
Options Name Purpose
+ ModuleDescriptionChanged (Object, EventArgs) Raised when the ModuleDescription property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
+ ModuleGuidChanged (Object, EventArgs) Raised when the ModuleGuid property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
+ ModuleNameChanged (Object, EventArgs) Raised when the ModuleName property value changes
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated

Top Property Summary
Options Name Purpose
+ CHARACTER ModuleDescription
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
+ CHARACTER ModuleGuid
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
+ CHARACTER ModuleName
Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
+ RowStateEnum RowState
Inherited from Consultingwerk.OERA.EntityTable


Method Detail
Top

PROTECTED AssignFromBuffer (handle)

Overrides Consultingwerk.SmartFramework.Menu.SmartModule_Generated: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)

Overrides Consultingwerk.SmartFramework.Menu.SmartModule_Generated: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)

Inherited from Consultingwerk.OERA.EntityTable
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)

Inherited from Consultingwerk.OERA.EntityTable
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 ()

Inherited from Consultingwerk.OERA.EntityTable
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

PROTECTED OnModuleDescriptionChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
Purpose: Raises the ModuleDescriptionChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnModuleGuidChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
Purpose: Raises the ModuleGuidChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED OnModuleNameChanged (EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
Purpose: Raises the ModuleNameChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC PopulateList (handle, character, Object, character)

Inherited from Consultingwerk.OERA.EntityTable
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)

Inherited from Consultingwerk.OERA.EntityTable
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 ()

Inherited from Consultingwerk.OERA.EntityTable
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 SmartModule ()

Purpose: Constructor of the SmartModule class
Notes:

Top

PUBLIC SmartModule (handle)

Purpose: Constructor of the SmartModule class
Notes:

Parameters:
phBuffer HANDLE
A source buffer to copy the values from


Event Detail
Top

PUBLIC ModuleDescriptionChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
Purpose: Raised when the ModuleDescription property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ModuleGuidChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
Purpose: Raised when the ModuleGuid property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PUBLIC ModuleNameChanged (Object, EventArgs)

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated
Purpose: Raised when the ModuleName property value changes
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event


Property Detail
Top

PUBLIC CHARACTER ModuleDescription

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER ModuleGuid

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated

Returns CHARACTER
Top

PUBLIC CHARACTER ModuleName

Inherited from Consultingwerk.SmartFramework.Menu.SmartModule_Generated

Returns CHARACTER
Top

PUBLIC RowStateEnum RowState

Inherited from Consultingwerk.OERA.EntityTable

Returns RowStateEnum


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:00:41