Namespace: Consultingwerk.SmartComponents.Support
Class 
BusinessEntityDesignerSupport Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:BusinessEntityDesignerSupport
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jul 14 14:31:13 CEST 2010



Top Method Summary
Options Name Purpose
+ Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityBindingSource CreateBindingSourceFromAdapter (Component, character) Creates a SmartBusinessEntityBindingSource from a SmartBusinessEntityAdapter or SmartDatasetChildAdapter instance on the design surface
- RefreshButton2ClickHandler (Object, EventArgs) Event handler for the Refresh Button of the Refresh Button of the Business Entity Picker form
- RefreshButtonClickHandler (Object, EventArgs) Event handler for the Refresh Button of the Refresh Button of the Business Entity Picker form
+ RestartBusinessEntities () Restarts the Business Entities
+ SelectBusinessEntityName (character) Selects a Business Entity
+ SelectDatasetControllerType (character) Selects a Dataset Controller

Top Constructor Summary
Options Name Purpose
- BusinessEntityDesignerSupport () Constructor for the BusinessEntityDesignerSupport class

Top Property Summary
Options Name Purpose
+ LOGICAL DisconnectAppServerAfterEachRequest Controls if this class disconnects from the AppServer after each request
+ LOGICAL SearchBusinessEntititiesOnAppServer Controls if Business Entities are searched on the AppServer


Method Detail
Top

PUBLIC Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityBindingSource CreateBindingSourceFromAdapter (Component, character)

Purpose: Creates a SmartBusinessEntityBindingSource from a SmartBusinessEntityAdapter
or SmartDatasetChildAdapter instance on the design surface
Notes:

Parameters:
poSourceComponent System.ComponentModel.Component
The source SmartBusinessEntiyAdapter or SmartDatasetChildAdapter as a component
pcBindingSourceClassName CHARACTER
The name of the ABL class to create the Binding Source of
Returns Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityBindingSource
The reference to the created SmartBusinessEntityBindingSource instance
Top

PRIVATE RefreshButton2ClickHandler (Object, EventArgs)

Purpose: Event handler for the Refresh Button of the Refresh Button of the
Business Entity Picker form
Notes:

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

PRIVATE RefreshButtonClickHandler (Object, EventArgs)

Purpose: Event handler for the Refresh Button of the Refresh Button of the
Business Entity Picker form
Notes:

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

PUBLIC RestartBusinessEntities ()

Purpose: Restarts the Business Entities
Notes: Useful when addding fields or tables to the BusinessEntity schema
Allows loading the schema of those field without restarting the
OpenEdge Architect or the prokject AVM

Top

PUBLIC SelectBusinessEntityName (character)

Purpose: Selects a Business Entity
Notes: Method is VOID because of WAIT-FOR

Parameters:
pcClassName CHARACTER
OUTPUT The selected business entity name
Top

PUBLIC SelectDatasetControllerType (character)

Purpose: Selects a Dataset Controller
Notes: Method is VOID because of WAIT-FOR

Parameters:
pcClassName CHARACTER
OUTPUT The selected dataset controller name


Constructor Detail
Top

PRIVATE BusinessEntityDesignerSupport ()

Purpose: Constructor for the BusinessEntityDesignerSupport class
Notes: Disallow instance creation



Property Detail
Top

PUBLIC LOGICAL DisconnectAppServerAfterEachRequest

Purpose: Controls if this class disconnects from the AppServer after
each request
Notes: With connection bound AppServers that QUIT on disconnect (PASOE) so
that a) there's no permanent connection form the Visual Designer
to the PASOE instance and b) the AppServer session always uses up to
date business entities
SCL-887

Returns LOGICAL
Top

PUBLIC LOGICAL SearchBusinessEntititiesOnAppServer

Purpose: Controls if Business Entities are searched on the AppServer
Notes: Useful when the Business Entities are only accessible via an
AppServer call (e.g. UNIX AppServer, different Progress Release)

Returns LOGICAL


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