Namespace: Consultingwerk.OERA.BusinessEntityDescriptor
Class 
BusinessEntityDescriptorService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptorService

File:BusinessEntityDescriptorService
Purpose:Provides Business Entity Descriptor information for a
Business Entity
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Jul 10 20:30:29 CEST 2015
Notes:This Service is used by the Business Entities to return
the Busines Entity Descriptor. This service should not
be called from consumers
Relies on the annotation based TypeDescriptor
https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094518/Business+Entity+Descriptor
Cache max age in number of seconds can be configured in the
configuration provider BusinessEntityDescriptorCacheMaxAge
property.
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
+ ClearCache () Clears the cache
+ Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor GetBusinessEntityDescriptor (character) Returns the Business Entity Descriptor of a Business Entity
+ Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor ImportBusinessEntityDescriptor (character) Imports the Business Entity Descriptor of a Business Entity
# MergeBusinessEntityDescriptor (BusinessEntityDescriptor, IBusinessEntityDescriptor) Merges two Business Entity Descriptors
# ParseAnnotations (ClassAnnotationContainer, BusinessEntityDescriptor) Parses the Business Entity Annotations into the Business Entity Descriptor

Top Constructor Summary
Options Name Purpose
+ BusinessEntityDescriptorService () Constructor for the BusinessEntityDescriptorService class


Method Detail
Top

PUBLIC ClearCache ()

Purpose: Clears the cache
Notes:

Top

PUBLIC Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor GetBusinessEntityDescriptor (character)

Purpose: Returns the Business Entity Descriptor of a Business Entity
Notes:

Parameters:
pcBusinessEntityName CHARACTER
The name of the Business Entity to return the Business Entity Descriptor for
Returns Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor
The Business Entity Descriptor of the given Business Entity
Top

PUBLIC Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor ImportBusinessEntityDescriptor (character)

Purpose: Imports the Business Entity Descriptor of a Business Entity
Notes:

Parameters:
pcBusinessEntityName CHARACTER
The name of the Business Entity to import
Returns Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor
The Business Entity Descriptor of the given Business Entity
Top

PROTECTED MergeBusinessEntityDescriptor (BusinessEntityDescriptor, IBusinessEntityDescriptor)

Purpose: Merges two Business Entity Descriptors
Notes:

Parameters:
poTarget Consultingwerk.OERA.BusinessEntityDescriptor.BusinessEntityDescriptor
The Business Entity Descirptor to merge to
poSource Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor
The Business Entity Descirptor to merge from
Top

PROTECTED ParseAnnotations (ClassAnnotationContainer, BusinessEntityDescriptor)

Purpose: Parses the Business Entity Annotations into the Business Entity
Descriptor
Notes:

Parameters:
poAnnotations Consultingwerk.Framework.TypeDescriptor.ClassAnnotationContainer
The contained with the class annotations
poBusinessEntityDescriptor Consultingwerk.OERA.BusinessEntityDescriptor.BusinessEntityDescriptor
The BusinessEntityDescriptor to parse the annotations into


Constructor Detail
Top

PUBLIC BusinessEntityDescriptorService ()

Purpose: Constructor for the BusinessEntityDescriptorService class
Notes:



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