Namespace: Consultingwerk.SmartComponents.Interfaces
Interface 
ISmartGroupCreateSource Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.SmartComponents.Base.SmartDatasetAdapter, Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter, Consultingwerk.SmartComponents.Implementation.SmartDatasetChildAdapter, Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.SmartBusinessEntityAdapterTester

File:ISmartGroupCreateSource
Purpose:Interface to support the GroupCreate Link
Description:Implemented by the SmartBusinessEntityAdapter and the
SmartDatasetChildAdapter (to support chaining) using the
common base class SmartGroupCreateSource
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Jan 02 11:05:25 CET 2012
Notes:The GroupCreate Link is only supported from
SmartBusinessEntityAdapter to SmartDatasetChildAdapter and
SmartDatasetChildAdapter to SmartDatasetChildAdapter



Top Method Summary
Options Name Purpose
+ CreateParentRecord (character) Creates a parent record when needed for creating a record in a SmartGroupCreateTarget
+ DeregisterSmartGroupCreateTarget (ISmartGroupCreateTarget) Deregister a SmartGroupCreateTarget with the SmartGroupCreateSource *
+ RegisterSmartGroupCreateTarget (ISmartGroupCreateTarget) Register a SmartGroupCreateTarget with the SmartGroupCreateSource This Method is executed every time a new SmartGroupCreateSource is registered to the corresponding Property of a Class implementing the Interface ISmartGroupCreateSource.
+ SaveFromGroupCreateTarget (ISmartGroupCreateTarget) Saves the data in this ISmartGroupCreateSource related updating ISmartDataTarget so that before saving a new child record, that parent record is created

Top Event Summary
Options Name Purpose
+ AssignKeyFields (Object, AssignKeyFieldsEventArgs) Event raised when a ISmartGroupCreateSource needs to create a record to allow creation of a child record in a ISmartGroupCreateTarget instance.

Top Property Summary
Options Name Purpose
+ LOGICAL CreatingRecord
+ CHARACTER RecordPosition


Method Detail
Top

PUBLIC CreateParentRecord (character)

Purpose: Creates a parent record when needed for creating a record in a
SmartGroupCreateTarget
Notes: Creates a record and attempts to assign the primary key values

Parameters:
pcKeyFields CHARACTER
The Key Fields to assign
Top

PUBLIC DeregisterSmartGroupCreateTarget (ISmartGroupCreateTarget)

Purpose: Deregister a SmartGroupCreateTarget with the SmartGroupCreateSource
Notes: Enforced by Interface ISmartGroupCreateSource.

Parameters:
poSmartGroupCreateTarget Consultingwerk.SmartComponents.Interfaces.ISmartGroupCreateTarget
The ISmartGroupCreateTarget to deregister
Top

PUBLIC RegisterSmartGroupCreateTarget (ISmartGroupCreateTarget)

Purpose: Register a SmartGroupCreateTarget with the SmartGroupCreateSource
This Method is executed every time a new SmartGroupCreateSource is
registered to the corresponding Property of a Class implementing the
Interface ISmartGroupCreateSource.
Notes: Enforced by Interface ISmartGroupCreateSource.

Parameters:
poSmartGroupCreateTarget Consultingwerk.SmartComponents.Interfaces.ISmartGroupCreateTarget
The ISmartGroupCreateTarget to register
Top

PUBLIC SaveFromGroupCreateTarget (ISmartGroupCreateTarget)

Purpose: Saves the data in this ISmartGroupCreateSource related updating
ISmartDataTarget so that before saving a new child record, that
parent record is created
Notes:

Parameters:
poSmartGroupCreateTarget Consultingwerk.SmartComponents.Interfaces.ISmartGroupCreateTarget
The ISmartGroupCreateTarget that invoked this Save operation


Event Detail
Top

PUBLIC AssignKeyFields (Object, AssignKeyFieldsEventArgs)

Purpose: Event raised when a ISmartGroupCreateSource needs to create a
record to allow creation of a child record in a ISmartGroupCreateTarget
instance.
Notes: The purpose of this event is that an event handler can create
meaningful key values. When done an event handler is supposed to
ASSIGN e:Assigned = TRUE .

Parameters:
sender System.Object
The object that raised the AssignKeyFields event
e Consultingwerk.SmartComponents.Base.AssignKeyFieldsEventArgs
The AssignKeyFieldsEventArgs instance with the event data


Property Detail
Top

PUBLIC LOGICAL CreatingRecord


Returns LOGICAL
Top

PUBLIC CHARACTER RecordPosition


Returns CHARACTER


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