Namespace: Consultingwerk.SmartFramework.Menu
Class 
SmartModule_Generated Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.OERA.EntityTable
Inherited by: Consultingwerk.SmartFramework.Menu.SmartModule
ABSTRACT

File:SmartModule
Author(s):Mike Fechner
Created:28.04.2013 00:33:34



Top Method Summary
Options Name Purpose
# AssignFromBuffer (handle) Copies the buffer values to the entity table's properties
Overrides Consultingwerk.OERA.EntityTable:AssignFromBuffer (handle)
# AssignToBuffer (handle) Copies the entity table's properties to the buffer values
Overrides Consultingwerk.OERA.EntityTable: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
# OnModuleGuidChanged (EventArgs) Raises the ModuleGuidChanged event
# OnModuleNameChanged (EventArgs) Raises the ModuleNameChanged event
+ 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_Generated () Constructor of the SmartModule_Generated class
+ SmartModule_Generated (handle) Constructor of the SmartModule_Generated class

Top Event Summary
Options Name Purpose
+ ModuleDescriptionChanged (Object, EventArgs) Raised when the ModuleDescription property value changes
+ ModuleGuidChanged (Object, EventArgs) Raised when the ModuleGuid property value changes
+ ModuleNameChanged (Object, EventArgs) Raised when the ModuleName property value changes

Top Property Summary
Options Name Purpose
+ CHARACTER ModuleDescription
+ CHARACTER ModuleGuid
+ CHARACTER ModuleName
+ RowStateEnum RowState Returns the RowState of the EntityTable instance
Inherited from Consultingwerk.OERA.EntityTable


Method Detail
Top

PROTECTED AssignFromBuffer (handle)

Overrides Consultingwerk.OERA.EntityTable:AssignFromBuffer (handle)
Purpose: Copies the buffer values to the entity table's properties
Notes:

Parameters:
phBuffer HANDLE
The handle of the record buffer to assign properties from
Top

PROTECTED AssignToBuffer (handle)

Overrides Consultingwerk.OERA.EntityTable:AssignToBuffer (handle)
Purpose: Copies the entity table's properties to the buffer values
Notes:

Parameters:
phBuffer HANDLE
The handle of the record buffer to assign properties from
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)

Purpose: Raises the ModuleDescriptionChanged event
Notes:

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

PROTECTED OnModuleGuidChanged (EventArgs)

Purpose: Raises the ModuleGuidChanged event
Notes:

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

PROTECTED OnModuleNameChanged (EventArgs)

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

Purpose: Constructor of the SmartModule_Generated class
Notes:

Top

PUBLIC SmartModule_Generated (handle)

Purpose: Constructor of the SmartModule_Generated class
Notes:

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


Event Detail
Top

PUBLIC ModuleDescriptionChanged (Object, EventArgs)

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)

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)

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


Returns CHARACTER
Top

PUBLIC CHARACTER ModuleGuid


Returns CHARACTER
Top

PUBLIC CHARACTER ModuleName


Returns CHARACTER
Top

PUBLIC RowStateEnum RowState

Inherited from Consultingwerk.OERA.EntityTable
Purpose: Returns the RowState of the EntityTable instance
Notes:

Returns RowStateEnum


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