Namespace: Consultingwerk.SmartComponents.Implementation
Class 
SmartBusinessEntityAdapterSettings Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:SmartBusinessEntityAdapterSettings
Purpose:Helper class for the SmartBusinessEntityAdapter class to avoid
the usage of static in the hybrid type
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Sep 03 23:04:31 CEST 2013
Purpose: Private constructor for the SmartBusinessEntityAdapterSettings class
Notes: Disallow instance creation



Top Method Summary
Options Name Purpose
+ Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter FromDatasetController (IDatasetController) Locates the SmartBusinessEntityAdapter instance that is working with the passed in IDatasetController
+ Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter FromSmartDataTarget (ISmartDataTarget) Returns the SmartBusinessEntityAdapter that is the SmartDataSource of a SmartDataTarget

Top Constructor Summary
Options Name Purpose
- SmartBusinessEntityAdapterSettings () Private constructor for the SmartBusinessEntityAdapterSettings class


Method Detail
Top

PUBLIC Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter FromDatasetController (IDatasetController)

Purpose: Locates the SmartBusinessEntityAdapter instance that is working
with the passed in IDatasetController
Notes:

Parameters:
poDatasetController Consultingwerk.SmartComponents.Interfaces.IDatasetController
The IDatasetController instance that was launched by a SmartBusinessEntityAdapter
Returns Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
The SmartBusinessEntityAdapter that has launched the IDatasetController or the unknown value
Top

PUBLIC Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter FromSmartDataTarget (ISmartDataTarget)

Purpose: Returns the SmartBusinessEntityAdapter that is the SmartDataSource
of a SmartDataTarget
Notes: When the given SmartDataTarget is linked to a different adpater type
(e.g. SmartDatasetChildAdapter) the actual SmartBusinessEntityAdapter
that is the data source to this data target is retrieved

Parameters:
poDataTarget Consultingwerk.SmartComponents.Interfaces.ISmartDataTarget
The SmartDataTarget for which the Adapter is to be retrieve
Returns Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityAdapter
The reference to the SmartBusinessEntityAdapter being the ultimate data source


Constructor Detail
Top

PRIVATE SmartBusinessEntityAdapterSettings ()

Purpose: Private constructor for the SmartBusinessEntityAdapterSettings class
Notes: Disallow instance creation



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